当前位置:首页 > 基于单片机的温湿度检测毕业论文
。
基于单片机环境温湿度
测量系统设计
课程: 现代检测技术 学院: 信息工程学院 专业: 计算机科学与技术 学号: xxxxxxxxxx 姓名: xxx 老师: 冯晓明
-可编辑修改-
。
基于单片机环境温湿度测量系统设计
摘要
在工农业生产和日常生活中,需要了解温湿度等各种参数。一此对环境温度要求比较高的场合,都必须严格的控制环境的温度与湿度,让其保持在一定的范围内。本次设计选用的温湿度传感器为DHT11,时间处理芯片为DS1302,采用AT89S52作为系统的控制核心,4位7段数码管作为系统的显示,并有报警电路,当系统超过设定的温度范围时,启动报警。用户可以通过按键自行设定报警温度的范围。
关键字:温湿度传感器 DHT11 AT89S52
-可编辑修改-
。
Abstracts
In the industrial and agricultural production and daily life, need to know various parameters such as temperature and humidity. One of the environment temperature more demanding occasions, must be strictly control the environment temperature and humidity, let it in a certain range. This design selection the temperature and humidity DHT11,and use the chip DS1302 to process the time .As the control system using AT89S52 devices core, four 7 period of digital tube as system shows, and have the alarming circuit, when the system more than set temperature range, start alarm. The user can through the keys set alarm temperature range.
Key words: Temperature and humidity sensor DHT11 DS1302 AT89S52
-可编辑修改-
。
1绪论 ................................................................................................................................... 1
1.1温度、湿度简介 ...................................................................................................... 1 1.2 温度与湿度与人们日常生活的关系 ........................................................................ 1 1.3温湿度的行业应用 ................................................................................................... 1 1.4温湿度传感器使用注意事项 .................................................................................... 2 二、系统总体方案 ................................................................................................................ 2
2.1 系统总体方案原理框图 ........................................................................................... 2 2.2系统方案简介 .......................................................................................................... 3 三、硬件电路设计 ................................................................................................................ 3
3.1电源电路设计 .......................................................................................................... 3 3.2 单片机最小系统设计 .............................................................................................. 5 3.3显示电路设计 ........................................................................................................ 6 3.4 温湿度传感器电路设计 ........................................................................................... 8 3.5 DS1302电路设计 ............................................................................................... 10 3.6按键输入电路设计 ................................................................................................. 11 3.7 报警电路设计 ....................................................................................................... 13 四、程序设计 ..................................................................................................................... 13
4.1 系统程序流程图 .................................................................................................... 13 4.2 DHT11程序设计 ................................................................................................... 14 4.3 DS1302程序设计 ................................................................................................. 15 五、系统仿真与调试 .......................................................................................................... 16
5.1 protues简介.......................................................................................................... 16 5.2 DHT11仿真图 ...................................................................................................... 17 5.3 DS1302仿真 ........................................................................................................ 17 5.4系统调试 ............................................................................................................... 18 六、数据的获取与分析 ....................................................................................................... 18
6.1实验内容 ............................................................................................................... 18 6.2实验结果与讨论 .................................................................................................... 19
-可编辑修改-
共分享92篇相关文档