当前位置:文档之家› 基于单片机温湿度控制系统的设计

基于单片机温湿度控制系统的设计

关键词:温湿度;DHT11;单片机;STC89C52
ABSTRACT
The design for temperature and humidity testing microcontroller-based control system is modular, hierarchical design. DHT11 achieve detection and control of temperature, humidity, temperature and humidity sensor with a new type of intelligent. The temperature and humidity signals collected through the sensor and converted into a digital signal, and then use the the microcontroller STC89C52 for data analysis and processing, providing a signal for display, a display portion using the character LCD1602 LCD display. Control led lights lit off analog control. The system has a simple circuit, high integration, stable, convenient debugging, high detection accuracy has some practical value. The DHT11 temperature measurement accuracy of the humidity sensor design used in the system: temperature detection range: 0 ~ 50℃measurement accuracy: ±1 ° C Humidity measuring range: 20 ~ 90% RH detection accuracy: ±1% RH input voltage of the entire system is the +5 V electrical, system temperature and humidity data collected byDHT11transmission to the microcontroller control system can eventually achieve single-chip temperature and humidity control. The whole system mainly consists of data acquisition (DHT11) microcontroller minimum system (STC89C52, clock circuit, reset circuit), display circuit (LCD1602) LED light-emitting tube and button control circuit. Lower limit through key settings preset temperature and humidity, temperature and humidity data into the microcontroller is divided into two: all the way to the display circuit displays the current temperature and humidity, all the way to give the microcontroller processing, after processing the transmitted signal to the corresponding LED lights, LED lights to mimic external temperature cooling device with humidification dehumidification equipment to this system, it can control the temperature and humidity. Understand the clear understanding to take a two-line display temperature and humidity.
基于单片机温湿度控制系统的设计
学院:电子信息工程学院
专业:电子信息ቤተ መጻሕፍቲ ባይዱ学与技术
年级:
学生姓名:
学号:
导师及职称:(副教授)
20年月
摘要
本设计为基于单片机的温湿度检测控制系统,采用模块化、层次化设计。用新型的智能温湿度传感器DHT11实现对温度、湿度的检测以及相应的控制。将温湿度信号通过传感器进行采集并转换成数字信号,再运用单片机STC89C52进行数据分析和处理,为显示提供信号,显示部分采用字符型LCD1602液晶显示器。控制部分采用LED灯的亮灭模拟控制。本系统电路简单、集成度高、工作稳定、调试方便、检测精度高,具有一定的实用价值。本系统中所设计的所使用的DHT11温度湿度传感器测量精度为:温度检测范围:0~50℃;湿度检测范围:20~90%RH。整个系统输入电压为+5V电,系统通过DHT11采集温度湿度数据,传输给单片机控制系统最终可以实现单片机对温度湿度的控制。整个系统主要由数据采集(DHT11)单片机最小系统(STC89C52、时钟电路、复位电路)、显示电路(LCD1602)、LED发光管和按键控制电路组成。通过按键设置预置温度湿度上下限后,温度湿度数据进入单片机分成两路:一路送给显示电路显示当前温湿度,一路送给单片机处理,经过处理后传输信号给相应的LED灯,LED灯模仿外部升温降温设备与加湿除湿设备,在显示温度湿度时采取双行显示,明白了然。系统实现温、湿度控制。
相关主题