文件名称:DS18B20PLCD1602
-
所属分类:
- 标签属性:
- 上传时间:2014-10-30
-
文件大小:3.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用两个温度传感器,一个用来探测当前空气温度,另一个用于探测热源的温度;根据两处温度的变化来开启或关闭两个继电器(1号、2号)。
CPU=热源温度,T=当前空气温度,S1=1号继电器,S2=2号继电器
一、当T>15度时
1、CPU >= T,开启s1,s2
2、T-10 < CPU <= T - 5度时,关闭S1;
3、CPU <= T - 10度时,关闭S2;
注:当CPU温度下降至S1、S2全关闭后,再上升至CPU >= T,继电器才工作。
二、当T<=15度时
1.CPU <= 5度,关闭S1,S2;
2.CPU > 15度,开启S1,S2
3.CPU 在5到15度之间,S1、S2保持原状态。
三、1602屏显示格式为:
T:25℃ S1:OFF或ON
CPU:20℃ S2:OFF或ON
四、两只DS18B20中任何一只出问题,LCD对应显示温度处会显示“!!”、且不会进行温度比较
五、工作温度范围为:0~99度(包括0和99度)。当超过此范围,LCD对应处显示“ ”、且不会进行温度比较
六、继电器接口为低电平有效-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, 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
CPU=热源温度,T=当前空气温度,S1=1号继电器,S2=2号继电器
一、当T>15度时
1、CPU >= T,开启s1,s2
2、T-10 < CPU <= T - 5度时,关闭S1;
3、CPU <= T - 10度时,关闭S2;
注:当CPU温度下降至S1、S2全关闭后,再上升至CPU >= T,继电器才工作。
二、当T<=15度时
1.CPU <= 5度,关闭S1,S2;
2.CPU > 15度,开启S1,S2
3.CPU 在5到15度之间,S1、S2保持原状态。
三、1602屏显示格式为:
T:25℃ S1:OFF或ON
CPU:20℃ S2:OFF或ON
四、两只DS18B20中任何一只出问题,LCD对应显示温度处会显示“!!”、且不会进行温度比较
五、工作温度范围为:0~99度(包括0和99度)。当超过此范围,LCD对应处显示“ ”、且不会进行温度比较
六、继电器接口为低电平有效-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, 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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
20090605.ASM
20090605.HEX
20090605.HEX
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.