Traditional agriculture requires a large amount of labor, low production efficiency, and an urgent need to transform into modern agriculture. As an important representative of modern agriculture, greenhouse technology separates the growth of crops from the natural environment and forms a semi-closed system that can be manually controlled. Since the 1990s, China has been learning from countries such as the Netherlands and the United States where the greenhouse technology is developed. However, due to the different agricultural production conditions in China and the foreign conditions, it is impossible to directly copy the foreign model, but it is necessary to develop a greenhouse control system suitable for the production conditions in various regions of China. .
A remote monitoring and control system for the greenhouse was designed in response to the above situation. Because air temperature and humidity have a great influence on crop growth among various environmental factors, the system chooses to monitor and control the temperature and humidity of the air in the greenhouse. The traditional 51 series MCU control system has poor computing power and function expansion capability, and the cost of PLC control system is too high. Therefore, the STM32 MCU with rich peripherals, strong scalability and low cost is selected as the controller in the greenhouse.
1, the overall design of the systemA set of greenhouse remote monitoring and control system based on STM32 was developed. Remote monitoring and control of the temperature and humidity in the greenhouse can be realized by using the STM32 MCU as a controller in the greenhouse and a remote control software written by MFC. The ENC28J60 module is added to the STM32 controller design, so that the controller can access the network, and the LwIP protocol is transplanted in the STM32 program design, so that the controller can communicate with the remote control software through the TCP/IP protocol.
The STM32 controller directly controls the DHT11 sensor and relay module. The DHT11 is responsible for measuring the temperature and humidity in the greenhouse. The relay module is responsible for controlling the heating system and the wet curtain system in the greenhouse to change the temperature and humidity in the greenhouse. Under the VC6.0 platform, the MFC is used to design an easy-to-use remote control interface. It can remotely monitor the temperature and humidity in the greenhouse, control the equipment in the greenhouse, and save the data generated during the control process to the database. As shown in Figure 1.
Figure 1 system overall block diagram
2, system hardware design 2.1, the choice of core processorSTM32 has a wealth of peripherals, built-in 64K static RAM and 512K bytes of flash memory, up to 112 GPIO ports, can be configured as input or output in four modes as required, a total of 7 general-purpose DMA, responsible for memory And direct data transfer between memory and peripherals, embedded with three 12-bit analog/digital converters, one I2C bus connection controller and peripherals, two SPI buses, one master device and multiple slave devices Data exchange between them, external Ethernet interface, 3 USART serial ports, 1 SDIO interface for memory expansion and 1 JTAG interface can be used to connect to the computer for program debugging.
Stylus Pen For Microsoft Surface
Product catagories of Stylus Pen For Microsoft Surface, which just can be worked on below Surface model, Please confirm your surface model before buying.
Microsoft Surface 3; Microsoft Surface Pro 3; Microsoft Surface Pro 4; Microsoft Surface Pro 5; Microsoft Surface Pro 6; Microsoft Surface Book; Microsoft Surface Laptop; Microsoft Surface Studio.
Stylus Pen For Microsoft Surface,Tablet Touch Pen,Touch Screen Stylus Pen,Universal Stylus Pen
Shenzhen Ruidian Technology CO., Ltd , https://www.szwisonen.com