Introduction: Sensor Based Disaster Monitoring Via Twitter Alerts!
I'm Geeve George a MAKER proudly from INDIA!
I started making at the age of 10 and my zeal for making still continues as I am fascinated by the endless possibilities and opportunities that technology offers!
HAT! is my series of home automation projects and it stands for Home Automation Tweeter.
This is the FIFTH project from the series.
This project plays an important role in Home automation , the project is called Home Automation Earthquake & Explosion Alerts!
This project can be used around the globe to inform the areas were explosions & earthquakes occur so that the nearby paramedics and police can take quick action and save lives!
Make this project and have lots of fun reverse engineering it!
Step 1: Hardware Setup!
Thanks again to Intel , Audrey and Instructables for the Grove IoT Developers Kit , some of the components of this kit is required for this home automation project. :)
Materials Required :
- An Intel Edison Board connected to the Arduino Extension Board or an Intel Galileo Board.
- Piezo Element ( Buy it from ADAFRUIT )
-Grove LCD RGB Backlight Display ( LCD Display , 16*2 ) ( Optional )
-Grove Base Shield
-Grove 26AWG Cable Wires
1) -Firstly Connect the USB Cables to the Board!
2) -Then take out the Grove Base Shield and plug it on to the board!
3) -Now take out the LCD Display and connect it to the Grove Cable.
4) -Connect the other end of the grove cable to I2C in the Grove Base Sheild!
5) -Now take out the Piezo Element and connect the red wire to the A0 ( Analog Pin 0 ) of the base sheild!
6) -Next connect the 26AEG Wire to the Sound sensor.
7)-Connect the sound sensor to A1 ( Analog Pin 1 )
8) -That's all for the hardware setup!
*Refer the Picture to see the Hardware Setup also the Video for the connections and a detailed overview!
Step 2: Software Setup!
Firstly you need to setup WIFI on your Edison Board to do so visit :
After setting up WiFi you need to download the following libraries :
1) Twitter Libraries from : http://arduino-tweet.appspot.com/ ( Also the Twitter Token key is to be noted! )
2) Wifi library ( Present in the Arduino IDE by Default )
3) SPI library ( Present in the Arduino IDE by Default )
4) RGB LCD Display Library ( Click here to download )
*To install the LCD Display libraries , download a zip file from here
Extract the contents of the zip file to the arduino IDE folder.
Open the extracted folder and go into the libraries folder and copy Grove_LCD_RGB_Backlight to Arduino libraries folder. After that open the arduino ide and go to sketch>import libraries>add libraries and select the folder containing the LCD Display libraries and click open.
Again go to sketch> import libraries and select the LCD Library.
Now its time to code!
The Code is attached ! ( .ino File )
Come on guys reverse engineer the code and make amazing stuff for a better world , a better tomorrow!
How does this project work?
As you can see in the video below, in this project we used piezo elements ( vibration sensors ) , sound sensors and LCD Displays. The code for this project was challenging and interesting for me to work on. In this project we will be using Piezo Element , sound sensors , lcd display and the Twitter API to detect earthquake(ie.High Magnitude Vibration ) and explosive sounds ( High dB ) that are produced in your home while you are away from your home, in a nearby location and in your city!
High magnitude are sensed by the piezo elements that works on my algorithms to detect a high threshold magnitude , Loud sounds can be made due to explosions , intruders or even due to the falling of home appliances. I came up with the innovation to use piezo element , sound sensors in my Home Automation Tweeter series of projects.
In this project we will be converting String to Char . I made use of LCD Displays in this project to notify the user that the tweet is going to be made , we will see how to code simple LCD Animation and finally tweet out the warnings when earthquake and explosions are produced at your home , workplace and city!
Best of luck , keep making!
Now its time for the tests and results!
Step 3: Tests and Results!
After all the coding here is the final result!
Subscribe to my YouTube Channel for updates on projects also I am a house music producer so stay tuned!
This project is very useful as a user can apply this technology in his home and can monitor it via the internet! i.e through Twitter through his/her Twitter account!
This is the most efficient , cheap and fast way to monitor home electronics while you are away from home it can be used to monitor the state of all the devices at home which can be used to save electricity efficiently , ensure home security and much more!
Good luck! Keep making!
If you have any issues or doubts leave a comment below!
I'll be happy to reply to them :)
More projects coming soon in the HAT! series of projects so stay tuned! :D
Let's see the working of this project from the video above! Sit back and enjoy! ;)
Participated in the
On a Budget Contest