Go Down

Topic: Wifi Web Thermostat (Read 12 times) previous topic - next topic

gpanni

Apr 18, 2012, 11:37 pm Last Edit: Sep 20, 2012, 11:41 am by gpanni Reason: 1
Hello everyone, I am a new user from Italy. :-)

I realized a thermostat controllable by web using an arduino with wifi shield.
My house is divided into two zones (day and night) controlled by two programmable thermostats.
I often travel for work and sometimes happen to get home earlier or later than I thought. Hence the need to have a thermostat controllable by the web.
Looking around I found great thermostats wifi with web interface but very expensive (500-700 euros), so I decided to realize this project and it works!

Materials:

Product                                                         Price      Qty       Price Tot
-------------------------------------------------- ---------------------------------------------
Arduino Uno                                                   29,90      1         29,90
Wifi Shield                                                     56,00      1         56,00
Temperature Sensor DS18B20                             2,00      2         4,00
Power Supply AC/DC 3-12V 500mA                      9,90      1         9,90
Relay 220V                                                      8,00      3         24,00
Switch                                                           30,00      1         30,00
Switch Contact 1NO/1NC                                    5,00      2         10,00
Mini adhesive backed PCB support 14.3mm           4,50      1          4,06
Box                                                                9,00      1          9,00
-------------------------------------------------- ----------------------------------------
Total 176,86

I installed the Arduino + wifishield, the three relays and the switch in the box.
I placed the two temperature sensors side by side with traditional thermostats, one in the day zone and the other in the night zone.
The switch is used to include/exclude the arduino or the traditional thermostats.
I then added a third relay (on the web page "auxiliary") to turn on/off a pellet stove.

Screenshot of the webpage:



I attach the code, libraries and some pdf, please use arduino-0023 (with Arduino-1.0 does not work the wifi shield library).
I also used a modified OneWire library because the original one doesn't work with long wires (about 10 meters from arduino to temperature sensors).

Suggestions for improvement are welcome!

freedomotic

Hi Gianni,
congratulations for your project! Very interesting.
If you want you can take a look at our project Freedomotic.com as software control for your system.
I noted that it's based on http commands so it's simple to create a specific plugin.
This is a code example for an ethernet relay board using a similar communication protocol http://code.google.com/p/freedomotic/source/browse/plugins/devices/progettihwsw-eth/src/it/cicolella/phwsw/ETHProgettiHwSw.java
Regards
Freedomotic Domotica Open Source
http://freedomotic.com
We need your help. Please contact us for contributing

spumanti

Looks like a nice and tidy user interface. :)

Quote
I also used a modified OneWire library because the original one doesn't work with long wires (about 10 meters from arduino to temperature sensors).


One question>> What modifications did you do to the OneWire library?

I am asking, because I also plan to build some temperature monitoring on my heating system in the house, which is also heated by a pellet stove :)


gpanni


zoomkat

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

Go Up