摘要
为了解决传统大棚温湿度的人工检测、有线检测和单点检测控制的缺陷,提高大棚温湿度检测效率,设计了一种以nRF24L01芯片为通信核心的大棚温湿度无线控制系统。系统包括主机和4个从机。各个从机使用传感器DHT11采集大棚内对应点的温湿度值,将采集到的数据通过nRF24L01模块按从机编号依次发送到主机。主机先对接收到的温湿度数据进行有效性判断,然后对本轮筛选出的有效值求平均值,最终显示在LCD1602上。若显示值超限则蜂鸣器报警,并通过继电器来控制设备进行大棚温湿度调节。从试验结果来看,系统能够有效地显示和控制大棚的温湿度,并且测试值比人工检测和单点检测的更加准确、高效。
In order to solve the defects of manual detection,wired detection and single point detection control in traditional greenhouse temperature and humidity detection and to improve the efficiency of greenhouse temperature and humidity detection,a wireless control system with nRF24L01 chip as the communication core for greenhouse temperature and humidity is designed.The system consists of a host and four slaves.The sensor DHT11 used for each slave collects the temperature and humidity values of corresponding point in the greenhouse,and sends the collected data to the host by nRF24L01 module according to the slave ID.Firstly,the validity of the received temperature and humidity data is judged.Then,the average values of the valid values screened out in the carrent round are calculated by the host.Finally,all data are displayed on the LCD 1602.The buzzer alarms if the display value exceeds the limit.And,the temperature and the humidity of the greenhouse are regulated through the equipment controlled by relays.The test results show that the system can effectively display and control the temperature and the humidity of greenhouse,and the detected values are more accurate and efficient than those of manual detection and single point detection.
作者
王凯
刘子杰
WANG Kai;LIU Zijie(Department of Information and Intelligent Engineering,Shanghai Publishing and Printing College,Shanghai 200093,China;College of Optical-Electrical Information and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《自动化仪表》
CAS
2021年第12期86-89,99,共5页
Process Automation Instrumentation