摘要:温度、湿度与人们的农产、居家有着十分密不可分的关系,特别是在航空、电力、医学等方面。如今跟着生活水平提高,人们对越来越重视自身生活的环境。而空气里温湿度直接影响着人体的健康、舒适度和心情,因此对于温湿度的检测以及控制就极其重要了。本设计由单片机、温湿度检测电路、LCD显示电路及报警电路等构成成了整个系统。系统通过温湿度检测电路,把采集到的信号传给单片机,通过单片机来处理采集到的信号并通过LCD显示出来,一旦温度和湿度过低或过高,就会有报警电路发出及时的警报,体现了温湿度测量系统的便捷、智能等。这样的设计不仅结构简单,抗扰能力好,功耗低,总的性能好。91045
毕业论文关键词:温湿度检测系统,STC89C52单片机,温湿度传感器
Abstract: Temperature and humidity are inextricably linked with people's agricultural production, especially in aviation, electricity, medicine and so on。 Now people with the improvement of living standards, more and more attention to their own living environment。 The air temperature and humidity directly affect the health of the human body, comfort and mood, so the temperature and humidity detection and control is extremely important。 The design by the microcontroller, temperature and humidity detection circuit, LCD display circuit and alarm circuit composed of the entire system。 System through the temperature and humidity detection circuit, the collected signal to the microcontroller, through the microcontroller to deal with the collected signal and displayed through the LCD, once the temperature and humidity is too low or too high, there will be alarm circuit issued a timely alarm, Reflect the temperature and humidity measurement system convenient, intelligent and so on。 This design is not only simple structure, good anti-interference ability, low power consumption, the overall performance is good。
Keywords: temperature and humidity detection system, STC89C52 microcontroller, temperature and humidity sensor
目 录
1。绪论 1
2。系统设计方案 1
2。1系统框架 1
2。2器件选择 1
2。2。1温湿度测量器件的选择 1
2。2。2显示器件的选择 2
3。硬件设计 2
3。1单片机最小系统 2
3。1。1 晶振电路 3
3。1。2复位电路 3
3。2 DHT11传感器电路 4
3。2。1 DHT11简介 4
3。2。2 接口说明 4
3。3。3 DHT11模块电路图 7
3。3 LCD液晶显示电路 7
3。3。1 1602液晶简介 7
3。3。2 液晶显示模块电路 8
3。4 蜂鸣器模块 9
3。5 按键输入模块 10
3。6 LED显示电路 10
4。软件设计 11
4。1系统程序流程图 11
4。2温湿度读取模块 13