湿度和温度检测报警系统设计(含原理图,程序清单)(任务书,开题报告,论文11800字)
摘要;本作品采用MSC-51系列单片机中的AT89S51和DHT11的温湿度的检测系统。数字化温湿度检测的方式为一旦环境中的温湿度发生变化时,也是在教学过程中用的比较多的单片机,之后通过单片机的各外部接口电路连接到LCD1602显示屏显示该温湿度值。温湿度的操控是我们研究的主要内容。其中测温湿度操控电路由温湿度传感器和预设温度值比较报警电路组成,其次我们才能够对此做出更好的判断,传感器向中央操控系统输送监测信息,传感器包括一个电阻式感湿原件和一个NTC测温元件,以达到最适宜的温湿度,以求更好的解决用户所需要的问题。
本次设计采用的DHT11温湿度传感器是一款含有已校准数字输出的温湿度复合传感器,具有一定的实用价值。软件部分包括了主程序、显示子程序、测温湿度子程序。
关键词:温湿度检测仪 AT89S51单片机 DHT11温湿度传感器
Temperature and humidity detection alarm system
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 humidity
The design uses the DHT11 temperature and humidity sensors is a digital output with a calibrated temperature and humidity combined sensor, the sensor includes a resistance and a sense of the original wet NTC temperature measurement devices, and with a high-performance 8-bit microcontroller connected. Therefore the product has excellent quality fast response anti-interference ability high cost and other advantages. AT89S51 is a low consumption of item-level high-performance CMOS8 bit microcontroller because of its powerful features and low price. so use it in many fields.
Key words:Temperature measurement Humidity measurement AT89S51 DHT11
本文研究的目的
为满足现代家庭对于居住环境温湿度的不同需求,发出报警信号(蜂鸣器蜂鸣)。单片机AT89S51是一款低消耗、高性能的CMOS8位单片机,对采集到的信号单片机进行滤波处理并通过查表得到实际测量的湿度值[1],对于不利情况能够及时的作出显示,因此在作品中选择了AT89S51单片机。因此该产品具有品质卓越、超快响应、抗干扰能力强、便宜耐用等优点。
目 录
摘要 2
1 引言 4
1.1 问题的提出 4
1.2 研究的意义 4
1.3 国内外现状 4
1.4 本文研究的目的和研究方向 5
1.5 本文研究的主要内容 5
2 工具简介 6
2.2 Proteus 7
2.3 Protel 7
3 设计任务分析及方案论证 9
3.1 设计任务要求和温湿度操控的发展 9
3.2 设计总体方案及其方案论证 10
3.3 器件选定 11
4 硬件设计 22
4.1 主操控电路和测温时操控电路 22
4.2 主要模块的电路 23
4.3 系统的蜂鸣器电路 23
4.4 晶振电路 23
4.5 显示电路 24
4.6 传感器电路 25
4.7 复位电路 25
5 软件设计 27
5.1 系统流程图 27
5.2 编程思想 28
结 论 29
参考文献 30
源程序 31
原理图 42