Offline
Newbie
Karma: 2
Posts: 35
|
 |
« on: October 15, 2012, 04:09:20 am » |
Hi, I build an thermostat to control my home heating system. It's made with an arduino, an ethernet shield and an 2 chanel relay. I also made an android app to control the thermostat. In the picture the button text is in dutch but in the uploaded version the text is in english. In the arduino sketch there is some documentation how to connect to your heating system. I hope to get some sugestions to improve this project. Arduino sketchAndroid appVideo  Links to the used library's: EEPROMEXDHT
|
|
|
|
« Last Edit: December 05, 2012, 05:41:54 am by marque »
|
Logged
|
|
|
|
|
scranton,pa
Offline
Newbie
Karma: 2
Posts: 48
|
 |
« Reply #1 on: October 15, 2012, 07:42:08 pm » |
nice,tried but hit check and get errors
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 2
Posts: 35
|
 |
« Reply #2 on: October 16, 2012, 03:47:12 am » |
What kind of errors? Is it on your phone or on the arduino?
|
|
|
|
|
Logged
|
|
|
|
|
scranton,pa
Offline
Newbie
Karma: 2
Posts: 48
|
 |
« Reply #3 on: October 17, 2012, 09:08:43 am » |
error: 'DHT' does not name a type
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 2
Posts: 35
|
 |
« Reply #4 on: October 17, 2012, 04:58:27 pm » |
You dont have the DHT files in you arduino/libraries folder. you can download it here: https://github.com/adafruit/DHT-sensor-libraryinstructions are in the readme.txt
|
|
|
|
|
Logged
|
|
|
|
|
Hoofddorp NL
Offline
Newbie
Karma: 0
Posts: 6
|
 |
« Reply #5 on: October 27, 2012, 06:15:32 am » |
It would be nice to have a schematic of your arduino. Not everyone knows how to build your idea.
And do you have the Dutch version on-line as well?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 2
Posts: 35
|
 |
« Reply #6 on: October 28, 2012, 12:11:47 pm » |
I quickly made some schematics. see he first post. You like the app with dutch text labels? For now its not online, perhaps a future version is multi langual. If i have time i send you a previous version in dutch or you can use my other app that suports custom text labels and has nearly the same funcionality. http://arduino.cc/forum/index.php/topic,127770.0.html
|
|
|
|
« Last Edit: October 28, 2012, 12:16:18 pm by marque »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #7 on: October 31, 2012, 03:57:50 am » |
Hi, Seems to be a nice project....
i am trying to test it but I received a lot of errors... ---------------- sketch_oct31a.cpp:24:22: error: EEPROMex.h: No such file or directory sketch_oct31a.cpp:25:20: error: Avviso.h: No such file or directory sketch_oct31a.cpp: In function 'void setup()': sketch_oct31a:141: error: 'EEPROM' was not declared in this scope sketch_oct31a.cpp: In function 'void loop()': sketch_oct31a:280: error: 'EEPROM' was not declared in this scope sketch_oct31a.cpp: In function 'void action(int, EthernetClient)': sketch_oct31a:422: error: 'EEPROM' was not declared in this scope sketch_oct31a:459: error: 'EEPROM' was not declared in this scope ----------------- Where can I find the above libraries? Please help
Thanks a lot,
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 2
Posts: 35
|
 |
« Reply #8 on: October 31, 2012, 11:56:43 am » |
the EEPROMex library with thanks to mrTee http://arduino.cc/forum/index.php?topic=115587.0You can delete the line #include <Avviso.h> This an libray to send notifications to you phone. I commented out the code it uses but i forgot to remove the include line in the uploaded version. It has some nice function but i removed it because it needs a subscrision to "prowl" or "notifier my android" and because the sketch became to big to fit an arduino uno. More info can be found here: https://github.com/colagrosso/avviso. Whenever i recieve my mega (china post  ) i wil us it to let the arduino send a notification when the temperature in my house gets to hot and i can decide to open some windows remotely or close the shutters when its freezing outside.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #9 on: November 30, 2012, 02:50:51 pm » |
Looks an interesting project. Do you have schematics?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #10 on: December 02, 2012, 09:16:06 am » |
I think I've found the pieces I ws looking for on other projects.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #11 on: December 02, 2012, 10:39:48 am » |
Nice - thanks for sharing what exactly do the relays hook up to and what do they do? This could be different for a lot of heating systems, and it is the core of your whole idea.
|
|
|
|
|
Logged
|
|
|
|
|
South UK
Offline
Sr. Member
Karma: 1
Posts: 484
|
 |
« Reply #12 on: December 04, 2012, 11:33:17 am » |
This looks great, can't wait to try it out!
I'm confused about the relays though, which one does what? I would only need one relay for my boiler?
thanks
|
|
|
|
« Last Edit: December 04, 2012, 11:44:40 am by dtokez »
|
Logged
|
|
|
|
|
South UK
Offline
Sr. Member
Karma: 1
Posts: 484
|
 |
« Reply #13 on: December 04, 2012, 07:46:10 pm » |
testing now, but LCD screen is stuck on 'Getting IP'. I have assigned it the same IP that I use in other sketches and same mac address.
With the serial debugging I can see that is also stuck on Getting IP
have you seen this before? I have installed the DHT AND EEEPROM libs, I'm running bare bones with no temp sensors connected but don't think that is the problem?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 2
Posts: 35
|
 |
« Reply #14 on: December 05, 2012, 05:40:51 am » |
Nice - thanks for sharing what exactly do the relays hook up to and what do they do? This could be different for a lot of heating systems, and it is the core of your whole idea.
With one relay you can switch between your current thermostat and the arduino thermostat. The second thermostat turns on / off your heating system the same way your current thermostat does. I uploaded some simple schematict in the opening post.
|
|
|
|
« Last Edit: December 05, 2012, 05:43:42 am by marque »
|
Logged
|
|
|
|
|
|