Embedded intelligent greenhouse environment detection system
The embedded intelligent greenhouse environment detection system addresses the challenge of environmental parameter monitoring in greenhouses by integrating IoT technology for real-time data management, ensuring optimal ecological conditions and reducing soil degradation.
Patent Information
- Application Number
- CN202411008278.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-12-03
AI Technical Summary
Existing agricultural greenhouse systems fail to effectively monitor and manage environmental parameters, leading to degradation of black soil in Northeast China, affecting grain production stability.
An embedded intelligent greenhouse environment detection system utilizing an Internet of Things 4-layer model architecture, incorporating a core controller, multiple detection modules, and wireless communication, enabling real-time monitoring and management of air and soil parameters, with differential signal transmission and wireless data upload to a cloud platform for dynamic environmental control.
Enables accurate, real-time monitoring and management of greenhouse environments, ensuring optimal ecological conditions and reducing soil degradation by providing timely alarms and data visualization, thereby stabilizing grain production.
Smart Images

Figure CN119063782A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an agricultural greenhouse environment detection system, in particular to an embedded intelligent greenhouse environment detection system. Background Art
[0002] The black soil in Northeast my country is the most important commercial grain base in my country. The annual output of corn, rice and soybeans accounts for a high proportion in the country, and the grain output accounts for one-third of the country. However, due to the influence of various factors such as long-term over-exploitation and climate change, the black soil in Northeast China has experienced varying degrees of degradation, which directly affects the stability of regional grain production.
[0003] Therefore, it is very necessary to effectively utilize land resources and manage agricultural greenhouses well. Summary of the invention
[0004] The purpose of the present invention is to provide an embedded intelligent greenhouse environment detection system. The present invention is a system for realizing environmental monitoring and management in the greenhouse based on the cross-integration of the Internet of Things model architecture and the target detection technology. Scientific management is carried out in the monitoring and management of the air environment and the soil environment in the ecological greenhouse to achieve full utilization of the land.
[0005] The objective of the present invention is achieved through the following technical solutions: An embedded intelligent greenhouse environment detection system, which realizes greenhouse environment monitoring and environmental parameter management through the cross-integration of the Internet of Things 4-layer model architecture and target detection technology; the system includes a core controller STM32F103 series single-chip microcomputer, a temperature and humidity detection module, a light intensity detection module, a CO2 detection module, a soil nitrogen, phosphorus and potassium parameter measurement sensor module, an acoustic and light alarm circuit, an RS485 communication protocol, an OLED display module, and a wireless communication module, wherein: Soil nitrogen, phosphorus and potassium parameter measurement module measures various soil parameter indicators in the greenhouse; The temperature and humidity detection module collects greenhouse temperature and humidity information in real time and outputs the converted digital information; The light intensity detection module collects the light intensity information of the greenhouse in real time and outputs the analog information; The air quality detection module collects the CO2 concentration information in the classroom in real time and outputs the converted digital information; OLED display module, which displays greenhouse environment temperature, humidity, air quality information, as well as time and date; The wireless communication module uploads the classroom environment information after A / D conversion to the BAF Cloud Platform, and sends the control instructions from the BAF Cloud Platform to the STM32 main controller; The main controller receives the BAFFA cloud information and the digital information after the environmental parameters are converted by each environmental information detection module, and displays the environmental information on the external mobile phone LCD screen. It judges the ecological indicators in the greenhouse according to the threshold comparison and conditions to achieve the alarm purpose; at the same time, it uploads the data that needs to be displayed on the mobile phone app to the BAFFA cloud platform through the ESP8266 WIFI module, and receives control commands from the BAFFA cloud platform.
[0006] In the embedded intelligent greenhouse environment detection system, the analog signal measured by the soil parameter measurement sensor is transferred to the UART serial port via RS485 communication and sent to the STM32 main controller.
[0007] The embedded intelligent greenhouse environment detection system is characterized in that the temperature and humidity detection module adopts DHT11, which has an independent humidity sensing element and an NTC temperature measuring element inside, can accurately detect the temperature and humidity information of the classroom, and convert the analog information into digital information for the STM32 main controller to read.
[0008] In the embedded intelligent greenhouse environment detection system, the light intensity detection module adopts a photoresistor sensor, and the internal voltage divider circuit and comparison circuit enable it to have both analog output and digital output functions, and can accurately detect the light intensity in the greenhouse. After the STM32 main controller reads the light value, it uploads the data to the mobile phone app through the ESP8266 module to facilitate the next step of operation.
[0009] The embedded intelligent greenhouse environment detection system, wherein the air quality detection module adopts a CO2 sensor, can accurately detect the CO2 concentration in the classroom, and the STM32 main controller displays the air quality data on the spot through the OLED screen, and then uploads it to the mobile phone through the communication protocol.
[0010] In the embedded intelligent greenhouse environment detection system, the RS485 adopts a differential signal transmission method to convert the data signal into a level signal and transmit it through two lines; during the transmission process, the voltage difference between the two lines represents the data signal, thereby realizing data transmission. Since differential signal transmission has strong anti-interference ability and long transmission distance, RS485 can realize long-distance and high-speed data transmission, and can efficiently and stably transmit the data measured by the soil parameter measurement sensor to the core controller.
[0011] The embedded intelligent greenhouse environment detection system, wherein the OLED display module adopts a 0.96-inch liquid crystal screen, can display the temperature, humidity and air quality information in the greenhouse on site.
[0012] The embedded intelligent greenhouse environment detection system is characterized in that the wireless communication module adopts the ESP8266 WiFi wireless communication module to complete the following two operations: one is to upload the environmental information in the greenhouse after A / D conversion to the BAFFA cloud platform, and the other is to send the control instructions from the BAFFA cloud platform to the STM32 main controller to control the operation of the system actuator.
[0013] The embedded intelligent greenhouse environment detection system, the main controller adopts STM32F103C8T6 with ARM-CortexM3 as the core, which is responsible for integrating soil parameter measurement sensor information and digital information after environmental parameters are converted by various environmental information detection modules. After internal analysis and processing, the environmental information is displayed on an external OLED LCD screen for management personnel to view on the spot, and the purpose of controlling the alarm system is determined according to threshold comparison and condition judgment; at the same time, the data to be displayed on the mobile phone app is uploaded to the Bafa cloud platform through the ESP8266 WIFI module, so that management personnel can view the environmental status in the greenhouse in real time and issue control commands to the lower computer. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a schematic diagram of the overall structure of the system of the present invention. DETAILED DESCRIPTION
[0015] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments: As shown in the figure, the ecological greenhouse system of the present invention is different from the previous ecological greenhouse systems. The previous ecological greenhouse systems simply measured data and were not able to wirelessly transmit the measured data and organize the measured data and modify the rated values of the air and soil parameters of the ecosystem in the greenhouse through the invented mobile phone APP.
[0016] First of all, according to the environmental differences of the growth of various plants in the ecological greenhouse and the changes in the survival time, the various parameters of the soil and the air environment will change. The STM32 main controller will judge the growth environment in the greenhouse at the current time. If it is at night, combined with the actual situation, the light intensity state in the greenhouse is large or small. According to the pre-set threshold, it is judged whether the plants in the greenhouse need light. If necessary, the buzzer will sound an alarm, and the mobile app will also appear a warning, and the management personnel need to act immediately. If the temperature and humidity detection module detects that the temperature is too high and the air quality detection module detects that the C02 concentration is within the normal threshold, the buzzer is disconnected, and there is no alarm displayed on the mobile app. If the temperature is lower than the set threshold, the buzzer will be turned on to alarm; if the temperature and humidity detection module detects that the ambient humidity in the greenhouse is lower than the set value, the STM32 main controller will control the buzzer to alarm, otherwise, it will be turned off; if the temperature and C02 concentration are both higher than the set threshold, it is determined that the environmental quality in the greenhouse is too poor. The alarm circuit will immediately take action to warn the staff to immediately change the ecological environment indicators. The soil parameter sensor can measure the nitrogen, phosphorus and potassium content, temperature, humidity and PH indicators in the soil of the greenhouse. If the index in the soil exceeds the preset threshold, the RS485 communication is transferred to the serial port to the main control system to control the buzzer to sound an alarm and a prompt will appear on the mobile app. The system can collect the temperature, humidity, light, air quality, soil parameters and other environmental information of the greenhouse in real time, and display it on the spot through the OLED screen for easy viewing by on-site personnel. Finally, the environmental parameters collected on site are uploaded to the Bafa Cloud Platform through the ESP8266 WIFI wireless module. These data can be visualized through the data visualization function in the Bafa Cloud Platform, and this function can be used to monitor the ecological environment in the greenhouse at all times and achieve the purpose of dynamic balance of the environment; the Bafa Cloud Platform can also be used as a medium to interact with the user terminal mobile app, so that the management personnel can make judgments based on the environmental information displayed by the applet to change the growth environment inside the greenhouse.
[0017] The above is a detailed introduction to the technology of the present invention, and the hardware working principle and implementation method of the system are described. This description is only used to help understand the core idea of the technology of the present invention. In summary, the content of this specification should not be understood as limiting the technology of the present invention.
Claims
1. An embedded intelligent greenhouse environment detection system, characterized in that: The system realizes greenhouse environment monitoring and environmental parameter management through the cross-integration of the Internet of Things 4-layer model architecture and target detection technology; the system includes a core controller STM32F103 series single-chip microcomputer, a temperature and humidity detection module, a light intensity detection module, a CO2 detection module, a soil nitrogen, phosphorus and potassium parameter measurement sensor module, an audio and light alarm circuit, an RS485 communication protocol, an OLED display module, and a wireless communication module, wherein: Soil nitrogen, phosphorus and potassium parameter measurement module measures various soil parameter indicators in the greenhouse; The temperature and humidity detection module collects greenhouse temperature and humidity information in real time and outputs the converted digital information; The light intensity detection module collects the light intensity information of the greenhouse in real time and outputs the analog information; The air quality detection module collects the CO2 concentration information in the classroom in real time and outputs the converted digital information; OLED display module, which displays greenhouse environment temperature, humidity, air quality information, as well as time and date; The wireless communication module uploads the classroom environment information after A / D conversion to the BAF Cloud Platform, and sends the control instructions from the BAF Cloud Platform to the STM32 main controller; The main controller receives the BAFFA cloud information and the digital information after the environmental parameters are converted by each environmental information detection module, and displays the environmental information on the external mobile phone LCD screen. It judges the ecological indicators in the greenhouse according to the threshold comparison and conditions to achieve the alarm purpose; at the same time, it uploads the data that needs to be displayed on the mobile phone app to the BAFFA cloud platform through the ESP8266 WIFI module, and receives control commands from the BAFFA cloud platform.
2. The embedded intelligent greenhouse environment detection system according to claim 1 is characterized in that: The analog signal measured by the soil parameter measurement sensor is transferred to the UART serial port via RS485 communication and sent to the STM32 main controller.
3. The embedded intelligent greenhouse environment detection system according to claim 1 is characterized in that: The temperature and humidity detection module adopts DHT11, which has an independent humidity sensing element and an NTC temperature measuring element inside. It can accurately detect the temperature and humidity information of the classroom, and convert the analog information into digital information for the STM32 main controller to read.
4. The embedded intelligent greenhouse environment detection system according to claim 1 is characterized in that: The light intensity detection module uses a photoresistor sensor. The internal voltage divider circuit and comparison circuit enable it to have both analog output and digital output functions, which can accurately detect the light intensity in the greenhouse. After the STM32 main controller reads the light value, it uploads the data to the mobile phone app through the ESP8266 module to facilitate the next step.
5. The embedded intelligent greenhouse environment detection system according to claim 1, characterized in that: The air quality detection module adopts a CO2 sensor, which can accurately detect the CO2 concentration in the classroom. The STM32 main controller displays the air quality data on the spot through the OLED screen, and then uploads it to the mobile phone through the communication protocol.
6. The embedded intelligent greenhouse environment detection system according to claim 1, characterized in that: The RS485 adopts differential signal transmission mode, converts the data signal into a level signal, and transmits it through two lines; during the transmission process, the voltage difference between the two lines represents the data signal, thereby realizing data transmission. Since differential signal transmission has strong anti-interference ability and long transmission distance, RS485 can realize long-distance and high-speed data transmission, and can efficiently and stably transmit the data measured by the soil parameter measurement sensor to the core controller.
7. The embedded intelligent greenhouse environment detection system according to claim 1, characterized in that: The OLED display module uses a 0.96-inch LCD screen, which can display the temperature, humidity and air quality information inside the greenhouse on-site.
8. The embedded intelligent greenhouse environment detection system according to claim 1 is characterized in that: The wireless communication module adopts ESP8266 WiFi wireless communication module to complete the following two operations: one is to upload the environmental information in the greenhouse after A / D conversion to the BAF Cloud Platform; the other is to send the control instructions from the BAF Cloud Platform to the STM32 main controller to control the operation of the system actuator.
9. The embedded intelligent greenhouse environment detection system according to claim 1, characterized in that: The main controller adopts STM32F103C8T6 with ARM-CortexM3 as the core, which is responsible for integrating the soil parameter measurement sensor information and the digital information after the environmental parameters are converted by each environmental information detection module. After internal analysis and processing, the environmental information is displayed on an external OLED LCD screen for the convenience of management personnel to view on the spot, and the purpose of controlling the alarm system is determined according to the threshold comparison and condition judgment; at the same time, the data that needs to be displayed on the mobile phone app is uploaded to the Bafa cloud platform through the ESP8266 WIFI module, so that the management personnel can view the environmental status in the greenhouse in real time and issue control commands to the lower computer.
