Pages: [1] 2   Go Down
Author Topic: Home Automation Lighting  (Read 12348 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Surprisingly there is not a lot of information about controlling your house lighting with arduino.  My goal it to control my house lighting with my arduino and have the manual switches still work.  I also want to know the status of the lights.  I am having some serious trouble figuring out how to do this.  My first thought is it might have to be wireless because there are a few light switches and having a board at each switch does not sound efficient.  Dose any one have any ideas or experience to help me get started?
Logged

New River, Arizona
Offline Offline
God Member
*****
Karma: 19
Posts: 935
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've looked into this a bit, but everything turns out to be quite expensive.  I want to use wireless to avoid messing up the walls, but everything seems to cost too much.  Haven't given up, but haven't found a solution either.  X10 (I have a few of those) is just too darn unreliable.
Logged

Trying to keep my house under control http://www.desert-home.com/

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using my arduino to control my lights via Domotic home on the cheap... c eck out my blog if your interested in finding out more... I am going to build my house soon and will be looks ng at something like MQTTand what john has used over at http://www.superhouse.tv/episode

I am using rc-switch and cheap 315mhz to control my.lights... I don't get the status of the lights just yet but I'm working on that at the momdnt .

Www.humpadilly.com

HumpA
Logged

California
Offline Offline
Faraday Member
**
Karma: 88
Posts: 3380
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For my set-up, I have an Arduino with Ethernet connected to another atmega chip w/ a HopeRF transceiver acting as a base station. The lights have a small custom board with an ATTiny84, transceiver and a latching relay. After the initial base station cost, it's about $10-15 per node. The latching relay is double pole, so I use that to determine the status. That's been the cheapest I can get it without running wires.
Logged

New River, Arizona
Offline Offline
God Member
*****
Karma: 19
Posts: 935
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The double pole latching relay is a really good idea.  I've just been sampling the state of the output pin, which tells me what I told it to do, but not the actual result.
Logged

Trying to keep my house under control http://www.desert-home.com/

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12894
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've just been sampling the state of the output pin, which tells me what I told it to do, but not the actual result.

Sort of.  I believe pins are wired so reading an output reads the actual state of the pin.  In other words, it is possible to read LOW after writing HIGH if the output driver has failed.
Logged

Argentina
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

first of all sorry for my english smiley-grin

made something like that for my home,

i live in argentina (220v here) and found some dimmer light-switches (capacitive ones) that got connection for a "slave" unit...

quick touch turns on/off
dimmers when holding....

closing the circuit between the slave and the Live wire works as pressing the key.... (mine is done with uln2803 and 5v relays)

got some pictures from my (up to now incomplete) setup attached,


charlie (again sorry for my grammatical murder smiley-razz)



* Foto 26-04-12 16 58 37.jpg (67.03 KB, 747x1000 - viewed 221 times.)

* Foto 26-04-12 16 58 56.jpg (62.67 KB, 747x1000 - viewed 170 times.)

* Foto 26-04-12 16 59 04.jpg (54.23 KB, 747x1000 - viewed 178 times.)

* Foto 28-04-12 17 45 28.jpg (122.59 KB, 747x1000 - viewed 251 times.)
Logged

Argentina
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

more pictures....

setup:

atmega 2560 ---- touchOSC ---- Processing

2 rgb Led strips

2 UV Led strips

2 light dimmers

future ir control (trying to make it work right)
future voice control (Processing Voce library)
future temperature/humidity/light sensors...


send me a PM if someone whats some of the code (arduino/processing) or more info

(again sorry for my english)


* Foto 28-04-12 16 29 14.jpg (79.27 KB, 1000x747 - viewed 176 times.)

* Foto 26-05-12 17 21 15.jpg (135.71 KB, 747x1000 - viewed 251 times.)

* Foto 19-05-12 13 29 39.jpg (60.91 KB, 800x597 - viewed 197 times.)

* Foto 26-05-12 17 18 04.jpg (95.51 KB, 1000x747 - viewed 163 times.)
Logged

Barcelona
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks very interesting, I have done an Iphone APP to control lighting and RGB led strip with Arduino. I use it with wire relays,  I wonder if it could work with latching relays with double pole. If someone are interested to tested it,  i'll be glad to give away a promo code to download my app for free.
you can see it here: www.cromalight.com
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I'm working on something similar...
At the moment I have an arduino ethernet as base which controls via i2c one pca9586 (16channel PWM driver) and one pca8575(16 channel i2c expander, outputs used as switches).
To control low voltage devices (PWM, led stripes, 12V DC halogen lamps etc) I use a MOSFET as driver. For 230V AC devices I will use solid state relais with integrated optical coupler for safety.

The whole thing is controlled via ethernet from a webserver which also visualizes the actual state.

For the future I plan:
- Spoken feedback smiley
- Voice recognition
- Intelligent light controlling if e.g. I leave the room and re-enter the room
- Heater controlling
- some degree of "learning"

more pictures....

setup:

atmega 2560 ---- touchOSC ---- Processing

2 rgb Led strips

2 UV Led strips

2 light dimmers

future ir control (trying to make it work right)
future voice control (Processing Voce library)
future temperature/humidity/light sensors...


send me a PM if someone whats some of the code (arduino/processing) or more info

(again sorry for my english)
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you still want to add voice recognition to you home automation project, I suggest you check this out:

« Last Edit: December 23, 2012, 08:04:37 am by msb4180 » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For my set-up, I have an Arduino with Ethernet connected to another atmega chip w/ a HopeRF transceiver acting as a base station. The lights have a small custom board with an ATTiny84, transceiver and a latching relay. After the initial base station cost, it's about $10-15 per node. The latching relay is double pole, so I use that to determine the status. That's been the cheapest I can get it without running wires.

Could you share your schematic?
Logged

California
Offline Offline
Faraday Member
**
Karma: 88
Posts: 3380
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you share your schematic?

I ditched the latching relay and went with a standard one, but here's the schematic for the receiving device. It's actually broken into a main board and relay shield, but here is the schematic for them combined:

*Edit: First picture had incorrect wiring to the relay; fixed.
*Edit2: There is also a missing flyback diode that I'm too lazy to go back and fix


* Capture.PNG (59.64 KB, 1322x796 - viewed 248 times.)
« Last Edit: November 16, 2012, 06:23:46 pm by Arrch » Logged

Torremolinos (Málaga)
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello. I have developed a home automation system that let us to use any switch as a commutator, and know the state of the equipment connected to it. About the equipment, it can be lights, it can be air conditioning, it can be motorized blinds... everything with minus than 16 A.

I have a thread in spanish where I have published the schematic of the board that I designed to do it, and it works perfectly with Arduino. The communication is through Xbee. Later I have designed my own control and power boards based on the previous prototipes and 100% compatibles with the Arduino platform, but with a transfo and communication module integrated in the control board.

Now I am starting to sell my solution.

You can check all the information about my home automation system at the following Arduino forum: http://arduino.cc/forum/index.php/topic,92963.0.html

You also have english explanations at my web page (it has english section): www.functiodomo.com

I will follow this thread and I will try to collaborate.
Logged

José Antonio Castillo Rodríguez
Responsable de diseño de producto
Functio & Ars S.L.
www.functionars.com

turkey
Offline Offline
Newbie
*
Karma: 0
Posts: 8
I don't stop when i'm tired I stop when i'm done..
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello everyone;
Home Automation Lighting is exactly what i am gonna do. In my project we can control lights using computer via internet(I think with arduino web server). Also control with my android phone. I want to make an android application for this.
But i am not sure which arduiono is fit to my project. I think 'Arduino Mega ADK' and 'Arduino Ethernet Shield w/o PoE R3' is enough for me. I dont know this things is compatible for each other. I am new with arduino. I dont wanna buy wrong things. Please help me to choose and give me hint for good starting.
Best regards...
Logged

Pages: [1] 2   Go Up
Jump to: