| In modern society,people pursue a reasonable diet and demand more and more health foods,especially fruits and vegetables.The cultivation of fruits and vegetables is mainly through greenhouses to provide the growing environment.However,traditional greenhouses cannot achieve real-time monitoring and regulation for the growing environment of fruits and vegetables,and most of them artificially complete the operations such as ventilation,shade,and irrigation,which increases people’s labor burden and costs.The application of Internet of Things technology in agricultural greenhouses can timely know and automatically adjust the growth environment of fruits and vegetables through real-time detection of its temperature,humidity,CO2 concentration,light and other conditions,which can reduce more labor costs and make the modern agriculture,science and technology agriculture come true.In this paper,a new type of agricultural greenhouse monitoring and control system is designed with the actual agricultural production.The system uses Zigbee wireless communication technology to transmit the data of the greenhouse environmental,which collect through sensors in real time,to the ARM main controller.As the field control terminal,the main controller has a humanized human-computer interaction interface,which can display,analyze,and process data,and send data to PC and mobile phone APP through network,and store data by SQL Server database.The design realizes the display and control unit of "three-terminal",which include the main controller terminal,PC client and Mobile terminal,and controls the work of ventilation,irrigation,rolling shutters modules through the issuing of instructions in reverse wireless transmission which based on the analysis of data.It is strong practicality and convenience.The main work and achievements of the paper are as follows:(1)Each sensor module is used as a detection node for data collection,and Zigbee wireless transmission technology is used as a networking method for data transmission to complete the information exchange of Zigbee terminal,Zigbee coordinator,and ARM host controller.(2)The main controller based on the ARM Contex-A9 processor is used as the core server and equipped with an Android system,which finishes the work of the display of the greenhouse data through the human-computer interaction interface and the control of each module,what’s more,it makes information exchange of multi-client come true by utilizing the technology of multi-threading.(3)PC client adopts the technology of Java Swing to provide friendly interface for administrators,it realizes real-time monitoring and effective management of greenhouse environment,and upload real-time data to SQL Server database through JDBC technology,so the growth situation of the crop can be analyzed by the pass historical data of greenhouse was.(4)As the Mobile terminal,the APP is developed by the technology of mobile application Android.The whole system achieves the display and control of the three-end. |