A multi-purpose sensor device based on an stm32 processor
By designing pluggable aviation connectors, Z-shaped folding antennas, and mounting components, the problems of difficult sensor maintenance, unstable communication, and inconvenient installation in complex agricultural and forestry scenarios have been solved, enabling convenient sensor replacement, stable communication, and efficient monitoring.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- ZHEJIANG GOLDEN MAPLE DATA SERVICE CO LTD
- Filing Date
- 2025-09-10
- Publication Date
- 2026-07-14
AI Technical Summary
Existing multi-sensor devices suffer from poor adaptability in complex agricultural and forestry scenarios, including poor sensor maintenance and scenario adaptability, poor communication stability, and inconvenience in fixed use. They are unable to meet the monitoring needs of integrated field and greenhouse operations and long-term unattended operation. Specific problems include: sensor probes are prone to wear, maintenance efficiency is low, communication stability is insufficient, signal is prone to attenuation, installation is inconvenient, and they cannot meet the needs of all field scenarios.
The sensor probe is connected via a pluggable aviation connector, and is equipped with a Z-shaped folded antenna and a metal shielding mesh. Combined with the mounting components, it enables quick replacement, stable communication, and convenient installation. Data acquisition and processing are achieved through an STM32 processor, and lithium battery power ensures monitoring stability.
It enables convenient replacement of sensor probes, improves maintenance efficiency, enhances communication stability and installation convenience, meets the full-scene monitoring needs of Datian, and ensures real-time data upload and monitoring accuracy.
Smart Images

Figure CN224499570U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of agricultural environmental monitoring technology, specifically to a multi-purpose sensor device based on an STM32 processor. Background Technology
[0002] With the accelerated modernization of agriculture and forestry, precise and real-time multi-parameter monitoring equipment is essential for controlling air temperature and humidity, CO2 concentration, and light intensity in greenhouses, as well as monitoring soil temperature, humidity, nutrient content, and pH levels in field crops. This data is crucial for guiding irrigation, fertilization, ventilation, and other production operations to ensure stable crop growth conditions. Driven by this demand, integrated multi-sensor devices have become mainstream, with their core control units often employing STM32 series 32-bit microcontrollers. These controllers, due to their high performance, low power consumption, and rich peripherals, can efficiently achieve data acquisition, processing, and feedback, and are widely used in this field.
[0003] In the prior art, there have been explorations of related multi-sensor devices, such as the "Greenhouse Environmental Information Acquisition and Real-time Online Monitoring Device Based on STM32" disclosed in Chinese Patent Application No. 201720193129.8. It includes a system control center (using an STM32F103ZET6 controller), a display unit (working status indicator light + LCD display), a power supply unit (12V lithium battery + step-down module), a data acquisition unit (temperature and humidity sensor SHT11, carbon dioxide sensor COZIR-W, light intensity sensor BH1750), a data storage unit (local SD storage + cloud database storage), and a data monitoring unit (USB offline monitoring + PC webpage online monitoring). It has the advantages of small size, easy portability, independent device integration, long transmission distance, and strong real-time performance, and has shown certain value in greenhouse environmental monitoring.
[0004] However, existing multi-sensor devices (including the aforementioned patented devices) still have many shortcomings in adapting to complex agricultural and forestry scenarios, making it difficult to meet the monitoring needs of integrated field and greenhouse operations and long-term unattended operation. The specific problems are as follows:
[0005] 1. Poor sensor maintenance and scene adaptability: The sensors of the above-mentioned patented devices (SHT11, COZIR-W, etc.) are fixedly connected and lack convenient replacement structures. In farmland environments, the sensor probes are easily worn down by soil friction and rainwater erosion. Replacement requires disassembling and repairing the main body of the device, resulting in low maintenance efficiency and high costs. Furthermore, they only cover greenhouse air parameter monitoring and lack the ability to monitor core field parameters such as soil temperature, humidity, nutrients, and pH value. Scene adaptability is limited to greenhouses and cannot meet the needs of all field scenarios.
[0006] 2. Insufficient communication stability and anti-interference: The aforementioned patented device does not have a dedicated communication antenna designed for the complex environment of farmland. Trees and crops in the field can easily cause signal attenuation, resulting in a low data upload success rate and making it difficult to guarantee the core requirement of "real-time online monitoring". At the same time, its sensor signal lines do not mention anti-interference design. Electromagnetic interference generated by farmland machinery and high-voltage lines can easily cause data distortion and affect the accuracy of monitoring.
[0007] 3. Inconvenient device fixation: The above-mentioned patented device is not designed with a special fixing structure for agricultural and forestry scenarios. It only relies on conventional placement or simple binding methods for installation. When it needs to be fixed to the horizontal frame in greenhouses or to the support frame in fields, there are no suitable quick fixing parts. The device is easily displaced or tilted due to wind or vibration of agricultural machinery, which affects the monitoring stability. In addition, additional tools such as ropes and buckles are required for installation, which is cumbersome and cannot meet the diverse fixing needs. Utility Model Content
[0008] The present invention aims to solve the problems mentioned in the background art by providing a multi-purpose sensor device based on an STM32 processor.
[0009] The specific technical solution is as follows:
[0010] A multi-purpose sensor device based on an STM32 processor includes: a main unit housing, an STM32 processor installed inside the main unit housing, a battery compartment containing a lithium battery, a power management module inside the main unit housing, the lithium battery being electrically connected to the power pin of the STM32 processor via the power management module to form an emergency power supply circuit, a display screen at one end of the main unit housing, the display screen being electrically connected to the display interface of the STM32 processor via a ribbon cable, a first aviation connector and a second aviation connector on both sides of the main unit housing, an activation button at one end of the main unit housing, the activation button being electrically connected to the interrupt pin of the STM32 processor via a wire to form a button display linkage circuit, two mounting components detachably mounted on the upper surface of the main unit housing, two sockets on the upper surface of the main unit housing, and a 4G communication module inside the main unit housing.
[0011] In a preferred embodiment of this utility model, the main unit housing can be plugged into and disconnected to sensor probes via a first aviation connector and a second aviation connector, respectively. The sensor probes include an environmental probe and a soil probe. The display area of the display screen is directly connected to the signal input lines of the first aviation connector and the second aviation connector, as well as the status output lines of the power management module, via hardware circuitry. A power switch is provided on one side of the main unit housing, and a USB interface is provided on the other side. The power switch is electrically connected to the on / off control terminal of the power management module and is used to control the opening and closing of the power supply circuit of the entire device. The data interface of the 4G communication module is electrically connected to the corresponding interface of the STM32 processor, and the power supply terminal of the 4G communication module is electrically connected to the power supply terminal of the power management module.
[0012] As a preferred embodiment of this utility model, a slot is provided at one end of the upper surface of the main unit housing, and a folding antenna is installed in the slot. The folding antenna has a stepped segmented structure, and the segments are connected by hinges. After unfolding, it can be completely embedded in the slot of the main unit housing after being folded in a Z-shape. The signal output end of the 4G communication module is connected to the signal input end of the folding antenna through a cable.
[0013] As a preferred embodiment of this utility model, the environmental probe includes a probe for detecting air temperature and humidity, CO2 concentration, and light intensity, and the soil probe includes a probe for detecting soil temperature and humidity, soil nutrient content, and soil pH value.
[0014] As a preferred embodiment of this utility model, the signal line of the sensor probe is wrapped with a metal shielding mesh, and the connection between the sensor probe and the first aviation connector and the second aviation connector is provided with a waterproof and dustproof silicone sleeve. The outer layer of the folding antenna is wrapped with an aging-resistant silicone protective sleeve, and the connection between the antenna and the main unit housing is provided with a waterproof rubber pad.
[0015] As a preferred embodiment of this utility model, the mounting component includes a U-shaped block, a connecting plate is fixedly installed on one side of the U-shaped block, the surface of the connecting plate is provided with the same insertion hole as the main unit housing, the positioning screw is inserted into the insertion hole to fix the U-shaped block to the upper surface of the main unit housing, and extrusion adhesive blocks are respectively glued to both sides of the inner wall of the U-shaped block.
[0016] As a preferred embodiment of this utility model, the two ends of the lower surface of the U-shaped block are respectively equipped with linkage plates. The two linkage plates are provided with threaded holes at positions corresponding to one side of the main unit housing. Fastening bolts are threaded into the threaded holes. By screwing the fastening bolts into the threaded holes provided in the main unit housing, the U-shaped block is driven to retract inward, so that the inner wall squeezes the rubber block to press the greenhouse cross frame.
[0017] This utility model has the following beneficial effects:
[0018] 1. Convenient replacement and scenario expansion: The sensor probes are plugged in and out via the first and second aviation connectors. When the environmental and soil probes are worn, there is no need to disassemble the main unit casing for repair; they can be replaced simply by plugging and unplugging. Compared with the patented device in the background technology, which requires disassembly and repair of the main unit to fix the sensor, the maintenance efficiency is greatly improved. It also simultaneously covers the monitoring of greenhouse parameters such as air temperature and humidity and CO2 concentration, as well as field parameters such as soil temperature and humidity, nutrients, and pH value, breaking through the limitations of greenhouse scenarios and meeting the needs of all field scenarios.
[0019] 2. Enhanced Communication Stability and Anti-interference: The folding antenna inside the slot of the main unit's casing adopts a Z-shaped unfolding structure. After unfolding, it can break through the obstruction of trees and crops in farmland. Combined with the 4G communication module, it can achieve stable data transmission and significantly improve the data upload success rate. At the same time, the outer layer of the sensor probe signal line is wrapped with a metal shielding mesh, which can resist electromagnetic interference from agricultural machinery and high-voltage lines. Compared with the shortcomings of the patented device in the background technology, which "lacks a dedicated communication antenna and anti-interference design", it completely solves the problems of signal attenuation and data distortion, ensuring the needs of real-time online monitoring.
[0020] 3. Convenient fixing and optimized installation: By using the hanging components on the upper surface of the main unit's casing, the U-shaped block can be snapped into the greenhouse cross frame or field support. Tightening the fastening bolts will cause the U-shaped block to retract and the rubber block to be pressed and fixed. No additional ropes, clips or other tools are needed, which can meet diverse installation needs and improve installation and use efficiency. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the overall structure of a multi-purpose sensor device based on an STM32 processor provided in an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of the USB interface structure of the multi-purpose sensor device based on the STM32 processor provided in this embodiment of the utility model;
[0023] Figure 3 A schematic diagram of the folded antenna structure of the multi-purpose sensor device based on the STM32 processor provided in this embodiment of the utility model;
[0024] Figure 4 A schematic diagram of the display content structure of the multi-purpose sensor device based on an STM32 processor provided in this embodiment of the present invention;
[0025] Figure 5 A schematic diagram of the internal structure of the multi-purpose sensor device based on an STM32 processor provided in this embodiment of the present invention;
[0026] Figure 6 A schematic diagram of the mounting component structure of the multi-purpose sensor device based on the STM32 processor provided in this embodiment of the utility model.
[0027] In the attached image:
[0028] 1. Main unit casing; 101. Display screen; 102. Activation button; 103. Foldable antenna; 104. Lithium battery; 105. STM32 processor; 106. Power management module; 107. 4G communication module;
[0029] 2. First aviation connector; 201. USB interface; 202. Second aviation connector; 203. Soil probe; 204. Environmental probe;
[0030] 3. Power switch;
[0031] 4. Hanging components; 401. U-shaped block; 402. Connecting plate; 403. Positioning screw; 404. Extrusion block; 405. Linkage plate; 406. Fastening bolt. Detailed Implementation
[0032] The technical solution of this utility model will be further described below with reference to the accompanying drawings and specific embodiments.
[0033] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual images. They should not be construed as limiting the scope of this patent. To better illustrate the embodiments of this utility model, some components in the drawings may be omitted, enlarged, or reduced, and do not represent the actual dimensions of the product. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0034] In the accompanying drawings of this utility model, the same or similar reference numerals correspond to the same or similar components. In the description of this utility model, it should be understood that if terms such as "upper," "lower," "left," "right," "inner," and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting this patent. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.
[0035] In the description of this utility model, unless otherwise explicitly specified and limited, the term "connection" or similar designation indicating the connection relationship between components should be interpreted broadly. For example, it can refer to a fixed connection, a detachable connection, or an integral part; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.
[0036] Example 1
[0037] The multi-purpose sensor device based on an STM32 processor provided in this embodiment, such as Figures 1-6As shown, the main unit casing 1 houses an STM32 processor 105 and a battery compartment containing a lithium battery 104. A power management module 106 is also located within the casing. The lithium battery 104 is electrically connected to the power pins of the STM32 processor 105 via the power management module 106, forming an emergency power supply circuit. A display screen 101 is located at one end of the casing, connected to the display interface of the STM32 processor 105 via a ribbon cable. A first aviation connector 2 and a second aviation connector 202 are located on both sides of the casing. An activation button 102 is located at one end of the casing, connected to the interrupt pin of the STM32 processor 105 via a wire, forming a button-display linkage circuit. Two mounting components 4 are detachably mounted on the upper surface of the casing. Two sockets are located on the upper surface of the casing. A 4G communication module 107 is located inside the casing. The main unit casing 1 can be plugged into and unplugged to connect sensor probes via the first aviation connector 2 and the second aviation connector 202 respectively. The sensor probes include an environmental probe 204 and a soil probe 203. The display area of the display screen 101 is directly connected to the signal input lines of the first aviation connector 2 and the second aviation connector 202 and the status output lines of the power management module 106 via hardware lines. A power switch 3 is provided on one side of the main unit casing 1, and a USB interface 201 is provided on the other side of the main unit casing 1. The power switch 3 is electrically connected to the on / off control terminal of the power management module 106 and is used to control the opening and closing of the power supply circuit of the whole machine. The data interface of the 4G communication module 107 is electrically connected to the corresponding interface of the STM32 processor 105, and the power supply terminal of the 4G communication module 107 is electrically connected to the power supply terminal of the power management module 106. A slot is provided at one end of the upper surface of the main unit casing 1. A folding antenna 103 is installed in the slot. The folding antenna 103 has a stepped segmented structure, and its segments are connected by hinges. When unfolded, it folds in a Z-shape and can be completely embedded in the slot of the main unit casing 1. The signal output terminal of the 4G communication module 107 is connected to the signal input terminal of the folding antenna 103 via a cable. The environmental probe 204 includes probes for detecting air temperature and humidity, CO2 concentration, and light intensity. The soil probe 203 includes probes for detecting soil temperature and humidity, soil nutrient content, and soil pH value. The signal lines of the sensor probes are wrapped with a metal shielding mesh, and the connection points between the sensor probes and the first aviation connector 2 and the second aviation connector 202 are equipped with waterproof and dustproof silicone sleeves. The folding antenna 103 is wrapped with an aging-resistant silicone protective sleeve, and the connection point between the antenna and the main unit casing 1 is equipped with a waterproof gasket.
[0038] Through the design of the power management module 106, STM32 processor 105, display screen 101, and foldable antenna 103, when the power switch 3 is turned to the ON position or the USB interface 201 is connected for power supply, the power switch 3 triggers the power management module 106 to conduct the power supply circuit. After the STM32 processor 105 is powered on, it initializes each module. The STM32 processor 105 drives the display screen 101 through the display interface and ribbon cable. The display screen 101 directly receives the sensor signals from the first aviation connector 2 and the second aviation connector 202, as well as the status signals from the power management module 106, through hardware circuitry. When it is necessary to replace the worn environmental probe 204 or soil probe 203, the corresponding aviation connector can be directly plugged in and unplugged without disassembling the main unit casing 1. The 4G communication module 107 achieves stable bidirectional communication through its connection with the STM32 processor 105 and foldable antenna 103, ensuring data upload and command reception. Combined with the outer anti-aging silicone protective sleeve and the waterproof gasket at the connection point, it can reduce... The lithium battery 104 minimizes signal attenuation caused by trees and crops in the farmland, and avoids scratches and damage during transportation or field operations, ensuring communication stability. It forms an emergency power supply circuit with the STM32 processor 105 through the power management module 106. When the farmland loses power, it can automatically switch to the lithium battery 104 for power supply. The power management module 106 can also realize overcharge and over-discharge protection. When the device is not operated continuously, the STM32 processor 105 controls the display screen 101 to enter a low power mode. After pressing the activation button 102, the activation button 102 sends a trigger signal to the STM32 processor 105 through the interrupt pin, quickly waking up the display screen 101 and restoring the display, which greatly extends the battery life of the lithium battery 104 and is suitable for the long-term monitoring needs of unattended farmland. In addition, the metal shielding mesh on the outer layer of the sensor probe signal line can shield the electromagnetic interference generated by agricultural machinery and high-voltage lines, ensuring accurate data collection. The mounting component 4 can improve the stability and adaptability of the installation in the agricultural greenhouse environment.
[0039] Example 2
[0040] The multi-purpose sensor device based on an STM32 processor provided in this embodiment, such as Figures 2-6 As shown, the mounting component 4 includes a U-shaped block 401. A connecting plate 402 is fixedly installed on one side of the U-shaped block 401. The surface of the connecting plate 402 has the same insertion hole as the main unit housing 1. A positioning screw 403 is inserted into the insertion hole to fix the U-shaped block 401 to the upper surface of the main unit housing 1. Extrusion adhesive blocks 404 are respectively glued to both sides of the inner wall of the U-shaped block 401. Linkage plates 405 are respectively installed at both ends of the lower surface of the U-shaped block 401. The two linkage plates 405 are respectively provided with threaded holes at corresponding positions on one side of the main unit housing 1. Fastening bolts 406 are threaded into the threaded holes. By screwing the fastening bolts 406 into the threaded holes provided in the main unit housing 1, the U-shaped block 401 is driven to retract inward, so that the extrusion adhesive blocks 404 on the inner wall press against the greenhouse cross frame.
[0041] With the design of U-shaped block 401, extrusion block 404, and linkage plate 405, during installation and use, the open end of U-shaped block 401 is engaged with the greenhouse cross frame. The positioning screw 403 passes through the insertion hole of the connecting plate 402 and the main unit housing 1 to fix U-shaped block 401 to the main unit housing 1. The fastening bolt 406 is rotated to screw into the threaded hole of the main unit housing 1. The fastening bolt 406 pushes the linkage plate 405 to move the open end of U-shaped block 401 inward until the inner wall extrusion block 404 is tightly attached to the greenhouse cross frame, thus achieving quick fixation. The extrusion block 404 reduces displacement or tilting caused by external vibration, thereby improving convenience and reducing the occurrence of cumbersome fixation problems.
[0042] It is worth noting that the appendix Figure 4 Number of elements: 1. Data communication symbol, 2. 4G signal strength, 3. 4G or 2G network format, 4. Other network standards, 5. Battery power information, 6. Upgrade program via USB interface, 7. Sensor probe number information, 8. Corresponding sensor data, 9. Numbers ① and ② represent data acquisition channels 1 and 2 respectively, 10. Clock information, 11. Corresponding sensor data.
[0043] Specifically, in this embodiment, the environmental probes include probes for detecting air temperature and humidity, CO2 concentration, and light intensity, while the soil probes include probes for detecting soil temperature and humidity, soil nutrient content, and soil pH value.
[0044] In summary, the multi-purpose sensor device based on the STM32 processor provided in this embodiment has the following advantages: the probe can be replaced by simply plugging and unplugging it through a pluggable aviation connector without disassembling the main unit, which greatly reduces the difficulty and cost of maintenance; the dual power supply modes of external power supply and built-in lithium battery 104 for emergency power supply can avoid power instability and ensure uninterrupted monitoring; the foldable antenna 103 reduces shading by farmland crops and ensures communication stability; and the mounting component 4 can be quickly fixed to the greenhouse frame, improving installation adaptability.
[0045] Working principle
[0046] This device uses the STM32 processor 105 installed inside the main unit casing 1 as its core. Through a closed-loop process of "power supply - data acquisition - signal processing - display - communication - low power protection", it achieves accurate and continuous monitoring of farmland environment and soil parameters. Each link relies on the coordinated work of components. The specific principle is as follows:
[0047] 1. Power supply and power failure protection:
[0048] For standard power supply, first connect the USB interface 201 to an external power source, then toggle the switch 3 to activate the circuit, allowing the power adapter to be connected via the USB interface 201. Simultaneously, the USB interface 201 can directly charge the lithium battery 104 built into the main unit casing 1, meeting offline usage requirements. The lithium battery 104 is connected to the STM32 processor 105 via the power management module 106. When the external power supply is interrupted, the lithium battery 104 automatically switches to emergency power supply, ensuring that core components such as the sensor probe do not stop working. The lithium battery 104 has NTC protection, which can be implemented through the power management module 106 for overcharge, over-discharge, and overcurrent protection to prevent battery damage. When the external power supply is interrupted, the power management module 106 automatically switches the power supply circuit, allowing the lithium battery 104 to power the STM32 processor 105, sensor probe, and other core components, ensuring that these components do not stop working and preventing monitoring interruptions and data loss.
[0049] 2. Data Acquisition and Signal Processing:
[0050] The first aviation connector 2 and the second aviation connector 202 on both sides of the main unit casing 1 can be plugged into and connected to the sensor probes. The environmental probe 204 is used to detect air temperature and humidity, CO2 concentration, and light intensity. The soil probe 203 is used to detect soil temperature and humidity, soil nutrient content, and soil pH value. The STM32 processor 105 sends acquisition commands to the sensor probes at preset intervals and receives raw parameter signals. The outer layer of the sensor probe signal line is wrapped with a metal shielding mesh to resist electromagnetic interference from farmland and agricultural machinery equipment and high-voltage lines, ensuring the stability of the raw signal. The STM32 processor 105 filters the received raw signal and converts it into quantifiable monitoring values, while removing abnormal data to ensure monitoring accuracy.
[0051] 3. Data display and status feedback:
[0052] The STM32 processor 105 drives the display screen 101 at one end of the main unit casing 1 via a ribbon cable, updating and displaying various types of information in real time, including 4G signal strength, lithium battery 104 power level, communication status, time information, sensor channel number and processed monitoring data. Core information can be obtained intuitively without connecting to external devices. When the device is not operated continuously, the display screen 101 automatically enters a low-power mode to reduce the power consumption of the lithium battery 104. When it needs to be woken up, press the activation button 102 at one end of the main unit casing 1. The activation button 102 sends a signal to the interrupt pin of the STM32 processor 105 through a wire, triggering the display screen 101 to resume full information display, balancing the needs of battery life and data viewing.
[0053] 4. Data communication and anti-interference protection:
[0054] The folded antenna 103, located in the slot on the upper surface of the main unit casing 1, is responsible for receiving and transmitting signals. Its segments are connected by hinges, and when unfolded, it forms a Z-shape to improve the signal reception height, overcome the obstruction of farmland trees and crops, and ensure the stability of the communication connection. The folded antenna 103 is wrapped with an aging-resistant silicone protective sleeve, and a waterproof gasket is provided at the connection point with the main unit casing 1 to prevent outdoor rain and dust from affecting communication, enabling real-time uploading of monitoring data to the cloud or host computer. The data interface of the 4G communication module 107 is electrically connected to the corresponding interface of the STM32 processor 105, and the power supply end is electrically connected to the power supply end of the power management module 106. The signal output end is connected to the signal input end of the folded antenna 103 through a cable, further ensuring the stability of bidirectional communication.
[0055] How to use
[0056] Engage the U-shaped block 401 with the greenhouse crossbeam, rotate the fastening bolt 406 on the linkage plate 405 to retract the U-shaped block 401, compress the rubber block 404 to tighten the crossbeam, and gently pull to confirm it is secure, thus fixing the main unit casing 1 at the usage location. To connect to power, plug the power adapter into the USB port 201. For offline use, first charge the lithium battery 104 via the USB port 201. Once fully charged, toggle the power switch 3 on the side of the main unit casing 1 to "ON". The display 101 will light up, indicating startup. Select either the environmental probe 204 or the soil probe 203 as needed, aligning them with the first aviation connector 2 or the second aviation connector 202 on the side of the main unit casing 1 for plugging and unplugging. Ensure the waterproof and dustproof silicone sleeve at the connection point is properly fitted. After device initialization, the display 101 will automatically display monitoring data and device status. In low-power mode, press the activation button 102 to wake up the device. To change the acquisition interval, use the USB port... The 201 connector is connected to the host computer and configured in the software. When the display screen 101 shows that the lithium battery 104 is low, charge it via USB interface 201. Regularly check the waterproof structure, folding antenna 103, and mounting component 4 bolts. Replace worn probes by plugging and unplugging them. If firmware upgrades are needed, such as optimizing data processing algorithms, connect the device to the computer via USB interface 201, open the host computer software, select the "Firmware Upgrade" module, import the official upgrade package, and follow the prompts to complete the upgrade. Do not disconnect the USB interface 201 during the upgrade process to avoid program corruption. If local data export is required: connect the device to the computer via USB interface 201. The "Data Export" module of the host computer software can extract historical monitoring data supporting Excel format. Alternatively, real-time and historical data can be directly viewed and downloaded on the cloud platform via the 4G communication of the folding antenna 103, adapting to remote data management in unattended scenarios.
[0057] The above are merely preferred embodiments of the present utility model and are not intended to limit the implementation methods and protection scope of the present utility model. Those skilled in the art should realize that any equivalent substitutions and obvious changes made based on the description and illustrations of the present utility model should be included within the protection scope of the present utility model.
Claims
1. A multi-purpose sensor device based on an STM32 processor, characterized in that, include: The host casing (1) houses an STM32 processor (105), a battery compartment containing a lithium battery (104), and a power management module (106). The lithium battery (104) is electrically connected to the power pins of the STM32 processor (105) via the power management module (106) to form an emergency power supply circuit. One end of the host casing (1) has a display screen (101), which is connected to the STM32 processor via a ribbon cable. The display interface of (105) is electrically connected. The main body shell (1) is provided with a first aviation connector (2) and a second aviation connector (202) on both sides. The main body shell (1) is provided with an activation button (102) at one end. The activation button (102) is electrically connected to the interrupt pin of the STM32 processor (105) through a wire to form a key display linkage circuit. Two mounting components (4) are detachably installed on the upper surface of the main body shell (1). The upper surface of the main body shell (1) is provided with two sockets. The main body shell (1) is provided with a 4G communication module (107).
2. The multi-purpose sensor device based on an STM32 processor according to claim 1, characterized in that, The main unit housing (1) can be plugged and unplugged to connect sensor probes via the first aviation connector (2) and the second aviation connector (202). The sensor probes include an environmental probe (204) and a soil probe (203). The display area of the display screen (101) is directly connected to the signal input lines of the first aviation connector (2) and the second aviation connector (202) and the status output lines of the power management module (106) via hardware lines. A power switch (3) is provided on one side of the main unit housing (1), and a USB interface (201) is provided on the other side of the main unit housing (1). The power switch (3) is electrically connected to the on / off control terminal of the power management module (106) and is used to control the opening and closing of the power supply circuit of the whole machine. The data interface of the 4G communication module (107) is electrically connected to the corresponding interface of the STM32 processor (105). The power supply terminal of the 4G communication module (107) is electrically connected to the power supply terminal of the power management module (106).
3. The multi-purpose sensor device based on an STM32 processor according to claim 2, characterized in that, The upper surface of the main unit housing (1) is provided with a slot, and a folding antenna (103) is installed in the slot. The folding antenna (103) is a stepped segmented structure, and its segments are connected by hinges. After unfolding, it can be completely embedded in the slot of the main unit housing (1) after being folded in a Z-shape. The signal output end of the 4G communication module (107) is connected to the signal input end of the folding antenna (103) through a cable.
4. The multi-purpose sensor device based on an STM32 processor according to claim 3, characterized in that, The environmental probe (204) includes probes for detecting air temperature and humidity, CO2 concentration and light intensity, and the soil probe (203) includes probes for detecting soil temperature and humidity, soil nutrient content and soil pH value.
5. The multi-purpose sensor device based on an STM32 processor according to claim 4, characterized in that, The outer layer of the signal line of the sensor probe is wrapped with a metal shielding mesh, and the connection between the sensor probe and the first aviation connector (2) and the second aviation connector (202) is provided with a waterproof and dustproof silicone sleeve. The outer layer of the folding antenna (103) is wrapped with an aging-resistant silicone protective sleeve, and the connection between the antenna and the main unit housing (1) is provided with a waterproof rubber pad.
6. The multi-purpose sensor device based on an STM32 processor according to claim 1, characterized in that, The mounting component (4) includes a U-shaped block (401), a connecting plate (402) is fixedly installed on one side of the U-shaped block (401), the surface of the connecting plate (402) is provided with the same insertion hole as the main unit housing (1), and a positioning screw (403) is inserted into the insertion hole to fix the U-shaped block (401) to the upper surface of the main unit housing (1), and extrusion adhesive blocks (404) are respectively glued to both sides of the inner wall of the U-shaped block (401).
7. The multi-purpose sensor device based on an STM32 processor according to claim 6, characterized in that, The lower surface of the U-shaped block (401) is equipped with two linkage plates (405) at both ends. The two linkage plates (405) are provided with threaded holes at the corresponding positions on one side of the main body shell (1). The threaded holes are connected with fastening bolts (406). By screwing the fastening bolts (406) into the threaded holes provided in the main body shell (1), the U-shaped block (401) is driven to retract inward, so that the inner wall squeeze rubber block (404) presses the greenhouse cross frame.