摘要
该系统的设计是基于AT89S51单片机和DHT11温湿度传感器来完成温湿度监测和控制功能,能显示当前的实时温度、湿度,并实现升温、降温、加湿、除湿的系统控制。该设计由硬件设计和软件设计两部分构成。硬件设计主要根据控制系统的结构和功能进行硬件选型包括AT89S51单片机、DHT11温湿度传感器、液晶显示屏等。软件程序设计主要包括AT89S51嵌入式程序和上位机程序;其中AT89S51的嵌入式程序其功能是将DHT11芯片采集的温湿度量,转换成AT89S51可识别的数字量,并和显示和控制模块连接,完成监测和控制功能;上位机程序完成了计算机和单片机之间的通信,可将数据在计算机端显示。
The excogitation of the system is on account of AT89S51 microcontroller and DHT11 temperature and humidity transducer. It can monitor and control temperature and humidity. It can display the current real-time temperature and humidity,and realize the system control of heating,cooling,humidifying and dehumidifying. This design consists of hardware design and software design. Hardware design is mainly based on the structure and function of the control system,including AT89S51 single chip computer,DHT11 temperature and humidity transducer,liquid crystal display,etc. The software program design mainly includes AT89S51 embedded program and host computer program. The embedded program of AT89S51 is to convert the temperature and humidity collected by DHT11 chip into the recognizable digital quantity of AT89S51,and connects with the display and control module to complete the monitoring and control function. The host computer program completes the communication between the computer and the single chip computer,and the data can be displayed on the computer side.
作者
倪瑞
张万达
NI Rui;ZHANG Wan-da(College of Automation,Qingdao University,Qingdao 266071,China)
出处
《自动化与仪表》
2019年第5期53-55,共3页
Automation & Instrumentation