摘  要

温度是表征物体冷却程度的物理量,也是一种最基本的环境参数。在农工业生产及日常生活中,对温度的测量及控制始终占据着极其重要的地位。目前,典型的温度测控系统由模拟式温度传感器、A/D 转换电路和单片机组成。由于模拟式温度传感器输出的模拟信号必须经过A/D 转换环节获得数字信号后才能与单片机等微处理器接口,因而使得硬件电路结构复杂,成本较高。而以DS18B20 为代表的新型单总线数字式温度传感器集温度测量和A/D转换于一体,直接输出数字量,与单片机接口电路结构简单,广泛使用于距离远、节点分布多的场合,具有较强的推广应用价值。

本次设计的水箱水温控制系统采用现在流行的AT89S51单片机,配以DS18B20数字温度传感器,该温度传感器可自行设置温度上下限。单片机将检测到的温度信号与输入的温度上、下限进行比较,由此作出判断是否启动继电器以开启设备。

本设计还加入了常用的液晶管显示及状态灯显示灯常用电路,使得整个设计更加完整,更加灵活。该设计已应用于水箱水温控制系统。

关键词:温度, AT89S51,单片机控制 ,DS18B20

 

 

 

 

 

ABSTRACT

The temperature is attributes the object cooling degree the physical quantity, is also one kind of most basic environment parameter. In the agriculture industrial production and the daily life, is occupying the extremely important status throughout to the temperature survey and the control. At present, the typical temperature observation system by the simulation type temperature sensor, A/D switching circuit and the monolithic integrated circuit is composed. Because the simulation type temperature sensor outputs the simulated signal must obtains the digital signal after A/D transformation link be able with microprocessor connections and so on monolithic integrated circuit, thus causes the hardware circuit structure to be complex, the cost is high. But as representative’s new single main line digital temperature sensor collection temperature survey and A/D transforms take DS18B20 in a body, the direct output digit quantity, is simple with the monolithic integrated circuit interface circuit structure, the widespread use in is away from, the node to distribute many situations far, has the strong promotion application value.

The temperature was designed with the now popular AT89S51 SCM, and with DS18B20 digital temperature sensor, The temperature sensor can set up their own temperature collars. SCM will detect that the temperature of the input signal and temperature, the lower comparisons this judgment whether to activate the relay to open the equipment.

The design also includes commonly used digital display and control state lights commonly used circuit, making the whole design more complete, more flexible. The design has been applied to someone, to someone intelligent temperature control.

Key words:emperature ,AT89S51 ,SCM Control ,DS18B20

 

 

 

 

目录

摘  要… 2

ABSTRACT. 3

1  绪论… 4

1.1 课题的背景及意义… 4

1.2 课题的设计目的… 4

1.3 本课题的主要工作… 5

1.4 论文的主要内容… 5

1.5 水温控制系统的主要功能… 5

2  系统方案设计… 7

2.1  方案选择… 7

2.1.1  方案一… 7

2.1.2 方案二… 8

2.2 系统设计原理… 8

2.3 系统组成… 9

2.4 温度传感器介绍… 10

2.4.1 温度传感器DS18B20的特点… 10

2.4.1 DS18B20的主要特性… 11

2.5 单片机介绍… 12

3  系统硬件电路设计… 15

3.1电源模块设计… 15

3.2 震荡电路模块… 16

3.3 复位电路模块… 17

3.4 键盘操作模块… 18

3.5 温度检测电路模块… 19

3.6 加热控制电路… 20

3.7 制冷控制电路… 20

3.8 显示电路… 21

4  系统软件设计… 22

4.1 系统软件设计思路… 22

4.2 系统程序流程图… 23

5  系统调试与仿真… 27

5.1 keil及protues软件介绍… 27

5.1.1 keil软件介绍… 28

5.1.2 protues软件介绍… 28

5.2 应用keil软件进行程序调试… 28

5.3 protues软件仿真… 29

图5-4 保温仿真图结论… 31

参 考 文 献… 32

致 谢… 33

部分程序… 34

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源