基于DHT11传感器的机房温湿度控制系统设计
2020-01-03徐鑫秀赵士原
徐鑫秀 赵士原



摘 要:机房内电子设备工作的稳定性关系着整个网络的通信性能,这些设备的性能受多种因素影响,其中温湿度的变化是影响电子设备性能的一个关键因素,而机房内的温湿度不仅受自然环境影响,也会受到电子设备和线路本身在长时间工作情况下散发的大量热能的影响。因此,基于DHT11传感器设计一款机房温湿度控制系统,实时检测并调节机房内温湿度,不仅利于保障通信网络的安全可靠,还能节约能源,该系统具有运行可靠、性价比高的优势。
关键词:通信机房;温湿度检测;STC89C52单片机;DHT11
Abstract:The stability of the electronic device in the computer room work relations to the entire network of communication performance,the performance of these devices are influenced by many factors,including the change of temperature and humidity is one of the key factors influencing the performances of electronic equipment,and the room is not only affected by the natural environment of temperature and humidity,electronic devices and circuit itself under the condition of long time work also will send out a lot of heat. Therefore,the design of a temperature and humidity control system in the computer room based on the DHT11 sensor and the real-time detection and adjustment of temperature and humidity in the computer room are not only conducive to ensuring the safety and reliability of the communication network,but also can save energy. The system has the advantages of reliable operation and high cost performance.
Keywords:communication room;temperature and humidity detection;STC89C52 MCU;DHT11
0 引 言
隨着校园网络化、智能化建设的不断深入,通信机房内仪器设备的工作状态对于整个校园信息网运行畅通越来越重要,设计人员对通信机房内的环境提出了越来越苛刻的要求[1],尤其是对机房内的温湿度、洁净度以及空气的流速等参数进行调节控制是现代通信机房的必然要求。本文正是为了实现对机房内实时温湿度数据进行采集和调节而设计了一种温湿度控制系统,该系统选择DHT11传感器采集室内实时的温湿度数据,然后用风扇、空调等对室内温湿度进行实时的调节操作,通过在本校系部机房的实际使用检验,该系统基本能够满足小型机房的温湿度调节要求。
1 系统设计要求
本系统设计要求利用传感器对机房室内温湿度进行实时的数据检测,把所获得的温湿度数据传送到单片机系统和预设的温湿度上下限数值来进行比较,并把测得的数据传送给显示屏,让其显示所测出的实时数据,只要实时数值比自己提前设置好的值高或者较低的时候,就要打开空调或者风扇,并把信息发送到远程界面。……
