PDA

View Full Version : Central Heating Remote Control



lmsvvavr
18th November, 2013, 12:59 AM
Hi everyone!

As some of you might saw on my other thread, I have been distributing sound over my house using my network, DLNA server and Android tablets as the control panels...
You can check it here if you have not yet...
http://www.digital-kaos.co.uk/forums/f102/home-sound-distribution-using-dlna-server-players-338099/

On my last post I said I was trying to incorporate the central heating into my network and on the control panels...
Till now I was using two wireless thermostats... one is now faulty, so the idea of this project came when I realized that would cost me the same (if not less...) money, to buy another thermostate as the system I have just built.

After looking at my options, and believe me that there is loads out there... just the prices that are bit bitter...
Anyway, in the end I decide to go Arduino - HomePage (http://arduino.cc/)

What I have bought:

2 x Arduino Mega (compatible boards, not genuine)
2 x Ethernet shields
2 x 5v 2x relay boards
2 x DHT22 temperature sensors
1 x Plastic box, to enclose everything.

On top of the above I've used wires, cabling etc...

230496
I have used a wood base to install the system...

230497

230498

230499

230500

lmsvvavr
18th November, 2013, 01:25 AM
230501
The box...

230502

230503
The systems... at the time of this photo was still awaiting for the arrival of another relay board and Ethernet shield.
230504
Had to buy a second network switch, as I have run out ports...
230505

This system has been developed by great guy known as marque... you can find is work on the Arduino forum and Goole Playstore.

I have however developed it a step further by join 2 systems on the same network...
I have one which controls the temperature downstairs and the other one for upstairs.
In order to have the two systems on the same network you need to modify the coding supplied by the app developer, you need to change the MAC address and the port, otherwise the systems clash, and they will have the same settings.
I have also inverted the the relays, so they are energized when the system is ON, on the original sketch they are energized when the system is OFF, as over 12 months the system will be more time OFF than ON, it makes more sense to me...

I am new to Arduino, but next want to have my bathroom extractor fan to turn on depending on the humidity measured.
The temperature sensors mentioned above, the DHT22, also measure the RH%, I already have another Arduino board, in this case I bought the uno, just need to learn more about the programming language...
I could probably edit the code on one of the central heating systems and do it that way, but better to not mix things up...

Will might use this thread to also share that project...

Thank you all for the time reading this!

lmsvvavr
24th November, 2013, 12:45 AM
As "promised" above, I am back to share my progress with my project for the bathroom extractor fan.
I am using an Arduino Uno, a LCD display and a DHT22 temperature and humidity sensor; I am not going to use the temperature information from the sensor, only the humidity, although the option is there, in case you want to develop the project a bit further.
I will also need a relay module, so i can actuate the FAN on or off...

231533231534231535231536

Still awaiting for the relay board, so I am usind the breadboard with an led to test the code etc...
I already wrote the code, (is attached at bottom of this post), although I still want to tweak it a bit more, as I want to be able to adjust the set point of the humidity using the lcd keys, but do not have a clue yet how to do it!...:joyous:


231537

lmsvvavr
25th November, 2014, 02:53 PM
Hi

This last project mentioned is now completed.
The extraction fan turns on/off depending on the humidity within the bathroom, and the some LED lights I have fitted at the bottom of the bath, turns on/off depending on the light and movement.

http://www.digital-kaos.co.uk/forums/attachment.php?attachmentid=287742&stc=1
http://www.digital-kaos.co.uk/forums/attachment.php?attachmentid=287743&stc=1
http://www.digital-kaos.co.uk/forums/attachment.php?attachmentid=287745&stc=1

Here is a video that better explains the whole thing...

https://www.youtube.com/watch?v=2hB-lfBEfu8

HGV_DIAG
13th December, 2014, 11:14 PM
Just bought my 1st Arduino kit.
Hope i can eventually make similar kinda stuff
Did you write your own code? Id love to learn it :)

lmsvvavr
16th December, 2014, 05:37 PM
Hi
Yes, i do write my own code...
but I use what I have learned over the time, and bits and bobs from other sketchs...
It becomes easier as you play with it. ..