Wireless temperature and humidity acquisition module based on LoRa technology
Through the wireless temperature and humidity acquisition module based on LoRa technology, the problem of traditional wired transmission in complex environments is solved, the unity of low power consumption and long distance is achieved, and the construction cycle and labor cost is reduced.
Patent Information
- Application Number
- CN202510163417.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-04-22
AI Technical Summary
Traditional wired temperature and humidity transmission methods are difficult to erect in places with complex environments and terrain, making system construction difficult, long cycles, high cost, and vulnerable to damage.
The wireless temperature and humidity acquisition module based on LoRa technology is adopted to realize wireless data transmission through the combination of temperature acquisition chip, humidity acquisition chip, microcontroller unit MCU, LoRa chip and antenna.
On the basis of cost control, it meets the needs of on-site engineering application, shortens the construction cycle, reduces labor costs, and expands the propagation distance under the same power consumption, achieving the unity of low power consumption and long distance.
Smart Images

Figure CN119860813A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a wireless temperature and humidity acquisition module based on LoRa technology. Background Art
[0002] In recent years, with the continuous development of my country's industry, agriculture and technology science and technology, especially the development of communication technology, computer technology and sensor technology, especially the widespread application of temperature and humidity sensors in the information (technology) field, higher requirements have been put forward for the technical performance and indicators of temperature and humidity sensors.
[0003] How to transmit the non-electrical or electrical signals collected from analog and digital measurement units such as sensors and other measuring devices to the host computer for data analysis and processing has become a difficult problem. The advantages of traditional wired transmission methods are that the transmission quality is relatively reliable and real-time operation is good, but the one-time investment of the limited network set up for data collection is large, and it is difficult to set up lines in some environments with complex terrain. This makes the construction of wired transmission systems difficult, long-term, high-cost, high-operating cost, and easy to be damaged. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a wireless temperature and humidity acquisition module based on LoRa technology to solve the problems raised in the above background technology.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a wireless temperature and humidity acquisition module based on LoRa technology, including a temperature acquisition chip, a humidity acquisition chip and a lithium battery, wherein the temperature acquisition chip and the humidity acquisition chip are connected to a microcontroller unit MCU through a data layer transmission technology, and are used to transmit the collected digital signals of temperature and humidity to the microcontroller unit MCU, and the microcontroller unit MCU is connected to an LCD display and a LoRa chip through a data transmission technology, and is used to parse the received digital signals, and transmit the parsed data to the LCD display and the LoRa chip respectively, and the microcontroller unit MCU is also connected to a Button control through a data transmission technology, and is used to set the time, temperature and humidity units of the LCD display, and the LCD display is used to display the digital signal parsed by the MCU as Arabic numerals, and the LoRa chip is connected to an antenna through a data transmission technology, and the antenna is connected to a receiving device through a data transmission technology, and is used to transmit data wirelessly.
[0006] Preferably, the LoRa chip adopts a chip with spread spectrum modulation technology to occupy a wider bandwidth in the spectrum.
[0007] Preferably, the lithium batteries are connected to the LoRa chip, microcontroller unit MCU, LCD display, temperature acquisition chip, humidity acquisition chip, and Button control through a power management chip, and are used to provide power for the LoRa chip, microcontroller unit MCU, LCD display, temperature acquisition chip, humidity acquisition chip, and Button control.
[0008] Preferably, the LoRa chip converts the digital signal into an electromagnetic signal comprising the following steps: S1. compress and encode the original digital signal, remove redundant data, and use cyclic redundancy check or convolution code to add redundant bits to the digital signal; S2, using a chirp spread spectrum modulation method, modulate the coded digital signal with a specific spread spectrum sequence, change the signal frequency, and move it to the common frequency band of LoRa technology; S3, amplifying the modulated low-power signal through a power amplifier, and removing clutter and interference in the amplified signal through a filter; S4. Use the matching circuit to match the LoRa chip with the antenna impedance, and transmit the signal to the antenna through the coupling circuit. The antenna radiates the electromagnetic signal into space in the form of electromagnetic waves and sends it to the receiving device.
[0009] Preferably, in step S2, commonly used frequency bands include but are not limited to 433 MHz, 868 MHz, and 915 MHz.
[0010] Preferably, the microcontroller unit MCU transmits the parsed data to the LCD display and the LoRa chip, comprising the following steps: 1) Convert the data format, fill in the data length, and add a specific frame header and frame tail; 2) Generate corresponding instructions according to the control protocol of the LCD display, select the appropriate communication interface, and initialize the relevant parameters of the interface; 3) The microcontroller unit MCU sends a data request signal to the LCD display and the LoRa chip, notifying the LCD display and the LoRa chip that data will be transmitted soon, and waits for the LCD display and the LoRa chip to be ready to receive data; 4) When the LCD display and LoRa chip receive instructions or data, they display the data at the corresponding position according to the instructions and perform subsequent processing on the data.
[0011] Preferably, in step 2), the relevant parameters include but are not limited to baud rate, data bit, stop bit, check bit, and communication parameters including clock frequency, data transmission rate, and data bit width.
[0012] Preferably, the Button control setting the LCD display time includes the following steps: a. When the microcontroller unit MCU sends the control command to the LCD display, the Button control is triggered and determines whether it is used to set the time; b. After it is determined that the time is set, the time parameters are switched and selected, including year, month, day, hour, minute and second; c. After selecting the corresponding display time parameter, the Button control is triggered again to adjust the value; d. After adjusting the parameter value, the microcontroller unit MCU encodes the final set time parameter in a specific format and sends it to the LCD display.
[0013] The present invention provides a wireless temperature and humidity acquisition module based on LoRa technology. It has the following beneficial effects: The present invention uses the LoRa wireless temperature and humidity acquisition system to eliminate the need for on-site communication wiring. On the basis of controlling costs, it meets the application of on-site projects and greatly shortens the project construction period. In addition, the parameters can be automatically updated in real time, which greatly reduces labor costs. Under the same power consumption, the transmission distance is farther than other wireless methods, achieving the unity of low power consumption and long distance. Under the same power consumption, the communication distance is 3-5 times that of traditional wireless communication radio frequency, which has obvious advantages in temperature and humidity monitoring.
[0014] The present invention can provide secure two-way communication with long data transmission distance through a LoRa-based network, and cover urban areas with minimal network infrastructure. The LoRa wireless temperature and humidity acquisition system can be widely used in agricultural fields, greenhouses, computer rooms, buildings, hotels, libraries, industrial factories, hospitals, pharmacies, laboratories, offices, residential buildings, archives, warehouses, granaries, computer rooms and other places where temperature and humidity monitoring is required. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the system flow of the present invention. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example
[0017] like Figure 1As shown, an embodiment of the present invention provides a wireless temperature and humidity acquisition module based on LoRa technology, including a temperature acquisition chip, a humidity acquisition chip and a lithium battery. The temperature acquisition chip and the humidity acquisition chip are both connected to a microcontroller unit MCU through a data layer transmission technology, and are used to transmit the collected digital signals of temperature and humidity to the microcontroller unit MCU. The microcontroller unit MCU is connected to an LCD display and a LoRa chip through a data transmission technology, and is used to parse the received digital signal, and transmit the parsed data to the LCD display and the LoRa chip respectively. The microcontroller unit MCU is also connected to a Button control through a data transmission technology, and is used to set the time, temperature and humidity units of the LCD display. The LCD display is used to display the digital signal parsed by the MCU as Arabic numerals. The LoRa chip is connected to an antenna through a data transmission technology, and the antenna is connected to a receiving device through a data transmission technology for wireless data transmission.
[0018] In this embodiment, the LoRa chip uses a chip with spread spectrum modulation technology to occupy a wider bandwidth in the spectrum.
[0019] In this embodiment, the lithium batteries are connected to the LoRa chip, microcontroller unit MCU, LCD display, temperature acquisition chip, humidity acquisition chip, and Button control through the power management chip, and are used to provide power for the LoRa chip, microcontroller unit MCU, LCD display, temperature acquisition chip, humidity acquisition chip, and Button control.
[0020] In this embodiment, the LoRa chip converts the digital signal into an electromagnetic signal including the following steps: S1. Compress and encode the original digital signal, remove redundant data, and use cyclic redundancy check or convolution code to add redundant bits to the digital signal to improve the effectiveness of information transmission, reduce the amount of transmitted data, and enhance the signal's anti-interference ability; S2. Use the chirp spread spectrum modulation method to modulate the coded digital signal with a specific spread spectrum sequence, change the signal frequency, and move it to the common frequency band of LoRa technology to facilitate transmission in the wireless channel; S3, amplify the modulated low-power signal through a power amplifier, and use a filter to remove clutter and interference in the amplified signal, improve signal strength and amplitude, ensure long-distance transmission, make the electromagnetic signal purer, and improve signal quality; S4. Use the matching circuit to match the LoRa chip with the antenna impedance, and transmit the signal to the antenna through the coupling circuit. The antenna radiates the electromagnetic signal into space in the form of electromagnetic waves and sends it to the receiving device. Different types of antennas determine the radiation direction, intensity and propagation distance of the electromagnetic waves.
[0021] In this embodiment, in step S2, commonly used frequency bands include but are not limited to 433 MHz, 868 MHz, and 915 MHz.
[0022] Specifically, the LoRa-based network can provide secure two-way communication with long data transmission distances and cover urban areas with minimal network infrastructure. The LoRa wireless temperature and humidity acquisition system can be widely used in agricultural fields, greenhouses, computer rooms, buildings, hotels, libraries, industrial factories, hospitals, pharmacies, laboratories, offices, residential buildings, archives, warehouses, granaries, computer rooms and other places where temperature and humidity monitoring is required.
[0023] In this embodiment, the microcontroller unit MCU transmits the parsed data to the LCD display and the LoRa chip including the following steps: 1) Convert the data format, fill in the data length, and add a specific frame header and frame footer so that the LCD display can correctly identify and display the data content and meet the communication protocol requirements of the LoRa chip; 2) Generate corresponding instructions according to the control protocol of the LCD display. These instructions include setting the display position (such as row and column coordinates), selecting the display mode (such as normal display, reverse display, etc.), setting the font size and other information to ensure that the data can be presented on the display in the expected way. The microcontroller unit MCU needs to select the appropriate communication interface and initialize the relevant parameters of the interface according to the system design and chip characteristics; 3) The microcontroller unit MCU sends a data request signal to the LCD display and the LoRa chip, notifying the LCD display and the LoRa chip that data will be transmitted soon, and waits for the LCD display and the LoRa chip to be ready to receive data; 4) When the LCD display and LoRa chip receive instructions or data, they display the data at the corresponding position according to the instructions and perform subsequent processing on the data so that it can be transmitted wirelessly.
[0024] In this embodiment, in step 2), the relevant parameters include but are not limited to baud rate, data bit, stop bit, check bit, and communication parameters, including clock frequency, data transmission rate, and data bit width.
[0025] In this embodiment, the Button control sets the LCD display time including the following steps: a. When the microcontroller unit MCU sends the control instruction to the LCD display, the Button control is triggered, and it is determined whether it is used to set the time. The microcontroller unit MCU detects this level change through interruption or polling, and thus knows that the Button control is triggered; b. When it is determined that the user is setting the time, the time parameters are switched and selected. The parameters include year, month, day, hour, minute and second. After receiving the instruction, the LCD display screen switches to the time setting interface, usually with flashing numbers or specific symbols to remind the user that the time setting state is currently in progress; c. After selecting the corresponding display time parameter, the Button control is triggered again to adjust the value. The microcontroller unit MCU monitors the operation of the Button control in real time and sends the corresponding parameter adjustment information to the LCD display; d. After adjusting the parameter value, the microcontroller unit MCU will encode the final set time parameter in a specific format and send it to the LCD display. At the same time, the microcontroller unit MCU may also store the time data in the internal memory or external storage device for subsequent use and system calibration. After receiving the time data, the LCD display updates the display content, exits the time setting mode, and resumes the normal display state.
[0026] Specifically, the LoRa wireless temperature and humidity acquisition system does not require communication wiring on site. On the basis of controlling costs, it meets the application of on-site projects and greatly shortens the construction period. In addition, the parameters can be automatically updated in real time, which greatly reduces labor costs. At the same power consumption, it can transmit farther than other wireless methods, achieving the unity of low power consumption and long distance. At the same power consumption, it can expand the communication distance 3-5 times that of traditional wireless communication RF, and has obvious advantages in temperature and humidity monitoring.
[0027] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A wireless temperature and humidity acquisition module based on LoRa technology, including a temperature acquisition chip, a humidity acquisition chip and a lithium battery, characterized in that: The temperature acquisition chip and the humidity acquisition chip are both connected to the microcontroller unit MCU through data layer transmission technology, and are used to transmit the collected digital signals of temperature and humidity to the microcontroller unit MCU. The microcontroller unit MCU is connected to the LCD display and the LoRa chip through data transmission technology, and is used to parse the received digital signals, and transmit the parsed data to the LCD display and the LoRa chip respectively. The microcontroller unit MCU is also connected to the Button control through data transmission technology, and is used to set the time, temperature and humidity units of the LCD display. The LCD display is used to display the digital signal parsed by the MCU as Arabic numerals. The LoRa chip is connected to the antenna through data transmission technology, and the antenna is connected to the receiving device through data transmission technology for wireless data transmission.
2. A wireless temperature and humidity acquisition module based on LoRa technology according to claim 1, characterized in that: The LoRa chip uses a chip with spread spectrum modulation technology to occupy a wider bandwidth in the spectrum.
3. A wireless temperature and humidity acquisition module based on LoRa technology according to claim 1, characterized in that: The lithium batteries are connected to the LoRa chip, the microcontroller unit MCU, the LCD display, the temperature acquisition chip, the humidity acquisition chip, and the Button control through the power management chip, and are used to provide power for the LoRa chip, the microcontroller unit MCU, the LCD display, the temperature acquisition chip, the humidity acquisition chip, and the Button control.
4. A wireless temperature and humidity acquisition module based on LoRa technology according to claim 1, characterized in that: The LoRa chip converts the digital signal into an electromagnetic signal including the following steps: S1. compress and encode the original digital signal, remove redundant data, and use cyclic redundancy check or convolution code to add redundant bits to the digital signal; S2, using a chirp spread spectrum modulation method, modulate the coded digital signal with a specific spread spectrum sequence, change the signal frequency, and move it to the common frequency band of LoRa technology; S3, amplifying the modulated low-power signal through a power amplifier, and removing clutter and interference in the amplified signal through a filter; S4. Use the matching circuit to match the LoRa chip with the antenna impedance, and transmit the signal to the antenna through the coupling circuit. The antenna radiates the electromagnetic signal into space in the form of electromagnetic waves and sends it to the receiving device.
5. A wireless temperature and humidity acquisition module based on LoRa technology according to claim 4, characterized in that: In step S2, commonly used frequency bands include but are not limited to 433 MHz, 868 MHz, and 915 MHz.
6. A wireless temperature and humidity acquisition module based on LoRa technology according to claim 1, characterized in that: The microcontroller unit MCU transmits the parsed data to the LCD display and the LoRa chip, including the following steps: 1) Convert the data format, fill in the data length, and add a specific frame header and frame tail; 2) Generate corresponding instructions according to the control protocol of the LCD display, select the appropriate communication interface, and initialize the relevant parameters of the interface; 3) The microcontroller unit MCU sends a data request signal to the LCD display and the LoRa chip, notifying the LCD display and the LoRa chip that data will be transmitted soon, and waits for the LCD display and the LoRa chip to be ready to receive data; 4) When the LCD display and LoRa chip receive instructions or data, they display the data at the corresponding position according to the instructions and perform subsequent processing on the data.
7. A wireless temperature and humidity acquisition module based on LoRa technology according to claim 1, characterized in that: In the step 2), the relevant parameters include but are not limited to baud rate, data bit, stop bit, check bit, and communication parameters, including clock frequency, data transmission rate, and data bit width.
8. The wireless temperature and humidity acquisition module based on LoRa technology according to claim 1, characterized in that: The Button control sets the LCD display time including the following steps: a. When the microcontroller unit MCU sends the control command to the LCD display, the Button control is triggered and determines whether it is used to set the time; b. After it is determined that the time is set, the time parameters are switched and selected, including year, month, day, hour, minute and second; c. After selecting the corresponding display time parameter, the Button control is triggered again to adjust the value; d. After adjusting the parameter value, the microcontroller unit MCU encodes the final set time parameter in a specific format and sends it to the LCD display.