The rapid development of information technology has promoted the adjustment of industrial structure in all walks of life.In agricultural production,information technology is also playing a more and more important role.China is a big country with a large population.Food is the most important thing for the people.The healthy development of agriculture is directly related to the table quality of 1.4 billion people.As one of the important agricultural production modes,intelligent agricultural greenhouses can effectively improve the management level of greenhouses and the growth level of crops.It is an effective way to improve the land utilization rate and solve the contradiction between more people and less land.It can be predicted that intelligent agricultural greenhouses based on wireless sensor network technology will be the new trend of agricultural greenhouses for a long time in the future,which meets the requirements of agricultural development in the Internet era.However,the development of intelligent greenhouse in China is deeply influenced by traditional agriculture.Most of the intelligent greenhouse is not high,and the structure is complex,the cost is expensive,and the research and development cycle is long.Taking this as the starting point,this paper focuses on the characteristics of the current intelligent agricultural greenhouse technology,and designs a greenhouse monitoring system based on wireless sensor network,which realizes the real-time monitoring and remote control of environmental factors in greenhouses.The system is divided into two parts: the lower computer and the upper computer.The lower computer is responsible for data acquisition and the upper computer is responsible for data monitoring and environmental regulation.In the lower computer,the wireless sensor network consists of coordinator node,routing node and terminal node.In terms of hardware design,all nodes of adopt CC2530 chip as the main control chip of the node,among which the terminal node is equipped with DH11 temperature and humidity sensor,MQ-7 carbon monoxide sensor and light intensity sensor as the hardware solution of the terminal acquisition node.The ESP8266 Io T chip is used as the hardware solution of the coordinator node.The software design of the lower computer mainly uses the ZigBee protocol stack source code Zstack written by TI company to achieve each function node.The upper computer mainly uses the Internet of things cloud platform technology and Web development technology to realize the development of the upper computer monitoring application platform.Mainly designed the OneNET cloud platform monitoring application,associated mobile client and third-party Web application side three monitoring application platform,mainly the functions are: data real-time monitoring function,abnormal alarm function,history data management function,system background management function,temperature early warning function,environmental factor,automatic control function.With the help of multiple monitoring application platforms,users can monitor and control the greenhouse environment remotely anytime and anywhere.In addition,a temperature prediction model based on PCA_BP combination algorithm was proposed to solve the lag problem of temperature control in greenhouse.Model considers the coupling effect between agricultural greenhouses each environmental factor and the temperature of the impact of changes in temperature lag,the prediction model is trained by the measured data,the use of training to get the best prediction model to predict in advance to the next moment the temperature change of the situation,according to the forecast in the form of text messages in a timely manner to the prediction of shed users to send.It is convenient for users to control the temperature in advance.The experimental results show that the temperature prediction model based on PCA_BP combination algorithm has a good effect on the greenhouse temperature prediction,which brings convenience for the temperature control in advance. |