毕业设计--数字温湿度计的设计--论文

上传人:第*** 文档编号:37010349 上传时间:2018-04-05 格式:DOC 页数:66 大小:1.29MB
返回 下载 相关 举报
毕业设计--数字温湿度计的设计--论文_第1页
第1页 / 共66页
毕业设计--数字温湿度计的设计--论文_第2页
第2页 / 共66页
毕业设计--数字温湿度计的设计--论文_第3页
第3页 / 共66页
毕业设计--数字温湿度计的设计--论文_第4页
第4页 / 共66页
毕业设计--数字温湿度计的设计--论文_第5页
第5页 / 共66页
点击查看更多>>
资源描述

《毕业设计--数字温湿度计的设计--论文》由会员分享,可在线阅读,更多相关《毕业设计--数字温湿度计的设计--论文(66页珍藏版)》请在金锄头文库上搜索。

1、河南科技大学本科毕业设计(论文)I数字温湿度计的设计摘 要温度和湿度是两个最基本的环境参数,人们生活与温湿度息息相关。在工农业生产、气象、环保、国防、科研等部门,经常需要对环境温度与湿度进行测量和控制。准确测量温湿度在生物制药、食品加工、造纸等行业更是至关重要的。因此研究温湿度的测量方法和控制具有重要的意义。本论文介绍了一种以单片机 AT89C52 为主要控制器件,以 DHT91 为数字温湿度传感器的新型数字温湿度计。本设计主要包括硬件电路的设计和系统软件的设计。硬件电路主要包括主控制器,测温湿控制电路和显示电路等。主控制器采用单片机 AT89C52,温湿度传感器采用盛世瑞恩半导体公司生产的

2、DHT91,显示电路采用 8 位共阳极 LED 数码管,驱动电路用八个 PNP 型的小电压大电流三极管(S9012)。测温湿控制电路由温湿度传感器和预置温湿度值比较报警电路组成,当实际测量温湿度值大于预置温湿度值时,发出报警信号(发光二极管点亮)。软件部分主要包括主程序,测温湿度子程序,显示子程序和按键子程序等。本次设计采用的 DHT91 数字温湿度传感器包括一个电容式聚合体测湿元件和一个能隙式测温元件,并与一个 14 位的 A/D 器以及串行接口电路在同一芯片上实现无缝链接,从而具有超快响应,抗干扰能力强,性价比高等优点。用 DHT91与 AT89C52 做的数字温湿度计不仅外围电路简单,而

3、且测量精度比较高。关键词:温度测量, 湿度测量,AT89C52,DHT91THE DESIGN OF DIGITAL THERMOMETERS AND HYGROMETER河南科技大学本科毕业设计(论文)IIABSTRACTTemperature and humidity are two basic environmental parameters. peoples lives are closely related to temperature and humidity. In the industrial and agricultural production, meteorology,

4、environmental protection, national defense, scientific research, and other departments, we often need to ambient temperature and humidity measurements and control. Accurate measurement of temperature and humidity in the pharmaceutical, food processing, paper making and other sectors is essential. So

5、 the temperature and humidity control and measurement method is of great significance. This paper presents a new design of digital thermometers and hygrometer. It includes a main control device-microcontroller AT89C52 and a digital temperature and humidity sensor. This design includes hardware and s

6、ystem software .The hardware design includes a main controller circuit, Temperature and Humidity measurement and control circuits and show circuit. Main controller uses SCM AT89C52.temperature and humidity sensor uses DHT91 which is yielded by Sensirion (a Semiconductor Corp). Show circuit is a tota

7、l of eight circuits using digital LED of the anode. Driver show circuit uses eight of the PNP small voltage high current transistor (S9012). Temperature and Humidity control circuit includes the temperature and humidity sensor and preset temperature and humidity values compared alarm circuit. When t

8、he actual measurement of temperature or humidity values is greater than the preset temperature or humidity values, the alarm signal (Light emitting diode is lit) is sent. The major software includes the main routines, temperature and humidity routines, show routines and keys routines. The digital te

9、mperature and humidity sensor (DHT91) in this design includes a capacitive polymer sensing element for power consumption makes it the ultimate choice for even relative humidity and a band gap temperature sensor. Both the most demanding applications are seamlessly coupled to a 14bit analog to digital

10、 converter with a 14 and the A / D, as well as serial interface circuits in the same chip on the realization of a Gap link to a super-fast response, anti-interference capability and cost-effective advantages. 河南科技大学本科毕业设计(论文)IIIThe design of digital thermometers and hygrometer with AT89C52 and DHT91

11、 not only has a simple external circuit, but also has a high-precision measurement. KEY WORDS: temperature measurement, humidity measurements, AT89C52, DHT91 河南科技大学本科毕业设计(论文)1目 录前 言 .1第一章 设计任务要求和温湿度计的发展史 .21.1 设计任务及要求.21.2 设计数字温湿度计的依据和意义.21.3 温度计的发展史.31.4 湿度计的由来.41.5 露点意义.4第二章 设计任务分析及方案论证 .52.1 设计总体

12、方案及方案论证.52.2 元器件的选择.62.2.1 主控制器芯片.62.2.2 数字温湿度传感器.72.2.3 驱动显示电路.82.3 温湿度测量的方法及分析.9第三章 硬件电路的设计 .103.1 主控制电路和测温湿控制电路.103.2 驱动显示电路.11第四章 软件设计及分析 .134.1 DHT91 传输时序和指令集7.134.1.1 通讯复位时序.134.1.2 启动传输时序.134.1.3 数据传输和指令集.144.1.4 湿度的测量时序.154.1.5 输出转换为物理量.154.1.6 DHT91 的 DC 特性。 .164.2 程序流程图.17河南科技大学本科毕业设计(论文)24.3 程序的设计.184.3.1 通讯复位子程序.184.3.2 传输启动子程序.184.3.3 写一个字节子程序.194.3.4 读一个字节子程序.204.3.5 数据处理子程序.204.3.6 显示子程序.214.3.7 按键子程序.234.3.8 中断刷新显示数码管子程序.264.3.9 软件在硬件上的调试分析.

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号