| With the continuous development of science and technology,large-scale clusters such as the production of crops have emerged.In modern agricultural production,the use of science and technology to intervene in the production of crops is a means of modernizing production and production.Traditional greenhouses can no longer meet the growing needs of existing agricultural crops.The traditional greenhouse cultivation technology has many disadvantages,such as low yield,low cost,high maintenance,and large weather influences,and it cannot be remotely monitored.In order to increase crop yields,lower production costs and improve environmental efficiency.Using modern artificial intelligence technology and convenient network communication technology,an intelligent greenhouse system capable of remote monitoring and real-time detection of environmental factors was designed.The main work of this article is as follows:1.The project has studied greenhouse design technologies at home and abroad.The overall scheme of the system was designed.The greenhouse system includes a main control circuit module,a greenhouse control module,and a sensor control module.The main control chip used in system hardware design includes STM32F407,STC12C5A60S2,and STC12C4502 AD.The STM32F407 main function receives the data information sent by the STC12C5A60S2 microcontroller and sends the data to the PC host computer.The system design STC12C5A60S2 micro controller control panel in the greenhouse,control the function of pump switches,automatic roller blinds in the greenhouse,and use the LCD to display environmental information of greenhouses.STC12C4502 AD is the core controller of the data acquisition board.It receives the data measured by each sensor and sends the data information to the STC12C5A60S2 greenhouse control panel.Using NRF24L01 wireless communication module to achieve the detection point of each greenhouse and greenhouse control board,STM32 main control board to communicate with each other.System software,the design of the host computer to achieve real-time display data.In order to facilitate management personnel’s management of greenhouses,the system designs a back-end data management system.This system will save the environmental data measured in greenhouses to thedatabase MySql.The management personnel can more accurately grasp the changes in temperature and humidity by analyzing the database data.Analysis of the requirements,a detailed overview of the design of system hardware and software.2.The system is tested in a temporary greenhouse.The measured value of the temperature sensor is-25°C~+80°C,and the resolution of the light intensity sensor is1~65535Lx.It can measure the change of light intensity in a wide range.The detected air humidity detection range can reach 3%RH~80%RH,and the soil moisture detection range is0~90%/cubic.The system is designed to supply solar photovoltaic cells and reduce the cost of electricity.The system uses wireless communication module NRF24L01,module communication distance is about 25 meters to 50 meters.After compilation,debugging,and deployment on the Tomcat server.The system background data management system runs successfully.The greenhouse monitoring system designed in this paper has been tested and the main functional indicators can basically be realized. |