ZigBee Internet of Things intelligent agricultural monitoring system based on cellular technology
Through ZigBee-based cellular wireless networking technology, real-time collection, monitoring and control of agricultural environment data is realized, the problem of complex and inflexible traditional wiring methods is solved, and flexible wireless ad hoc networking and high-reliability data transmission is realized. .
Patent Information
- Application Number
- CN202411599488.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-14
AI Technical Summary
The prior art is difficult to realize real-time collection, monitoring and control of agricultural environmental data, and the traditional wiring methods are complex and inflexible.
Using ZigBee-based cellular wireless networking technology, ZigBee self-assembles a wireless cellular network, and various environmental monitoring sensors and control execution nodes transmit and communicate with cellular ZigBee nodes through the RS-485 bus to realize flexible wireless ad hoc networking.
The linkage control between control nodes and environmental monitoring is realized. Each node realizes flexible wireless self-organizing networking through cellular wireless networking technology, completing node collection, monitoring and control of agricultural environmental data information. The system has flexible networking and high data transmission reliability. , low system power consumption and other advantages.
Smart Images

Figure CN119450391A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of intelligent agriculture, and the invention relates to a ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology. Background Art
[0002] Wireless Sensor Networks technology is considered to be one of the most influential technologies in the 21st century, with a very broad application space and huge application prospects in many fields. The extensive combination and application of WIFI technology and ZigBee-based cellular wireless networking technology and Internet of Things technology has brought great changes and far-reaching impacts to people's lives and production patterns, and has brought about great changes and improvements to our lifestyles and production patterns today. ZigBee-based wireless cellular networking technology is an emerging wireless network technology with the advantages of short transmission distance, low power consumption, simple networking, flexible working frequency bands, high reliability, and low cost. It can realize self-networking and self-recovery functions, and is very suitable for smart home environment monitoring systems and smart agricultural environment monitoring systems in modern life.
[0003] The rise of smart agriculture indicates that the agricultural field is deeply integrated with modern information technology. The Internet of Things is to deploy embedded microchips with various sensing, computing and execution capabilities in the physical world through sensor technology, radio frequency identification, wireless communication technology, etc., and use software and control terminals to make them intelligent objects. Through the network, information collection, transmission, real-time monitoring, coordination and processing are realized, thereby realizing the interconnection between objects and objects and between objects and people. The Internet of Things has promoted the innovation and vigorous development of emerging industries such as smart homes, smart transportation, smart agriculture, and smart cars. Therefore, the application of the Internet of Things in smart agriculture has a very broad application prospect, which will greatly change our current way of life and production and concepts. Summary of the invention
[0004] The purpose of the present invention is to provide a ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology, which establishes an intelligent agriculture system network and completes various information data transmission and communication through the Internet of Things cellular wireless networking technology, realizes the linkage control of control nodes and environmental monitoring, and each node adopts cellular wireless networking technology to realize flexible wireless self-organizing network.
[0005] The technical solution to achieve the purpose of the present invention is:
[0006] A ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology comprises the following steps:
[0007] S01: ZigBee self-built wireless cellular network is adopted, and environmental monitoring sensors and control execution nodes at different locations transmit data and communicate with cellular ZigBee nodes through RS-485 bus;
[0008] S02: Each environmental monitoring sensor collects the corresponding real-time data of the agricultural plant growth environment, controls the execution node to control the execution signal, and the data or signal is sent to the cellular ZigBee node through the RS485 bus;
[0009] S03: The cellular ZigBee node and the intelligent gateway ZigBee node communicate with each other through the ad hoc network. The intelligent gateway ZigBee node sends the received data to the processor for processing and then saves it to the server through cloud transmission.
[0010] In the preferred technical solution, step S01 adopts the method of self-organizing a wireless cellular network using ZigBee, including: ZigBee bases are mutually adsorbed by strong magnetic suction cups to achieve two-to-two connection, multiple ZigBee bases are spliced to form a mesh structure presenting a honeycomb shape, and the interconnected ZigBee bases use RS-485 bus interface for wired communication, and each ZigBee base forms a cellular network through a ZigBee wireless self-organizing network.
[0011] In the preferred technical solution, the RS-485 bus interface uses balanced transmission and differential reception to achieve communication: the transmitting end converts the TTL level signal of the serial port into two differential signal outputs a and b, and after cable transmission, the differential signal is restored to a TTL level signal at the receiving end.
[0012] In the preferred technical solution, after ZigBee self-establishes a wireless cellular network, the terminal node automatically joins the network, and then the terminal node periodically collects data according to the program setting and sends it to the coordinator. After the coordinator receives the collected data, it outputs it to the serial port debugging tool through the serial port for reception;
[0013] After the coordinator receives data through the network, it triggers a system event, and then executes the corresponding event, calls the function to receive the data sent by the terminal node, and sends the valid data to the serial port of the coordinator through the serial port function, and finally outputs it to the display end.
[0014] The present invention also discloses a computer storage medium on which a computer program is stored. When the computer program is executed, any of the above-mentioned ZigBee Internet of Things intelligent agriculture monitoring methods based on cellular technology is implemented.
[0015] The present invention further discloses a ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology, comprising:
[0016] Environmental detection module, used to collect agricultural environmental data information;
[0017] A remote control module, connected to the environment detection module, is used to control the execution node to control the execution signal;
[0018] Intelligent gateway, used for local area network access to external network to achieve mutual communication, adopts ZigBee to build a wireless cellular network, and environmental monitoring sensors and control execution nodes at different locations transmit data and communicate with cellular ZigBee nodes through RS-485 bus;
[0019] Each environmental monitoring sensor collects the corresponding real-time data of the agricultural plant growth environment, controls the execution node to control the execution signal, and the data or signal is sent to the cellular ZigBee node through the RS485 bus;
[0020] The cellular ZigBee nodes and the intelligent gateway ZigBee nodes communicate with each other through a self-organizing network. The intelligent gateway ZigBee nodes send the received data to the processor for processing and then save it to the server through cloud transmission.
[0021] In the preferred technical solution, the environmental detection module includes a temperature and humidity sensor, a light intensity sensor, a soil moisture sensor, a carbon dioxide concentration sensor, an atmospheric pressure sensor and a rain and snow detection sensor; the control execution node includes a growth light control node, a ventilation fan control node, a roller shutter control node, a heater control node, a water pump control node and an alarm light control node.
[0022] The preferred technical solution includes multiple ZigBee bases, which are connected to each other by strong magnetic suction cups. Multiple ZigBee bases are spliced to form a mesh structure in a honeycomb shape. The interconnected ZigBee bases use RS-485 bus interfaces for wired communication, and each ZigBee base forms a cellular network through a ZigBee wireless ad hoc network.
[0023] In the preferred technical solution, the temperature and humidity sensor is linked to the heater switch control executed by the control. When the temperature value is lower than the set threshold, the heater control switch is turned on for heating; when the temperature value meets the temperature value range of the indoor environment of the agricultural cultivation, the heater control switch is turned off to stop heating;
[0024] The light intensity sensor is linked to the shutter switch control executed by the control. When the light intensity is compared with the set threshold, if it does not meet the lighting requirements of plant growth, the shutter switch is opened; when the light intensity exceeds the set threshold, the shutter switch is closed.
[0025] The hardware control part of the soil moisture sensor is buried in the soil at the root of the crop, and the sensor monitors the moisture condition of the soil at the root; the soil moisture sensor is linked to the water pump switch control executed by the control, and if the soil moisture detected by the detection circuit reaches the set soil moisture lower limit, the solenoid valve switch connected to the water pump is opened through the relay control; if the soil moisture detected by the detection circuit reaches the set soil moisture upper limit, the relay solenoid valve switch controlling the water pump is closed;
[0026] The CO2 concentration sensor is linked to the ventilation fan switch control executed by the control. When the detected CO2 exceeds the upper limit or the lower limit, the ventilation fan is controlled to turn on;
[0027] Atmospheric pressure sensors are used to measure air pressure conditions in agricultural environments;
[0028] The rain and snow detection sensor is linked to the alarm light switch control executed by the control. The detection time interval value of the rain and snow detection sensor is set to a certain length of time. If the duration of rain and snow detection exceeds the set length of time, it is determined that the sensor detects the rain and snow state, and the alarm light switch is turned on for rain and snow warning;
[0029] The light intensity sensor is linked to the plant growth lamp switch control executed by the control. When the light intensity is less than the set value, the plant growth lamp switch is turned on. Otherwise, the plant growth lamp switch is controlled to be turned off.
[0030] In the preferred technical solution, the RS-485 bus interface uses balanced transmission and differential reception to achieve communication: the transmitting end converts the TTL level signal of the serial port into two differential signal outputs a and b, and after cable transmission, the differential signal is restored to a TTL level signal at the receiving end.
[0031] Compared with the prior art, the present invention has the following significant advantages:
[0032] 1. The linkage control between control nodes and environmental monitoring is realized. Each node adopts cellular wireless networking technology to realize flexible wireless self-organizing network, and completes the node collection, monitoring and control of agricultural environmental data information.
[0033] 2. The system can well establish an intelligent agricultural system network and complete various information data transmission and communication through the Internet of Things cellular wireless networking technology, and use sensor environmental detection and remote control technology to collect, monitor and intelligently control the status of agricultural environmental data. It can collect real-time information from the physical world through agricultural Internet of Things devices such as temperature, soil, and light, and drive the fusion modeling of the digital world through information perception in the physical world.
[0034] 3. The cellular base has multiple control cores, free combination, flexible splicing, and intelligent networking, which avoids redundant and complicated wiring and solves the wireless communication between the controller and various sensor modules and remote control modules. This intelligent agricultural system has the advantages of flexible networking, high data transmission reliability, and low system power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The hardware structure and networking diagram of the ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology of the embodiment;
[0036] Figure 2 This is a schematic diagram of the cellular base RS-485 bus connection;
[0037] Figure 3 It is a flow chart of data processing between terminal nodes and coordinator;
[0038] Figure 4 Implementation flow chart for temperature and humidity detection and heater linkage control;
[0039] Figure 5 Implement a flow chart for light intensity detection and roller shutter linkage control;
[0040] Figure 6 Implement a flow chart for soil moisture detection and water pump linkage control;
[0041] Figure 7 A flow chart for realizing linkage control of carbon dioxide concentration detection and ventilation fan;
[0042] Figure 8 A flowchart for realizing linkage control of rain and snow detection and rain and snow warning;
[0043] Fig. 9 Display interface diagram for the intelligent agricultural environment monitoring terminal;
[0044] Fig.10 This is a diagram of the control interface of the smart agriculture terminal. DETAILED DESCRIPTION
[0045] The principle of the present invention is that the system can well establish an intelligent agricultural system network and complete various information data transmission and communication through the Internet of Things cellular wireless networking technology, and use sensor environmental detection and remote control technology to collect, monitor and intelligently control the status of agricultural environmental data, etc. It can collect real-time information from the physical world through agricultural Internet of Things devices such as temperature, soil, and light, and drive the fusion modeling of the digital world through information perception in the physical world.
[0046] Embodiment 1:
[0047] A ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology comprises the following steps:
[0048] S01: ZigBee self-built wireless cellular network is adopted, and environmental monitoring sensors and control execution nodes at different locations transmit data and communicate with cellular ZigBee nodes through RS-485 bus;
[0049] S02: Each environmental monitoring sensor collects the corresponding real-time data of the agricultural plant growth environment, controls the execution node to control the execution signal, and the data or signal is sent to the cellular ZigBee node through the RS485 bus;
[0050] S03: The cellular ZigBee node and the intelligent gateway ZigBee node communicate with each other through the ad hoc network. The intelligent gateway ZigBee node sends the received data to the processor for processing and then saves it to the server through cloud transmission.
[0051] In a preferred implementation, step S01 uses a method for self-organizing a wireless cellular network using ZigBee, including: ZigBee bases are connected to each other in pairs by adsorbing each other through strong magnetic suction cups, multiple ZigBee bases are spliced to form a mesh structure in a honeycomb shape, and the interconnected ZigBee bases use RS-485 bus interfaces for wired communication, and each ZigBee base forms a cellular network through a ZigBee wireless self-organizing network.
[0052] In a preferred implementation, the RS-485 bus interface uses balanced transmission and differential reception to achieve communication: the transmitting end converts the TTL level signal of the serial port into two differential signal outputs a and b, and after cable transmission, the differential signal is restored to a TTL level signal at the receiving end.
[0053] In a preferred implementation, after ZigBee self-establishes a wireless cellular network, the terminal node automatically joins the network, and then the terminal node periodically collects data according to the program setting and sends it to the coordinator. After the coordinator receives the collected data, it outputs it to the serial port debugging tool through the serial port for reception;
[0054] After the coordinator receives data through the network, it triggers a system event, and then executes the corresponding event, calls the function to receive the data sent by the terminal node, and sends the valid data to the serial port of the coordinator through the serial port function, and finally outputs it to the display end.
[0055] In another embodiment, this embodiment discloses a computer storage medium having a computer program stored thereon, and when the computer program is executed, the above-mentioned ZigBee Internet of Things smart agriculture monitoring method based on cellular technology is implemented.
[0056] In another embodiment, if Figure 1As shown, a ZigBee Internet of Things intelligent agricultural monitoring system based on cellular technology includes:
[0057] Environmental detection module, used to collect agricultural environmental data information;
[0058] A remote control module, connected to the environment detection module, is used to control the execution node to control the execution signal;
[0059] Intelligent gateway, used for local area network access to external network to achieve mutual communication, adopts ZigBee to build a wireless cellular network, and environmental monitoring sensors and control execution nodes at different locations transmit data and communicate with cellular ZigBee nodes through RS-485 bus;
[0060] Each environmental monitoring sensor collects the corresponding real-time data of the agricultural plant growth environment, controls the execution node to control the execution signal, and the data or signal is sent to the cellular ZigBee node through the RS485 bus;
[0061] The cellular ZigBee nodes and the intelligent gateway ZigBee nodes communicate with each other through a self-organizing network. The intelligent gateway ZigBee nodes send the received data to the processor for processing and then save it to the server through cloud transmission.
[0062] The following is a description of a preferred embodiment as an example:
[0063] 1. The model design of this IoT smart agriculture monitoring system is mainly composed of three parts: smart gateway module, environmental detection sensor node module, and remote control node module. The specific sensors and control functions contained in each part are designed as follows:
[0064] (1) Intelligent gateway module: It uses a high-performance, low-power STM32 Cortex-A8 processor to run an embedded system, provide system service programs, and support remote network WEB access or client software.
[0065] (2) Environmental detection module: The main functions include atmospheric pressure detection, temperature and humidity detection, soil moisture detection, light intensity detection, carbon dioxide concentration detection, and rain and snow detection.
[0066] (3) Remote control module: The main functions include plant growth light switch control, ventilation fan switch control, sunshade roller curtain switch control, heater switch control, water pump switch control, and alarm light control.
[0067] 2. Cellular wireless networking: This intelligent agricultural monitoring system design uses a gateway base based on the STM32F103C8T6 chip and a ZigBee base based on the CC2530F256 chip. The two ZigBee bases are designed to be regular hexagonal in shape, with strong magnets for connection, RS485 bus interface and MicroUSB power interface on each side. The ZigBee bases are connected to each other through strong magnet suction cups. Multiple ZigBee bases are spliced to form a mesh structure in a honeycomb shape. The interconnected ZigBee bases use the RS-485 bus interface for wired communication. Each ZigBee base forms a cellular network through the ZigBee wireless ad hoc network. The RS-485 bus interface on the ZigBee base realizes wired communication between the sensor module or control module and the base, such as Figure 2 As shown in the figure, the MicroUSB interface on the ZigBee base can provide an external 3.3V power supply for the base itself, and can also provide the required working power supply for other sensor components connected to the base; secondly, it can download and debug the written program through the download tool line. The ZigBee base chip uses the TI CC2530F256 microcontroller, enhanced 8051 core, RAM 8K, FLASH 256KB, main frequency 32MHz, internal integrated 2.4G transceiver module, MAC protocol, and meets the 802.15.4 local area network protocol. After programming and communication protocol design of the base and module combination, multiple bases and multiple sensor function modules connected by cellular wireless network technology are combined to realize sensor data collection, control execution and data transmission and other practical applications and development of the Internet of Things.
[0068] 3. Description of linkage control function between environmental detection module sensor and remote control module
[0069] (1) Temperature and humidity sensor is a sensor that includes humidity and heat sensitive elements. It uses an integrated temperature and humidity probe as a temperature measuring element to collect temperature and humidity signals. After voltage stabilization and filtering, operational amplification, nonlinear correction, V / I conversion, constant current and reverse protection circuit processing, it is converted into a current signal or voltage signal output that is linearly related to temperature and humidity. It is a sensor device used to effectively measure temperature and humidity. Temperature and humidity sensors have the characteristics of small size and stable performance, and are widely used in various fields of production and life.
[0070] In the design of this intelligent agricultural monitoring system, Figure 4 As shown, the temperature and humidity sensor is linked to the heater switch control executed by the control. When the temperature value is lower than the set threshold, the heater control switch is turned on for heating; when the temperature value meets the indoor environmental temperature value range of agricultural cultivation, the heater control switch is turned off to stop heating.
[0071] (2) The light intensity sensor uses a GZ-A1 light sensor with an integrated photoresistor. It has a strong ability to sense ambient light intensity. Its power supply voltage is 3.3V~5V, and it uses the RS-485 bus communication method ZigBee module for communication. Its range is 0~65535 (unit: lux).
[0072] In the design of this intelligent agricultural monitoring system, Figure 5 As shown, the sensor is linked to the roller shutter switch control executed by the control. When the light intensity is compared with the set threshold, if it does not meet the lighting requirements of plant growth, the control is executed to open the roller shutter switch to increase the light intensity in the smart agricultural environment; when the light intensity exceeds the set threshold, the control is executed to close the roller shutter to reduce the light intensity in the smart agricultural environment.
[0073] (3) The soil moisture sensor is composed of a stainless steel probe and a waterproof probe. It is generally encapsulated in a PVC shell and epoxy resin. It can be buried in the soil for a long time. It is mainly used to measure the soil moisture content in the agricultural environment to monitor the soil moisture in the plant growth environment. In this design, the hardware control part of the soil moisture sensor is buried in the soil close to the roots of crops. The sensor monitors the moisture content of the root soil and realizes fixed-point monitoring and online measurement of the surface and deep soil moisture.
[0074] In the design of this intelligent agricultural monitoring system, Figure 6 As shown, the sensor is linked to the water pump switch control executed by the control. If the soil moisture detected by the detection circuit is "too high humidity" or "too low humidity", the signal is transmitted to the main controller through the encoder, and the main controller determines the control state conversion: "too low humidity" reaches the set soil moisture lower limit, then the relay control opens the solenoid valve switch connected to the water pump to irrigate the crops; "too high humidity" closes the relay solenoid valve switch that controls the water pump to stop irrigation.
[0075] (4) The model of CO2 concentration detection sensor used is ETH-R4-2000, which is used to measure the carbon dioxide concentration in the smart agricultural environment. The working range of this module is 0-2000PPM, and the data acquisition sampling time interval is set to 5S.
[0076] In the design of this intelligent agricultural monitoring system, Figure 7 As shown, the sensor is linked with the ventilation fan switch control executed by the control. When the CO2 is detected to be excessive or too low, the ventilation fan is turned on for ventilation.
[0077] (5) The atmospheric pressure sensor is used to measure the air pressure in the smart agricultural environment and is widely used in environmental measurement of the environment, greenhouse, breeding, etc. The atmospheric pressure sensor module used in this design is based on the BME280 chip with a measurement range of 50~110Kpa.
[0078] (6) Rain and snow detection sensors are mainly used to measure whether it is raining or snowing outdoors or in nature. They can be widely used in the qualitative measurement of the presence or absence of rain and snow in the environment, greenhouses, breeding, construction, buildings, etc. They are safe and reliable, beautiful in appearance, and easy to install.
[0079] In the design of this intelligent agricultural monitoring system, Figure 8 As shown, the sensor is linked with the alarm light switch control executed by the control, and the detection time interval value of the rain and snow detection sensor is set to 5 minutes. If the duration of rain and snow being detected exceeds 5 minutes, it will be determined that the sensor has detected the rain and snow state, and the alarm light switch will be turned on to issue a rain and snow warning.
[0080] (7) Plant growth lights are lighting conditions that assist plant growth. The lighting conditions in the smart agricultural environment can be adjusted by controlling the plant growth light switch. When the light intensity required by plants in the smart agricultural environment is low, turn on the plant growth light switch to artificially increase the light intensity and brightness in the smart agricultural cultivation room; when the light intensity meets the plant production needs and reaches the set threshold, control the plant growth light switch to automatically turn off.
[0081] 4. Intelligent gateway module design
[0082] The model gateway of the IoT smart agriculture system is based on the STM32 high-performance 32-bit processor and uses the Android operating system. Its main function is to connect the smart agriculture network LAN to the Internet or GSM and other external networks to achieve mutual communication, complete data collection, monitoring and remote control, etc. The smart agriculture system network is connected to the wireless network through the gateway. In this system, the smart agriculture system uses the gateway, and users can monitor the smart agriculture environment through remote PCs, mobile phones and other terminals. The connection of the gateway is realized through serial port communication. The commands received by the sensor or the reporting of its own status information are all transmitted through the serial port. The wireless Zigbee needs to realize the wireless transparent transmission function through the serial port configuration to complete the data transmission. After programming and designing the communication protocol for each module and base combination in advance, by writing the corresponding gateway function program, after the system is started, the corresponding serial port number, baud rate and check bit parameters for communication are set through the host terminal software, and then the serial port connection is opened for data communication. Under the conditions of ZigBee self-organizing network, the cellular gateway can automatically or on-demand collect temperature, humidity, light intensity and other data through the environmental monitoring module. The cellular gateway can control the switching action of fans, growth lights, ventilation fans, etc. The cellular gateway uploads the data collected from various sensors to the cloud server according to the protocol.
[0083] 5. Cellular base RS-485 bus transmission design and performance advantages
[0084] The two cellular bases are connected through the RS-485 bus interface for data transmission. In the design of the present invention, the RS-485 bus interface uses balanced transmission and differential reception to achieve communication: the transmitting end converts the TTL level signal of the serial port into two differential signal a and b outputs, and after cable transmission, the differential signal is restored to a TTL level signal at the receiving end. The RS-485 bus interface has a strong ability to resist common-mode interference, the bus transceiver is very sensitive, it is convenient to establish a device network, the transmission rate is high, and half-duplex working mode is adopted to support multi-point data communication, and the maximum can support up to 400 nodes.
[0085] The overall hardware structure and networking diagram of this intelligent agriculture are as follows Figure 1 As shown, the workflow is as follows: According to the functional agricultural plant growth environment and needs, the system terminal node designs 6 sensor modules and 6 execution control modules: temperature and humidity sensor, light sensor, soil moisture sensor, carbon dioxide sensor, atmospheric pressure sensor, rain and snow detection sensor, growth light control, ventilation fan control, roller blind control, heater control, water pump control, and alarm light control. First, the intelligent agricultural system environmental network adopts ZigBee self-organized wireless cellular network. The environmental monitoring sensors and control execution nodes at different locations of the terminal transmit and communicate data with the cellular ZigBee nodes through the RS-485 bus on the base. After burning the program and powering on the system, each environmental monitoring sensor terminal node collects the corresponding real-time data of the agricultural plant growth environment, and controls the execution terminal node to control the execution signal. The data or signal is sent to the cellular ZigBee node through the RS485 bus; then, the cellular ZigBee node and the intelligent gateway ZigBee node communicate with each other through the ad hoc network. The intelligent gateway ZigBee node sends the received data to the high-performance STM32 processor for processing, and then saves it to the server through cloud transmission. Finally, the user can view the intelligent agricultural environment status and data through the control interface of the mobile phone or computer and perform remote execution control according to needs.
[0086] like Figure 2 As shown, the cellular bases in the present invention communicate data by adsorption through the RS-485 bus interface designed on each side. The sensor MCU on each base is connected to the RS-485 bus conversion chip through the UART signal bus, and the 485 signal is transmitted for mutual data transmission.
[0087] like Figure 3As shown, the data processing flow of the program design in the present invention is: after the coordinator Zigbee wireless networking, the terminal node automatically joins the network, and then the terminal node periodically collects data according to the program setting and sends it to the coordinator. After the coordinator receives the collected data, it outputs it to the serial port debugging tool through the serial port for reception; after the coordinator receives the data through the network, it triggers a system event, and then by executing the corresponding event, calls the function to receive the data sent by the terminal node, and sends the valid data to the serial port of the coordinator through the serial port function, and finally outputs it to the display end.
[0088] This intelligent agricultural monitoring system has been used in actual agricultural environments and after linkage control, the operation of each node cellular networking, data communication and information collection is good. Through the ZigBee_Demo display interface, such as Fig. 9 As shown, the real-time data monitoring status of each terminal sensor node of the cellular wireless network in the intelligent agricultural monitoring system can be easily and intuitively observed. For example, the normal environmental monitoring data in a Japanese intelligent agricultural environment is shown as follows: temperature 26.05℃, humidity 47.50%, light intensity 18650Lux, atmospheric pressure 96.00Kpa, CO2 concentration 812ppm, soil moisture 29.00%, and no rain or snow.
[0089] Smart agriculture terminal control interface, such as Fig.10 shown.
[0090] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principles of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.
Claims
1. A ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology, characterized in that: The following steps are involved: S01: ZigBee self-built wireless cellular network is adopted, and environmental monitoring sensors and control execution nodes at different locations transmit data and communicate with cellular ZigBee nodes through RS-485 bus; S02: Each environmental monitoring sensor collects the corresponding real-time data of the agricultural plant growth environment, controls the execution node to control the execution signal, and the data or signal is sent to the cellular ZigBee node through the RS485 bus; S03: The cellular ZigBee node and the intelligent gateway ZigBee node communicate with each other through the ad hoc network. The intelligent gateway ZigBee node sends the received data to the processor for processing and then saves it to the server through cloud transmission.
2. The ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology according to claim 1 is characterized in that: Step S01 is a method for using ZigBee to self-organize a wireless cellular network, including: ZigBee bases are mutually adsorbed by strong magnetic suction cups to achieve connection between each other, multiple ZigBee bases are spliced to form a mesh structure in a honeycomb shape, and the interconnected ZigBee bases use RS-485 bus interfaces for wired communication, and each ZigBee base forms a cellular network through a ZigBee wireless self-organizing network.
3. The ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology according to claim 1 is characterized in that: The RS-485 bus interface uses balanced transmission and differential reception to achieve communication: the transmitting end converts the TTL level signal of the serial port into two differential signal outputs a and b, and after cable transmission, the differential signal is restored to a TTL level signal at the receiving end.
4. The ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology according to claim 1 is characterized in that: After ZigBee self-built wireless cellular network, the terminal node automatically joins the network, and then the terminal node periodically collects data according to the program settings and sends it to the coordinator. After the coordinator receives the collected data, it outputs it to the serial port debugging tool through the serial port for reception; After the coordinator receives data through the network, it triggers a system event, and then executes the corresponding event, calls the function to receive the data sent by the terminal node, and sends the valid data to the serial port of the coordinator through the serial port function, and finally outputs it to the display end.
5. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the ZigBee Internet of Things intelligent agriculture monitoring method based on cellular technology as described in any one of claims 1 to 4 is implemented.
6. A ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology, characterized in that: include: Environmental detection module, used to collect agricultural environmental data information; A remote control module, connected to the environment detection module, is used to control the execution node to control the execution signal; Intelligent gateway, used for local area network access to external network to achieve mutual communication, adopts ZigBee to build a wireless cellular network, and environmental monitoring sensors and control execution nodes at different locations transmit data and communicate with cellular ZigBee nodes through RS-485 bus; Each environmental monitoring sensor collects the corresponding real-time data of the agricultural plant growth environment, controls the execution node to control the execution signal, and the data or signal is sent to the cellular ZigBee node through the RS485 bus; The cellular ZigBee nodes and the intelligent gateway ZigBee nodes communicate with each other through a self-organizing network. The intelligent gateway ZigBee nodes send the received data to the processor for processing and then save it to the server through cloud transmission.
7. The ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology according to claim 6 is characterized in that: The environmental detection module includes a temperature and humidity sensor, a light intensity sensor, a soil moisture sensor, a carbon dioxide concentration sensor, an atmospheric pressure sensor and a rain and snow detection sensor; the control execution node includes a growth light control node, a ventilation fan control node, a roller shutter control node, a heater control node, a water pump control node and an alarm light control node.
8. The ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology according to claim 6 is characterized in that: It includes multiple ZigBee bases, which are connected to each other through strong magnetic suction cups. Multiple ZigBee bases are spliced to form a mesh structure in a honeycomb shape. The interconnected ZigBee bases use RS-485 bus interface for wired communication, and each ZigBee base forms a cellular network through ZigBee wireless ad hoc network.
9. The ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology according to claim 7 is characterized in that: The temperature and humidity sensor is linked to the heater switch control executed by the control. When the temperature value is lower than the set threshold, the heater control switch is turned on for heating; when the temperature value meets the temperature value range of the indoor environment of agricultural cultivation, the heater control switch is turned off to stop heating; The light intensity sensor is linked to the shutter switch control executed by the control. When the light intensity is compared with the set threshold, if it does not meet the lighting requirements of plant growth, the shutter switch is opened; when the light intensity exceeds the set threshold, the shutter switch is closed. The hardware control part of the soil moisture sensor is buried in the soil at the root of the crop, and the sensor monitors the moisture condition of the soil at the root; the soil moisture sensor is linked to the water pump switch control executed by the control, and if the soil moisture detected by the detection circuit reaches the set soil moisture lower limit, the solenoid valve switch connected to the water pump is opened through the relay control; if the soil moisture detected by the detection circuit reaches the set soil moisture upper limit, the relay solenoid valve switch controlling the water pump is closed; The CO2 concentration sensor is linked to the ventilation fan switch control executed by the control. When the detected CO2 exceeds the upper limit or the lower limit, the ventilation fan is controlled to turn on; Atmospheric pressure sensors are used to measure air pressure conditions in agricultural environments; The rain and snow detection sensor is linked to the alarm light switch control executed by the control. The detection time interval value of the rain and snow detection sensor is set to a certain length of time. If the duration of rain and snow detection exceeds the set length of time, it is determined that the sensor detects the rain and snow state, and the alarm light switch is turned on for rain and snow warning; The light intensity sensor is linked to the plant growth lamp switch control executed by the control. When the light intensity is less than the set value, the plant growth lamp switch is turned on. Otherwise, the plant growth lamp switch is controlled to be turned off.
10. The ZigBee Internet of Things intelligent agriculture monitoring system based on cellular technology according to claim 6 is characterized in that: The RS-485 bus interface uses balanced transmission and differential reception to achieve communication: the transmitting end converts the TTL level signal of the serial port into two differential signal outputs a and b, and after cable transmission, the differential signal is restored to a TTL level signal at the receiving end.
Citation Information
Cited By
Heterogeneous model-based automatic driving and agricultural AI cooperation method and system
CN122173898A
A method and system for collaborative autonomous driving and agricultural AI based on heterogeneous models
CN122173898B