Edison gives out the values of the intensity of the light in the rooms where it is installed and uploads it on twitter. When tweeting the light status, the value of the photoresistor is also specified. This is done because twitter has a filtration system for identical tweets, we can’t tweet the same data multiple times. Therefore in this project I came up with the ingenious idea of tweeting the light status along with the value of the photoresistor.
Step 1: Connecting the Parts for the Home Automation System
Plug the Groove base shield to the Edison Extension Board.
Using one 26awg Groove Cable connect the Groove shield to the Groove Light Sensor.
Connect the Cable to A0 pin in the Groove Shield.
Step 2: Setting Up the Software for the Home Automation Using Intel Edison.
So in case you need some enlightenment on the setting up the Wi-Fi connection for your Intel Edison (board) you can check my instruct able page of this tutorial.
After setting up the Wi-Fi, next your prime objective would be to download the libraries:
-The Twitter Library from here and the token key as well. (http://arduino-tweet.appspot.com/)
-Wi-Fi library (Present in the Arduino IDE by Default).
-SPI library (Present in the Arduino IDE by Default as well).
Everything Done? Time to crack you fingers. It’s coding time! Download the .ino (Arduino Sketch File to be simple) file from here.
And, a small request to our splendid readers. Please reverse engineer the code and make amazing stuff for a better world, a better tomorrow.
Step 3: Tests and Final Results
This project is very useful, as a user can put up this technology in his home and can monitor activities via their Twitter account. This is perhaps the most efficient, cheap and swift way to monitor home electronics while you are away. It can be used to monitor the state of all the devices at home which can save electricity efficiently!
So Good luck and Keep making! If you have any issues or doubts leave a comment below! I’ll be more than happy to respond them.