Instructables

Arduino Home automation

This is a relatively simple controller for controlling equipment in your home.

At the moment I control my central heating, security and lighting.
By sending commands from my home computer.

My homeeasy central heating controller hack.
http://www.instructables.com/id/BampQ_homeeasy_home_automation_central_heating_c/

I am also able to login remotely from the internet to control the equipment at home connected to this controller.

This project is built around an Arduino board.

http://www.arduino.cc/

The arduino board is a hardware interface allowing you to control and monitor hardware devices with your computer.

And the homeeasy home automation controllers available from B&Q.

http://www.homeeasy.eu/home.php

These are basically plug-in module which allows you to switch devices on and off using a remote control.

The idea behind this project was. I wanted to be able to login to my home computer and send commands that would allow me to turn lights on remotely.
Or have the computer do it automatically at a set time or when it gets dark.

 
Remove these adsRemove these ads by Signing Up

Step 1: Parts needed

1 arduino board.
1 homeeasy controller - part number HE300
1 prototype board - Vero board
10 resistors - 47 ohm
10 led's
4 opto isolators - RS part 308-613
Some ribbon cable.
a strip of pins to connect to the headers on the arduino board.
1 box - to put it all in.
some HE302S - remote control socket


Tools

Soldering iron
Solder
Cutters

Step 2: Basic principle

Hardware

Basically the arduino board when programmed will switch the digital outputs high.
Which will send 5 volts through the resistor and light the led's.
Which will activate the opto isolator which will connect the contacts on the remote control.
which will send the comand to the remote control sockets
And turn on or off the lights, heating or anything you want.

this circuit shown is for the first on and off switches.
just repeat the circuit for the following channels

software

I programed the software so when I pressed (H) in the terminal the arduino board will send a 1 second pulse to my remote control and switch my heating on.
when I press(h) the board will send a 1 second pulse my heating switches off.
(S) for security on
(s) for security off
(G) garden lights on
(g) garden lights off

and so on this can be changed to any button you want
henrikekblad19 hours ago

If you want to make your Arduino sensors wireless, try out MySensors.

Website:
http://mysensors.org/
API:
http://mysensors.org/build/sensor_api
Github:
https://github.com/mysensors/

shilafarhah1 month ago

Hai Admin!

My name is Shila.

Ive 1 question.

why you choose arduino instead of raspberry pi to control home appliance?

Thanks ;)

Tbus2 months ago

This was a great project to complete after I took an entry-level learn at home course. (http://www.ciebookstore.com/home-automation-instal...) It's nice having a lab to complete after learning about home automation installation techniques and apply what I learned from my course! Thank you.

andylphillips11 months ago
I am interested in building a temperature controller for heating the mash water for brewing beer. I bought the HomeEasy HE300 and a HomeEasy socket, but the design of the HE300 circuit board has changed and I can't figure out how to connect it to the Arduino board. Has anyone out there used the newer HE300 and can identify the connections to make?
Thanks Andy

Christ on a cookiesheet! That is going to turn out to be a difficult project for you, guaranteed. There are easier & cheaper ways of putting together a temperature controller. Check out this baby from amazon: http://www.amazon.com/AGPtek-Temperature-Controlle... Thats right, $25 gets you PID control...! (youll have to buy a $6 thermocouple, and a $5 solid state relay, plus what ever heaters you want to use.

D_Ghost0111 months ago
Hello,
Could anyone email the document regarding Arduino Home automation to me please?
iem_sabie@hotmail.com

Thank you,
777777771 year ago
hiii
i want to prepare it, but

if i try to control 10 system with this project than ,can i do it??????
reply
777777771 year ago
thats so good budy.now i can prepare it for my home.....
Matrixis4 years ago
 Doing a home automation project myself using these sockets and an arduino.

The main differences are that my project uses the ethernet shield and is controllable via some custom software on my mobile phone over the internet
Plus that I use a 433Mhz AM transmitter and a library I created by researching other peoples work that reverse-engineered the protocol.
I can transmit the code for the old simple protocol(sockets  have dial on back) and the advanced protocol (socket have small button on front).  So i can actually control millions of sockets all from 1 pin on my arduino.

I have timers for turning on and off electric heating, water and even my electric blanket on my bed , plus I have an output for controlling my electric door lock so I can actually let in a friend when I'm not there if they call me.

Code is getting rather big now as I keep adding things and might have to upgrade to a mega just for the extra space :p

Who knew such a small device could take up most of my free time. ( I own 2 and probably more soon).

With regards to your own project, great work and if ya want to upgrade your project to using a dedicated 433Mhz transmitter, just give me a shout and can send you my library with instruction on how to use it.
Hi Matrixis,
I'd love to extend the home easy setup using Arduino to create a low cost main controller and low cost input devices which seem to be missing from the range (temp sensors, light sensors etc.)
Would you mind sharing your library and transmitter design?
many thanks
Guy
mojud Matrixis2 years ago
Hi Matrixis,

Do u mind sharing the library with me too?

Thanks,
Mojud
Hi,

Matrixis,

i insterested in your project , can u share it with me.



thanks,

jimmy
Holy crap! This is awesome! I've been researching X10, Insteon, misterhouse, arduino, thermostats, lights ad naseum to start doing something like this. I was focused on the Insteon PowerLinc modem to hook up to my computer, but I never thought of hooking into a remote... genius! Opens all kinds of possibilities!

Question though.... why the opto isolators? I don't know electronics very well (but I'm learning!)
Opto Isolator (aka opto coupler) provide optical isolation from the mains circuit. The idea behind it is if something goes wrong your micro doesn't get fried and protects the micro from EMF noise.

When you working with noisy loads (such as heavy mains switching via relays) the opto will usually prevent the micro from spazzing out (due to it switching, copping an emf whack, crashing, then rinse and repeating)
jimmer222 years ago
This is amazing in terms of smart home products. I came across http://sabinessmarthome.com the other day and saw some cool and useful products for home automation as well
Teknopuppy3 years ago
hi,

simon,

can i use different remote control.


Thanks,

Jimmy
TOCO3 years ago
Where can I get the block of 10 leds? I have looked for them but I cant find them anywhere. Can you post a link or something?
mman15063 years ago
thank you !! i was looking for months to find a alternative to transitors and power hungry relays i never thought of using opto-isolators
Yakumo4 years ago
Thank You for this wonderful idea. I'm using a different remote system but everything works fine thanks to you :)


i seriously need to add some flat cables to my next project...its works but it looks very ugly ^^'
purpulhaze4 years ago
Can  you explain in a lil more detail of how to communicate via SSH. I have freeSSH server running on my windows xp machine. I can connect but none of the commands are recognized. Am I missing something here?
I think I'm missing something here but I'm not sure. I don't think it can be done without something else.
purpulhaze4 years ago
Kinda new to scripts just want to make sure. I add this script somewhere in my arduino sketch?
flemron4 years ago
if( val == 'B' ) // if '9' was received
if( val == '9' ) // if '9' was received
if( val == '0' ) // if '9' was received

is this correct?
Technically, no, but it will work since its just the comments that are screwed up.  Should read
if( val == 'B' ) // if 'B ' was received
if( val == '9' ) // if '9 ' was received
if( val == '0' ) // if '0 ' was received
but the code will still compile the same either way
rk244 years ago
 Thanks a lot!!!!!


look this: "instructables.com/id/we-controlled-valentine"

Can you make more digital outputs for that?

T_T please I need  a web controlled pcb with 8 outputs...

I've tried but ....fail...
simon72post (author) 4 years ago
 Hi the server software I used was webmin. www.webmin.com/
rk244 years ago
can you post your web server? please

Why does your Arduino programing interface have a space to input a letter and mine doesn't?
simon72post (author)  WillTheRescue4 years ago
in the arduino software click the button on the right to open the serial terminal.
Hey! i got somthing for you. the cheaper,quicker way is to use relays :P
simon72post (author)  get to da parakeet4 years ago
Hi I was going to use relays originally. But I had these bits laying around. This is all powered from the arduino board. running relays from the arduino board could overload it if there are a few on at the same time.
Well, That REALLY all sepends on where you get them.
in the USA, theres this thing called a hamfest for/and computer show where you can get alot of cheep stuff.

i controll my relays with the dc controller shield found on arduino's website =P
Or you can control the relays with another low power relay...
haha, this i would like to see. some guy just randomly re-wiring his house using relays. that is a fire wating to happen. plus the fact this is already wireless, if you were to use relays you would need to either 1. run wires across your house or 2. find a wireless alternative. if you use wireless, it will either be cheap and unreliable or really expensive. either way this method here seems like a better choice to me really.
raathi20094 years ago
Sir! I need the detailed schematic. please help me sir. Or any other ways to get it. Raathigesh92@gamil.com
i0scan4 years ago
Where did you get the project box that you used!?
simon72post (author)  i0scan4 years ago
I just used an old box I had laying around. I think it came from maplins originally
Thanks!
thrhymes4 years ago
thank you for the inspiring instructable i will try this....
westfw4 years ago
I really like the idea of putting the LEDs in series with the optoisolator inputs so you can see what's going on!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!