基于云服务的大棚温湿度远程监控系统研究
2018-07-27段萍高雪朱志辉
段萍 高雪 朱志辉
摘 要: 针对传统农业大棚管理效率低下的问题,在此设计一套基于云服务的大棚温湿度远程监控系统。该系统在大棚监控区域内设置检测节点,检测节点采用树莓派为核心控制板,利用MQTT协议实现DHT11模块对监控区域内温湿度环境参数的采集,并将采集到的数据存放在云服务器当中进行分析。同时管理人员可以通过监控客户端的上位机观测到分析结果,并对大棚环境进行反馈控制,通过这样的远程监控方式可以使大棚内的农作物一直处在适宜状态的生活环境中。经测试结果表明,该系统运行正常,切实可行,满足现代农业的发展需要。
关键词: 云服务; 树莓派; MQTT协议; 远程监控; 农业大棚管理; 现代农业
中图分类号: TN948.64?34; TP277 文献标识码: A 文章编号: 1004?373X(2018)14?0178?04
Research of greenhouse temperature and humidity remote monitoring
system based on cloud service
DUAN Ping, GAO Xue, ZHU Zhihui
(School of Mechanical Engineering, Hebei University of Technology, Tianjin 300132, China)
Abstract: In allusion to the problem of low management efficiency of the traditional agricultural greenhouse, a greenhouse temperature and humidity remote monitoring system based on cloud service is designed. In the system, the detection nodes with the raspberry pi as the core control board are set in the monitoring area of the greenhouse, the MQTT protocol is employed to realize the DHT11 module′s acquisition of temperature and humidity environmental parameters of the monitoring area, and the collected data is stored in the cloud server for analysis. Management personnel can observe the analysis results by monitoring the upper computer in the client terminal, and conduct feedback control of the greenhouse environment. Such a remote monitoring pattern can ensure that the crops in the greenhouse grow in a living environment with suitable conditions. The test results show that the system runs normally, is feasible, and can meet the development requirement of modern agriculture.
Keywords: cloud service; raspberry pi; MQTT protocol; remote monitoring; agricultural greenhouse management; modern agriculture
0 引 言
我国是农业大国,农业生产的质量对我国具有非常重要的意义,但是通过一段时间的实际调研考察,意识到我国农业大棚发展比较晚,农业大棚的发展状况还没有完全智能化,云控制技术没有普及到农业生产中,致使农业生产效率低下。
將云服务应用到农业环境的监控中来,可以更高效地管理环境状况[1?3]。云计算作为一种全新的网络服务模式,具有海量存储、分配计算、动态扩展、系统可靠性高等特点[4?5]。企业可以通过云计算的方式在云端构建一个数据存储和处理分析中心,把数据的存储和分析等任务全部交给云端来完成。
我国的云服务在农业方面的应用还有待挖掘与普及。……
