基于at89s52单片机的温湿度检测仪-毕业设计

上传人:wm****3 文档编号:43055180 上传时间:2018-06-04 格式:DOC 页数:58 大小:675.50KB
返回 下载 相关 举报
基于at89s52单片机的温湿度检测仪-毕业设计_第1页
第1页 / 共58页
基于at89s52单片机的温湿度检测仪-毕业设计_第2页
第2页 / 共58页
基于at89s52单片机的温湿度检测仪-毕业设计_第3页
第3页 / 共58页
基于at89s52单片机的温湿度检测仪-毕业设计_第4页
第4页 / 共58页
基于at89s52单片机的温湿度检测仪-毕业设计_第5页
第5页 / 共58页
点击查看更多>>
资源描述

《基于at89s52单片机的温湿度检测仪-毕业设计》由会员分享,可在线阅读,更多相关《基于at89s52单片机的温湿度检测仪-毕业设计(58页珍藏版)》请在金锄头文库上搜索。

1、 绥化学院 2011 届本科学生毕业论文更多资料尽在: http:/ 大学生部落-大学生第一门户社区更多资料尽在: http:/ 大学生部落-大学生第一门户社区- 1 -基于 AT89S52 单片机的温湿度检测仪摘 要随着社会的发展,人们对环境中的温度和湿度的要求也越来越高,尤其是在医学、电子电力、航天航空、食品发酵等领域中对温湿度的要求尤其严格,鉴于如此设计出一个能够精确、稳定、实时测量出环境中温湿度的实用型温湿度检测仪显得尤为重要。本温湿度检测仪是以AT89S52单片机的为核心控制芯片,该单片机有很好的抗干扰能力、响应速度快。基于此单片机的温湿度检测仪可以实时、准确的测量环境中的温度和相对

2、湿度。本检测仪的硬件部分的设计采用了 0809A/D 转换器以高灵敏度采集湿敏电阻阻值变化,在经过单片机处理得到相应湿度; 单片机直接控制温度传感器DS18B20 对温度实时采集和监控。本仪器还增加了报警装置,用户可根据需要设定温湿度上下限,若当前温湿度超限便会报警。接入独立键盘键盘实现人机交换功能,并用 LCD12864 作为显示设备的硬件设计方案。软件部分则采用模块化的方法将其分成几个部分,然后逐模块设计程序,用 C 语言来实现,使各部分结合起来协调工作,最终实现对环境中温湿度的实时检测。该温湿度检测仪能够基本完成的温湿度检测,但由于个人经验不足等因素,本设计还有一些不足之处,离产品实用还

3、有一定的差距,还有一些方面需要进一步完善。关键词:AT89S52 单片机,A/D 转换器,传感器,LCD,温湿度绥化学院 2011 届本科学生毕业论文更多资料尽在: http:/ 大学生部落-大学生第一门户社区更多资料尽在: http:/ 大学生部落-大学生第一门户社区- 2 -MEASURING INSTRUMENT FOR HUMIDITY BASEED ON AT89S52MICROCONTROLLER ABSTRACT With the development of society, people on the environment of temperature and humidi

4、ty requirements are also increasing, especially in the medical, electronic power, aerospace, food fermentation, such as temperature and humidity in the field of the harsh demands in particular, in view of such a design that Can be precise, stable, real-time measurement of temperature and humidity en

5、vironment to the practical temperature and humidity detector it is particularly important. The temperature and humidity detector is AT89S52 as the core chip, the microcontroller has a very good anti-disturbance capacity, fast response. Based on this MCU temperature and humidity detector can be real-

6、time, accurate measurement of environmental temperature and relative humidity. The detector part of the design of the hardware used to with AT89S52microcontroller as the core of the control devices, with high sensitivity AD0809 colect humidity resistance change then through the MCU handle data acqui

7、sition components for humidity.AT89S52 direct control the DS18B20 obtain now temperature.The device add an alarm,it can set range.if temprature and humidity over limit it will alarming. Analog input keyboard to achieve human-computer interface exchange function and used as an LCD display hardware de

8、sign. The software part is divided into several parts, and then each module design process, with C language to achieve, to combine the various parts of coordination, and eventually realize the environmental temperature and humidity in the real-time detection. The temperature and humidity detector ca

9、n basically complete the temperature and humidity testing, but because of personal factors such as lack of experience, the design of some deficiencies, there are certain practical products from the gap, there are some aspects need to be improved.KEYWORDS:AT89S52MCU,A/Dconversion, Sensor, LCD, Temper

10、ature and 绥化学院 2011 届本科学生毕业论文更多资料尽在: http:/ 大学生部落-大学生第一门户社区更多资料尽在: http:/ 大学生部落-大学生第一门户社区- 3 -humidity目 录前 言.1第 1 章 温湿度检测仪总体技术方案.21.1 温湿度检测仪的主要性能指标及其工作原理.21.1.1 性能指标.21.1.2 温湿度检测仪的工作原理.21.2 温湿度检测仪的硬件设计总体结构方案.31.3 温湿度检测仪应用软件系统的设计方案.31.4 温湿度检测仪 AT89S52 单片机电路的设计.51.5 温湿度检测仪的硬件电路设计.71.5.1 温度检测电路.71.5.2 湿度检测电路.81.5.3 其它模块电路设计.9第 2 章 温湿度检测仪的软件设计.112.1 主程序模块设计.112.2 温湿度检测模块程序设计.122.2.1 温度检测模块程序设计.122.2.2 湿度检测模块程序设计.142.3 键盘扫描和 LCD 显示模块程序设计.192.3.1 键盘扫描.192.3.2 I2 总线程序设计.23结 论.27参考文献.28致 谢.29绥化学院 2011 届本科学生毕业论文更多资料尽在: http:/ 大学生部落-大学生第一门户社区更多资料尽在: http:/ 大学生部落-大学生第一门户社区- 4 -附 录.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

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