Description: With two temperature sensor, a used to detect the current air temperature, another is used to detect the temperature of the heat source According to the change in temperature two place to open or close the two relay (1, 2).
CPU = heat source temperature, T = the current air temperature, S1 = 1, relay S2 = 2
A, when T > 15 degrees
1, CPU > = T, open the s1, s2
2, T- 10 < < CPU close the S1 = T- 5 degrees
3, CPU < = T- 10 degrees, close the S2
Note: when the CPU temperature dropped to S1, S2 is turned off, and then rose to CPU > = T, relay work.
Second, when T < = 15 degrees
1. The CPU < = 5 degrees, shut off the S1, S2
2. The CPU > 15 degrees, open the S1, S2
3. The CPU between 5 to 15 degrees, S1, S2, maintain the original state.
Three, 1602 display format for:
T: 25 ℃ S1: OFF or ON
CPU: 20 ℃ S2: OFF or ON
Four, two any one problem in the DS18B20, LCD display temperature place will show !!!!!!!!!! And will n
To Search:
File list (Check if you may need any files):
20090605.ASM
20090605.HEX