Arduino Weather Compensation Control
Budget: £20 – £250 GBP
Code and design for a Heating system control using 2 thermistors and a simple display
SETUP:
1st user input (U1) will store into EPROM the temperature required when tc1 is at 0 deg
2nd user input (U2) will store into EPROM the night setback temperature
3rd user input (U3) will store into EPROM the tc1 max temperature
4th user input (U4) will store into EPROM the time delay reading the sensors eg 5 mins
External timeclock will give 2 inputs to arduino (A) for on (B) for off
OPERATION:
Loop : Wait (U4) then Measure tc1 and tc2
If (A) has power Then
If tc1 is less than U3 and tc2 is less than (U1 - tc1) Then
Relay1 is on
Else
Relay 1 is off
End If
Else
If tc1 is less than U3 and tc2 is less than (U1 - (tc1+U4) Then
Relay1 is on
Else
Relay 1 is off
End if
End If
Go To Loop
SETUP:
1st user input (U1) will store into EPROM the temperature required when tc1 is at 0 deg
2nd user input (U2) will store into EPROM the night setback temperature
3rd user input (U3) will store into EPROM the tc1 max temperature
4th user input (U4) will store into EPROM the time delay reading the sensors eg 5 mins
External timeclock will give 2 inputs to arduino (A) for on (B) for off
OPERATION:
Loop : Wait (U4) then Measure tc1 and tc2
If (A) has power Then
If tc1 is less than U3 and tc2 is less than (U1 - tc1) Then
Relay1 is on
Else
Relay 1 is off
End If
Else
If tc1 is less than U3 and tc2 is less than (U1 - (tc1+U4) Then
Relay1 is on
Else
Relay 1 is off
End if
End If
Go To Loop