- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机地温湿度监测与控制
摘 要
本次设计是采用 MSC-51 系列单片机中地 AT89S51 和 DHT11 地低成本地温湿度地检
测系统 .本设计主要包括硬件电路地设计和系统软件地设计 .硬件电路主要包括单片机、温湿
度传感器、显示模块、报警器以及键盘等 5 部分,由 DHT11 温湿度传感器及 1602 字符型
液晶模块构成系统显示模块,该系统电路简单、工作稳定、集成度高,调试方便,测试精
度高,具有一定地实用价值 .其中测温湿度控制电路由温湿度传感器和预设温度值比较报警
电路组成,用户根据需要预先输入预设值,当实际测量地温湿度大于预设地温湿度数值
时,发出报警信号(蜂鸣器蜂鸣) .软件部分包括了主程序、显示子程序、测温湿度子程序 .
本次设计采用地 DHT11 温湿度传感器是一款含有已校准数字输出地温湿度复合传感
器,传感器包括一个电阻式感湿原件和一个 NTC 测温元件,并与一个高性能地 8 位单片机
相连接 .因此该产品具有品质卓越、超快响应、抗干扰能力强、性价比极高等优点 .单片机
AT89S51 是一款低消耗、高性能地 CMOS8 位单片机,由于它强大地功能和低价位,因此
在很多领域都是用它 .
【关键词】 温度测量 湿度测量 AT89S51 DHT11
ABSTRACT
This design is the use of MSC-51 Series MCU AT89S51 and DHT11 in the low-cost
temperature and humidity detection system. This design includes the design of hardware and
system software design. Hardware circuit includes a microcontroller, temperature and humidity
sensors, display module, the alarm and the keyboard 5, the DHT11 temperature and humidity
sensor and 1602 constitute a system of character LCD module display module, the system circuit
is simple, stable, high integration, commissioning Convenient, high precision, has some practical
value. Temperature and humidity control circuit in which the temperature and humidity sensors
and compare the value of the preset temperature alarm circuit, the user input required pre-default
value, when the actual temperature and humidity measurements of temperature and humidity is
greater than the preset value, an alarm signal (bee Buzzer beep). Software part includes the main
program, display routines, subroutines side temperature and h
文档评论(0)