摘要
本文以STC89C52单片机为主控制器,应用温湿度传感器、土壤传感器、光照强度传感器以及Wifi模块等外围设备。通过传感器测量温室大棚中的室内环境参数,并与预设值进行比较,实时监测温室大棚中的各个环境参数。若当前值与预设值比较,当前值没有在预设值的范围内,则蜂鸣器报警,LED灯闪烁,并且外围设备自动打开,进行相应的工作。同时网络平台监测环境参数,当环境参数发生变换的时候,可实现网络平台对于外围设备的启停工作;最后,通过硬件设计和软件编程,实现了基于微信平台的温室大棚监测系统设计,达到预期效果。
This design is based on the intelligent monitoring system of greenhouse based on single-chip computer.The main controller is STC89C52 single-chip computer.It is composed of temperature and humidity sensor,soil sensor,light intensity sensor and Wifi module.the indoor environmental parameters of greenhouse are measured by the sensors and compared with the preset values.If the system works normally in the range,the environmental parameters of greenhouse are monitored in real time.If the current value is not in the range of the preset value compared with the preset value,buzzer alarms,LED lights flashing,and peripheral devices automatically open to do the corresponding work.At the same time,the network platform monitors the environmental parameters.When the environmental parameters change,the network platform can start and stop the peripheral equipment.Finally,through hardware design and software programming,the intelligent monitoring system design of greenhouse is realized,and the expected effect is achieved.
作者
孙红强
陈嘉旭
曹宇轩
张鑫
Sun Hongqiang;Chen Jiaxu;Cao Yuxuan;Zhang Xin(Xjjing University,Xi’an Shaanxi,710123)
出处
《电子测试》
2020年第3期74-75,共2页
Electronic Test
关键词
STC89C52单片机
温湿度监测
光照强度监测
土壤监测
网络平台
STC89C52 MCU
Temperature and Humidity Monitoring
Illumination Intensity Monitoring
Soil Monitoring
Network Platform