Home Automation using Intel Edison board: The Easy Way

 
From our STAR Maker: Geeve George
Edited by: Jyoti Patil

Home Automation using Intel Edison DIY Hacking

HAT: Home Automation Tweeter

At DIYhacking, we love cinemas, especially the ones which have Tony Stark in them. After watching IronMan, we would always love to have a house that understands you and acts accordingly. Guess what! Intel has now brought you a step closer to automating your house (and make you feel like the guy below). Check out this awesome tutorial which will let you do home automation using the Intel Edison Single Board Computer.

Home Automation using Intel Edison DIY Hacking

Inspiration for Home Automation

Intel Edison is a cool development platform like the Arduino and the possibilities of building stuff with this are endless. And the best part is that they keep getting smaller day by day. A monumental thanks to Intel for awarding an Edison to our Star Maker Geeve George.

Edison is perhaps the world’s smallest open source development board. Small enough to Power up the IOT ( Internet of things) and be a gate to unlimited productivity. Just like the Nixie drone which is powered by the Edison as well.

If you are a beginner to this, you can always check out our beginner tutorial first: Intel Edison for Beginner’s.

HAT (Home Automation Tweeter) is a system which can tweet data from your home using the intel edison on to Twitter. Here, it is being used to tweet values of light intensity in my home to Twitter.  Similarly, you can also modify this project to tweet whatever you want automatically. Perhaps, you can use it to tweet when there is an intruder in your home or when your pet walks out the door. Pump up your imagination and use it to build cool stuff.

What are the stuff required to do this project?

  • Intel Edison Board connected to the Arduino Extension Board or an Intel Galileo Board.
  • Groove light sensor, Groove base shield and connecting wires: IoT kit.

Some basic knowledge of Arduino will also help you in coding. You can check out a free beginner’s guide for the same here: How to be a Maker!

How does this work?

This system senses the light intensity by using photoresistors or LDR (Light Dependent Resistors) on the grove light sensor. The edison recognises the intensity of the light coming from the sesnsor via the grove shield. Which is then tweeted via twitter. For more info on photoresistors, click here . And to build something using it, check this tutorial.

Home Automation Intel Edison Single board computer

Parts of the project: Intel edison, Grove shield and Grove sensor

HAT gives out the values of the intensity of the light in the rooms where it is installed and uploads it on twitter. As you can see in the demo video as the bottom of this tutorial. 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

  • Firstly Connect your Edison to the power source using the USB cable so that it’s powered.
  • Plug the Groove base shield to the Edison Single Board Computer.
  • Using one 26awg Groove Cable connect the Groove shield to the Groove Light Sensor.
Home Automation Intel Edison Single board computer

Grove light sensor


Home Automation using Intel Edison DIY Hacking

Grove shield

 

 

 

 

 

 

 

 

  • Connect the Cable to A0 pin in the Groove Shield.
  • That’s all for the hardware setup folks (Check out the picture below and also the video for the connections).
Home Automation Intel Edison Single board computer

Home Automation using Intel Edison

Step 2: Setting up the software for the Home Automation using intel edison

Setting a Wi-Fi connection to your Intel Edison Board is essential and a must. So in case you need some enlightenment on the setting up the Wi-Fi connection for your Intel Edison (board) you can check the step 5 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.
  • 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

Home Automation using Intel Edison DIY Hacking

After all the coding and the bleep blops you should be able to get the big picture. If not then you might love to do some more reading. Check out the final demo video at the bottom.

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 to them :) More projects coming soon in the HAT Series so stay tuned!

Lets see the working of this project from the video below! Sit back and enjoy!:

 

Geeve George – STAR Maker at DIY Hacking

Edited by- Jyoti Patil

 

-Project submitted by Geeve George and edited by Jyoti Patil

 

 

 

 

 

Recommended Posts
Showing 7 comments
  • abi
    Reply

    how to do the viceversa?
    control the board from twitter??

  • Bum.
    Reply

    Very useful. I made it by using your instructions. Thanks you.

    Now I would like the Edison to listen my tweet and control some of its output pins. Any idea?

  • Chirag
    Reply

    Hey,quick question, how and with what (Arduino or Mini break out kit) do i interface the edison board in such a way that the brightness of the lights change according to the intensity of the light inside considering i have the photosensors?
    Also do i need an edison for every light source?

    Thanks

    • Arvind Sanjeev
      Reply

      Hi Chirag,
      What kind of light do you want to control? LEDS or AC lamps? Depending on that, you can use varistors or other modules for doing it. Try searching for “control brightness of lamps arduino”.

  • sneha
    Reply

    In this case of home automation,how can we implement it using whats app or direct notification on phone?

    • Arvind Sanjeev
      Reply

      You probably have to use a bluetooth/wifi communication method to talk to the phone. You can send data to the phone through this channel and have an application on your phone which displays it as notifications.

  • TerrenceJ
    Reply

    Excellent presentation, looks like it will be a very handy bit of kit, now on my wish list, Cheers.

Leave a Comment

94 − 88 =

Start typing and press Enter to search