Introduction: Linkit One Flood Alarm

About: Hi, my name is Nikodem Bartnik. I'm 19 years old. I am into designing, making, programming and electronics. In the future, I want to start a company and make my own products. As for now, you can find my work o…

Flood alarm is very useful system. Few months ago in my flat when we went to shop, and my father stayed at home and when he entered into my room he saw that from one of pipes below my ceiling water drips. He fix it as quickly as possible. It was so close to flood my computer. Fortunately my father stayed at home. This is very simple project that everybody can make and with it can make your home safer. If you don't know how to start with linkit one or you have some troubles read this:

http://labs.mediatek.com/site/global/developer_too...

If you still have questions after reading this, leave a comment and I will try to help you :)

Step 1: Parts

  • You will need LinkIt one this is arduino comptible board with 260 MHz clock, WI-FI, Bluetooth 4.0, GPS, GSM, microSD card reader and audio jack. Also USB cabel to connect it to computer.
  • SIM card
  • Rain sensor (you can buy one or make it)
  • 1,2 kOhm resistor
  • cables

Step 2: Connection and Soldering

Solder everything together like on images above. You can also connect it on breadboard but I think, that soldering is better way to do it.

You need to insert SIM card and connect GSM antenna to board (on the bottom you will find "GSM", connect it there)

Step 3: Program

This program check analog pin 0 (A0) and if value is bigger then 5 it's sends SMS to chose number. You can change number in

char charbuffer[20] = "666198814";

and message text here:

String sms_text ="Water was detected in your home! Check it!";

Step 4: Conclusion

With this easy project you can protect your home from flood. Thanks for reading!