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

上传人:aa****6 文档编号:38186504 上传时间:2018-04-28 格式:DOC 页数:58 大小:765.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、毕业论文- 1 -基于 AT89S52 单片机的温湿度检测仪摘 要随着社会的发展,人们对环境中的温度和湿度的要求也越来越高,尤其是在医学、电子电力、航天航空、食品发酵等领域中对温湿度的要求尤其严格,鉴于如此设计出一个能够精确、稳定、实时测量出环境中温湿度的实用型温湿度检测仪显得尤为重要。本温湿度检测仪是以AT89S52单片机的为核心控制芯片,该单片机有很好的抗干扰能力、响应速度快。基于此单片机的温湿度检测仪可以实时、准确的测量环境中的温度和相对湿度。本检测仪的硬件部分的设计采用了 0809A/D 转换器以高灵敏度采集湿敏电阻阻值变化,在经过单片机处理得到相应湿度; 单片机直接控制温度传感器DS

2、18B20 对温度实时采集和监控。本仪器还增加了报警装置,用户可根据需要设定温湿度上下限,若当前温湿度超限便会报警。接入独立键盘键盘实现人机交换功能,并用 LCD12864 作为显示设备的硬件设计方案。软件部分则采用模块化的方法将其分成几个部分,然后逐模块设计程序,用 C 语言来实现,使各部分结合起来协调工作,最终实现对环境中温湿度的实时检测。该温湿度检测仪能够基本完成的温湿度检测,但由于个人经验不足等因素,本设计还有一些不足之处,离产品实用还有一定的差距,还有一些方面需要进一步完善。关键词:AT89S52 单片机,A/D 转换器,传感器,LCD,温湿度毕业论文- 2 -MEASURING I

3、NSTRUMENT FOR HUMIDITY BASEED ON AT89S52MICROCONTROLLER ABSTRACT With the development of society, people on the environment of temperature and humidity requirements are also increasing, especially in the medical, electronic power, aerospace, food fermentation, such as temperature and humidity in the

4、 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 environment to the practical temperature and humidity detector it is particularly important. The temperature and humidity detector is AT89S52 as the core

5、 chip, the microcontroller has a very good anti-disturbance capacity, fast response. Based on this MCU temperature and humidity detector can be real-time, accurate measurement of environmental temperature and relative humidity. The detector part of the design of the hardware used to with AT89S52micr

6、ocontroller as the core of the control devices, with high sensitivity AD0809 colect humidity resistance change then through the MCU handle data acquisition components for humidity.AT89S52 direct control the DS18B20 obtain now temperature.The device add an alarm,it can set range.if temprature and hum

7、idity over limit it will alarming. Analog input keyboard to achieve human-computer interface exchange function and used as an LCD display hardware design. 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

8、 coordination, and eventually realize the environmental temperature and humidity in the real-time detection. The temperature and humidity detector can basically complete the temperature and humidity testing, but because of personal factors such as lack of experience, the design of some deficiencies,

9、 there are certain practical products from the gap, there are some aspects need to be improved.KEYWORDS:AT89S52MCU,A/Dconversion, Sensor, LCD, Temperature and humidity毕业论文- 3 -目 录前 言.1第 1 章 温湿度检测仪总体技术方案.21.1 温湿度检测仪的主要性能指标及其工作原理.21.1.1 性能指标.21.1.2 温湿度检测仪的工作原理.21.2 温湿度检测仪的硬件设计总体结构方案.31.3 温湿度检测仪应用软件系统的

10、设计方案.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附 录.30IV前 言在日常实际生产生活中,科研、农业、暖通、纺织、机房、

11、航空航天、电力等工业部门对产品质量的要求越来越高,对环境温、湿度的控制以及对工业材料 的水分 值的监测与分析都已成为比较普遍的技术条件之一。随着科技的进步,检测仪表也向着智能化、小型化、低功耗的方向发展。在这个发展过程中,以单片机为核心控制器的温湿度检测以体积小、操作简单、性能稳定、测量精度高等诸多有点正逐步进入生产生活的各个方面。本文介绍的湿度检测仪就是以 AT89S52 单片机作为核心控制器设计的,它具有体积小、操作简单、性能稳定、测量精度高和抗干扰能力强等优点,可广泛应用于需要对温湿度进行测控的领域中。先根据实际生产生活的需要提出温湿度检测仪的设计功能要求,然后由这些具体要求和现有的设计条件设计出了适合的硬件原理图,尽量采用模块化的方法将其分成几个部分,然后分模块设计程序,最使各部分结合起来协调工作,实现功能要求。它是以单片机的在控制方面的突出优势,

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

当前位置:首页 > 学术论文 > 毕业论文

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