没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机温湿监测系统的设计---毕业设计(论文).doc
0 下载量 5 浏览量
2023-07-06
03:03:10
上传
评论
收藏 223KB DOC 举报
温馨提示
试读
28页
基于单片机温湿监测系统的设计---毕业设计(论文).doc
资源推荐
资源详情
资源评论
I
摘 要
当今现代化建设和国民经济发展迅速。社会对生产环境和生活环境意识的要求也越
来越高。人们的日常生活和周围环境的温湿度息息相关,石油、化工、航天、制药、档
案保管、粮食存储等领域对温湿度也有着较高的要求。因此,对温湿度的监测已成为生
产过程中非常重要的技术。
为满足人们生产要求和人们对居住条件需求,本文设计了以 AT89S52 单片机为控
制核心,配合 DS18B20 温度传感器和 DH11 湿度传感器以及数码管显示和按键输入的
人机界面以及串行通信接口等外围电路组成的温湿度监测装置。在应用时,本装置既可
以单机工作,也可以和其他设备联机工作,组成环境控制系统。在工作时,可以通过人
手动和上位计算机命令对本设备进行设置;人员可以通过数码管和蜂鸣器等人机接口,
实时地了解所处环境的温度和湿度情况,并采取相应的措施;采集到的数据也可以通过
通信接口上传给温度湿度调节装置,来控制所处环境的温湿度。
本装置结合现场的相关温湿度调控设备实现对现场温湿度的监测与自动控制,从而
实现了温湿度监测的智能化、自动化、系统化。为石油、化工、航天、制药、档案保管、
粮食存储等温湿度监测提供全面、实用的系统解决方案,有广泛的应用价值和较高的经
济价值。
关键词:AT89S52 单片机;DS18B20;DH11 湿度传感器;人机接口
II
Abstract
Nowadays, the development of national economy and the construction of modernization
quickly. Society are increasingly high requirements of the production environment and living
environment consciousness of. Is closely related to people's daily life and the surrounding
environment temperature and humidity, petroleum, chemical, aerospace, pharmaceuticals, file
storage, food storage areas of temperature and humidity also has a higher requirements.
Therefore, the monitoring of temperature and humidity has become technology in the
production process is very important.
In order to meet the production requirements of people and people demand for housing,
this paper designs the AT89S52 SCM as the control core, with DS18B20 temperature sensor
and DH11 humidity sensor and digital tube display and keyboard input interface and serial
communication interface and peripheral circuit of temperature and humidity monitoring
device. In the application, the device can work alone, and other equipment to work online
environment control system is formed. In the work, you can set up the equipment by manual
and computer command; personnel can through digital tube and a buzzer, such as
man-machine interface, real-time understanding of the Temperature and humidity of the
environment, and take the corresponding measures; the collected data can also be uploaded to
the temperature and humidity control device through the communication interface, to control
the temperature and humidity of the environment.
The device combined with the site related to temperature and humidity control
equipment to achieve on site temperature and humidity monitoring and automatic control,
thus realizing the intelligent temperature and humidity monitoring, automation, system. For
the oil, chemical, aerospace, pharmaceuticals, file storage, food storage temperature and
humidity monitoring provide comprehensive and practical system solutions, extensive
application value and high economic value.
Key words: AT89S52; DS18B20; DH11 humidity sensor; human computer interface
III
目 录
摘 要 .....................................................................................................................................I
Abstract ......................................................................................................................................II
第 1 章 概述...............................................................................................................................1
1.1 引言..............................................................................................................................1
1.2 国内外温度湿度技术及其发展趋势..........................................................................1
1.3 单片机技术发展..........................................................................................................1
第 2 章 系统总体设计方案.......................................................................................................2
2.1 本文完成的主要内容..................................................................................................2
2.1.1 硬件完成工作...................................................................................................2
2.1.2 软件完成的工作...............................................................................................2
2.2 系统功能设计..............................................................................................................3
第 3 章 系统硬件设计...............................................................................................................4
3.1 系统总体原理框图......................................................................................................5
3.2 DS18B20 温度传感器..................................................................................................5
3.2.1 特点...................................................................................................................5
3.2.2 工作原理...........................................................................................................5
3.2.3 电路设计...........................................................................................................5
3.3 DH11 湿度传感器........................................................................................................5
3.3.1 特点...................................................................................................................5
3.3.2 工作原理...........................................................................................................5
3.3.3 电路设计...........................................................................................................5
3.4 人机界面设计..............................................................................................................5
3.4.1 数码管显示电路设计.......................................................................................5
3.2.2 按键电路设计...................................................................................................5
3.2.3 蜂鸣器报警电路设计.......................................................................................5
3.5 通信电路设计..............................................................................................................6
3.5.1 通信方式选择...................................................................................................6
3.5.2 MAX232-C 芯片的特点 ...................................................................................6
3.5.3 通信接口电路设计...........................................................................................6
3.6 时钟与复位电路的设计..............................................................................................6
3.6.1 时钟电路...........................................................................................................6
3.6.2 复位电路...........................................................................................................6
IV
第 4 章 系统软件设计...............................................................................................................7
4.1 系统软件总体设计......................................................................................................8
4.2 主程序设计..................................................................................................................8
4.3 数据采集子程序设计..................................................................................................8
3.4 人机界面子程序设计..................................................................................................8
3.5 通信子程序设计..........................................................................................................8
第 5 章 结束语...........................................................................................................................9
参 考 文 献.....................................................................................................................10
致 谢...................................................................................................................................11
附 录...................................................................................................................................12
V
基于单片机温湿监测系统的设计
摘要:当今现代化建设和国民经济发展迅速。社会对生产环境和生活环境意识的要
求也越来越高。人们的日常生活和周围环境的温湿度息息相关,石油、化工、航天、制
药、档案保管、粮食存储等领域对温湿度也有着较高的要求。因此,对温湿度的监测已
成为生产过程中非常重要的技术。
为满足人们生产要求和人们对居住条件需求,本文设计了以 AT89S52 单片机为控
制核心,配合 DS18B20 温度传感器和 DH11 湿度传感器以及数码管显示和按键输入的
人机界面以及串行通信接口等外围电路组成的温湿度监测装置。在应用时,本装置既可
以单机工作,也可以和其他设备联机工作,组成环境控制系统。在工作时,可以通过人
手动和上位计算机命令对本设备进行设置;人员可以通过数码管和蜂鸣器等人机接口,
实时地了解所处环境的温度和湿度情况,并采取相应的措施;采集到的数据也可以通过
通信接口上传给温度湿度调节装置,来控制所处环境的温湿度。
本装置结合现场的相关温湿度调控设备实现对现场温湿度的监测与自动控制,从而
实现了温湿度监测的智能化、自动化、系统化。为石油、化工、航天、制药、档案保管、
粮食存储等温湿度监测提供全面、实用的系统解决方案,有广泛的应用价值和较高的经
济价值。
关键词:AT89S52 单片机;DS18B20;DH11 湿度传感器;人机接口
剩余27页未读,继续阅读
资源评论
xinkai1688
- 粉丝: 335
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功