gres
Full Member level 4
Here's project of controller for central heating and water pump for central heating.
All you need is:
- alphanumeric display WC1602A - very popular
- Atmega8 (clocking by outside quartz 8mhz)
-2 relays HFD27
- transformer TS 5/002 6V-0,8A
- balancer L8705
- 2 temperature sensors
- buzzer 5V
A box of small elements.
All parts are very cheap and easy to buy. Finally I don't have to visit basement every time I need hot water
Relay:
**broken link removed**
Power
**broken link removed**
Temperature sensor is a LM35. It can measure -55 to 150 and as a result display voltage 10mV for 10C that gives 1V with 1000C
Atmega is configure to need 2V at AREF tip.
Software:
At main loop data is retrieve and conditions are testing:
WyborKanalu(0);
temp1 = (int)((float)PomiarPortu16bit() * 0.1914);
WyborKanalu(1);
temp2 = (int)((float)PomiarPortu16bit() * 0.1914);
if( (int)temp1 -(int)temp2 > WlaczPompe1 )SET_POMPA1;
if( (int)temp1 -(int)temp2 < WylaczPompe1 )CLR_POMPA1;
if( (int)temp1 > WlaczPompe2 )SET_POMPA2;
else CLR_POMPA2;
if( ((int)temp1 < AlarmPonizej) | ((int)temp1 > AlarmPowyzej) )SET_BUZER;
Timer0 is for system brake, and handle the keyboard and menu
Menu is made by this project : Link
Text came from
https://www.elektroda.pl/rtvforum/topic1489697.html