Website is Down Detector
If you work in a company that has a website, you know how important it is that the website always be up and running. That’s why you constantly see “99.99999% reliability!” all over the fancy server hosting sites. A website can’t make money if the system is down, so knowing when that happens and reacting quickly is super important. In this Instructable, we will use the LinkIT ONE board to make an alert system that will play a loud alert siren and send us a text message. This way no matter where we are, we can respond as fast as possible!
Since we’re harnessing a lot of the built-in power of the LinkIT ONE, we don’t need that many external supplies here. You can focus your gathering energy on a quality speaker to play our alarm through!
- LinkIT ONE
- Speaker (headphones for testing is cool)
- SIM Card (Pre-paid for deployment, borrow a friend’s for testing)
- An Alarm MP3 File
- A Website to check on!
Step 2: Configure Your LinkIt ONE Board
We’ll need to modify some of the switches on the LinkIt One board in order to make it work. Along with the image attached, make sure that you have done the following
1. Set the MS — UART switch to UART (You’ll switch it to MS in a later step temporarily, but not for deployment)
2. Set the USB — BAT switch to USB
3. Set the SPI — SD switch to SPI
Step 3: Connect Your GSM and WiFi Antenna
Now, you’ll need to make sure and connect both your WiFi and GSM antenna’s to your LinkIT ONE board. Both of these Antenna’s should have come with your LinkIT ONE kit. Attaching them is pretty self-explainatory: Connect the WiFi Antenna do the socket labeled ‘WiFi‘ and your GSM Antenna (Which allows you to send text messages) to the socket labeled ‘GSM‘
Step 4: Insert Your Sim Card
I know that most people probably don’t have a pre-paid SIM card laying around. If you are just prototyping and want to see a proof of concept, feel free to remove it from your current cell phone (or one of your friends) just to try it out. If you get serious and want to make this a full-time gig, you will have to pony up for a pre-paid SIM.
Inserting the SIM card is a fairly straight forward process. Flip over your LinkIt One and look at the smaller big metal piece. You can see in the figure where I inserted my SIM card if you are confused.
After you have inserted the SIM card, be sure to attach your GSM antenna that came with your LinkIt One kit. This will allow you to get a cell signal.
Read more: Website is Down Detector