Fire alarm control system based on LoRa
By designing a fire alarm control system based on LoRa, the problem of limited use scenarios of existing fire alarms in old communities is solved, remote data acquisition and real-time online upload are realized, and the risk of fire accidents is reduced.
Patent Information
- Application Number
- CN202421554144.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2034-07-03
AI Technical Summary
The existing fire alarms are limited in use in old communities, and they cannot achieve remote data acquisition and real-time online upload, making it difficult for property owners and household owners to know the indoor fire situation in a timely manner, increasing the risk of fire accidents.
A fire alarm control system based on LoRa is designed, including an alarm module, a wireless transmission module, a cloud platform, a big data platform terminal and a client. Through LoRa technology, the alarm signals of sensor signals and alarm modules are transmitted to the cloud platform to realize remote data acquisition and real-time network upload.
The system can remotely obtain equipment status data of the fire alarm system, making it easier for third parties to receive data signals collected by the alarm module, ensure that the technical solution is suitable for more application scenarios, and reduce the risk of fire accidents.
Smart Images

Figure CN222867147U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of fire alarm devices, in particular to a fire alarm control system based on LoRa. Background Art
[0002] With the popularization of electrical appliances, fire alarm devices have become a common device in ordinary households. However, China's urbanization process has been developing for 30 years, and the power supply lines of a large number of old communities have aged, which are areas with relatively high fire risks. In actual applications, it is found that many of the existing old communities are inhabited by elderly people. Even if fire alarms are installed, many elderly people do not know how to handle the subsequent steps. At the same time, the existing fire alarms are limited to indoor alarms and cannot upload alarm information to the Internet. The community property or the owner who is away from home cannot be informed of the fire in the room in time. If it is not handled in time, serious fire accidents may also occur. This has limited the installation and use scenarios of existing fire alarms. Summary of the invention
[0003] In order to solve the problem of limited usage scenarios of existing fire alarms, the utility model provides a LoRa-based fire alarm control system, which can remotely obtain equipment status data of the fire alarm system, making it convenient for a third party to receive data at the same time, and is suitable for more application scenarios.
[0004] The structure of the utility model is as follows: a fire alarm control system based on LoRa, which includes: an alarm module, characterized in that it also includes: a wireless transmission module, a cloud platform, a big data platform terminal and a client;
[0005] The alarm module includes: an alarm sensor and an alarm; the alarm sensor includes: a combustible gas sensor and / or a smoke sensor; the alarm module is arranged in a place where an alarm is required to detect a fire alarm signal, and transmits the detected data signal to the cloud platform based on the wireless transmission module;
[0006] The wireless transmission module includes: a LoRa concentrator and a LoRa node; the LoRa node is connected to the alarm module; the LoRa node is communicatively connected to the LoRa concentrator, and the LoRa concentrator is communicatively connected to the cloud platform;
[0007] The LoRa node includes: a LoRa sensor control node and a LoRa sensor node, wherein the LoRa sensor control node and the LoRa sensor node are respectively connected to different alarm modules;
[0008] The LoRa sensor control node is connected to the combustible gas sensor, the smoke sensor and the alarm at the same time, and a control module is set to control the gas valve; the LoRa sensor node is connected to the smoke sensor and the alarm;
[0009] The big data platform terminal is arranged in the property control room; the client includes: a mobile terminal; the big data platform terminal and the client communicate and connect to the cloud platform, receive the status data and alarm information uploaded by the alarm module and display them.
[0010] It is further characterized by:
[0011] The LoRa concentrator includes: a single chip microcomputer module A1, a LoRa module A2 and a 4G module A6;
[0012] The LoRa sensor control node includes: a single chip computer module A1, a LoRa module A2, a sensor interface module A3, a buzzer module A4 and a control module A5;
[0013] The LoRa sensor node includes: a single-chip microcomputer module A1, a LoRa module A2, a single-interface sensor interface module A3' and a buzzer module A4;
[0014] The single-chip microcomputer module A1 is implemented based on the STM32F103C8T6 core board module, and the LoRa module A2 is implemented based on the Anxinke SX1278 LoRa module;
[0015] In the LoRa module A2: pin 1 is connected to an external antenna; pins 2, 9 and 16 are grounded; pin 3 is connected to a 3.3V power supply VCC; pin 4 is connected to a reset pin RST of the microcontroller module A1; pin 5 is connected to PA3 of the microcontroller module A1; pins 6, 7, 8, 10 and 11 are not used; pins 12, 13, 14 and 15 are connected to the SPI pins of the microcontroller module A1;
[0016] The sensor interface module A3 includes: a GAS combustible gas sensor interface and an SMO smoke sensor interface; the 4th pin of the GAS combustible gas sensor interface is connected to the power supply 5V, the 3rd pin is grounded, the 1st pin is connected to the PB7 pin of the single-chip module A1, and the 2nd pin is connected to the PB6 pin of the single-chip module A1; the 4th pin of the SMO smoke sensor interface is connected to the power supply 5V, the 3rd pin is grounded, the 1st pin is connected to the PB9 pin of the single-chip module A1, and the 2nd pin is connected to the PB8 pin of the single-chip module A1;
[0017] The single-port sensor interface module A3' comprises: a SMO smoke sensor interface, wherein the 4th pin of the SMO smoke sensor interface is connected to the power supply 5V, the 3rd pin is grounded, the 1st pin is connected to the PB9 pin of the single-chip module A1, and the 2nd pin is connected to the PB8 pin of the single-chip module A1;
[0018] The buzzer module A4 includes: an NPN transistor Q1, a resistor R1, a resistor R2 and an active buzzer LS1;
[0019] Pin 1 of the active buzzer LS1 is connected to a power supply of 3.3V, and pin 2 is connected to the collector of the NPN transistor Q1; the base of the NPN transistor Q1 is connected to one end of the resistor R1 and one end of the resistor R2, the other end of the resistor R1 is connected to the PB3 pin of the single-chip module A1, and the other end of the resistor R2 is grounded; the emitter of the NPN transistor Q1 is grounded;
[0020] The control module A5 includes: a relay RELAY, a transistor Q2, a diode D21, a resistor R21 and a socket S2;
[0021] Pin 3 of the relay RELAY is connected to a power supply of 5V, the cathode of the diode D21 is connected to a power supply of 5V, the anode of the diode D21 is connected to pin 4 of the relay RELAY and the collector of the transistor Q2, the base of the transistor Q2 is connected to one end of the resistor R21, the other end of the resistor R21 is connected to the PA3 pin of the single-chip module A1, the emitter of the transistor Q2 is grounded, the common end of the relay RELAY is connected to a 12V power supply, NO1 of the relay RELAY is a normally open end, and NC1 of the relay RELAY is a normally closed end; Pin 1 of the socket S2 is connected to the NO1 end of the relay RELAY, and Pin 2 of the socket S2 is grounded;
[0022] The 4G module A6 is implemented based on the yeecom Q560-Mini-ttl module;
[0023] Pins 9 and 10 of the 4G module A6 are connected to a 5V power supply; pins 1, 4, and 11 are grounded; pin 5 is connected to the PA9 serial port sending pin of the single-chip module A1; pin 6 is connected to the PA10 serial port receiving pin of the single-chip module A1; and pin 14 is connected to the PA0 pin of the single-chip module A1;
[0024] The cloud platform is implemented based on the Alibaba Cloud Internet of Things platform.
[0025] The utility model provides a LoRa-based fire alarm control system, which sets a LoRa sensor control node and a LoRa sensor node to connect different types of alarm modules respectively. Based on the LoRa technology, the sensor signal and the alarm signal of the alarm module can be transmitted to the cloud platform; while the alarm module performs conventional alarms, the big data platform terminal and the client can also access data based on the cloud platform at the same time; the application supports remote acquisition of important equipment status data of the fire alarm system, which is convenient for a third party to receive the data signal collected by the alarm module, thereby ensuring that the technical solution of the application can be applied to more application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a system composition block diagram of the LoRa-based fire alarm control device of this application;
[0027] Figure 2 This is the circuit diagram of the single chip microcomputer module A1;
[0028] Figure 3 This is the circuit diagram of LoRa module A2;
[0029] Figure 4 is a circuit diagram of the sensor interface module A3;
[0030] Figure 5 This is a circuit diagram of the buzzer module A4;
[0031] Figure 6 is a circuit diagram of the control module A5;
[0032] Figure 7 This is the circuit diagram of 4G module A6. DETAILED DESCRIPTION
[0033] like Figure 1 As shown, the utility model includes a fire alarm control system based on LoRa, which includes: an alarm module, a wireless transmission module, a cloud platform, a big data platform terminal and a client. Among them, the cloud platform is implemented based on the Alibaba Cloud Internet of Things platform. The big data platform terminal is a software terminal for the distribution and status display of the alarm nodes of the entire system based on the existing WPF technology. The client is a mobile phone APP software or WeChat applet running on Android, IOS and Hongmeng OS systems, and the specific details are implemented based on existing technologies.
[0034] The alarm module includes: alarm sensors and alarms; alarm sensors include: combustible gas sensors and / or smoke sensors. The alarm module is set in the place where the alarm is needed to detect the fire alarm signal and transmit the detected data signal to the cloud platform based on the wireless transmission module. The wireless transmission module includes: LoRa concentrator and LoRa node; LoRa node is connected to the alarm module; LoRa node is connected to the LoRa concentrator through communication, and the LoRa concentrator is connected to the cloud platform through communication.
[0035] The LoRa nodes in this application include: LoRa sensor control nodes and LoRa sensor nodes.
[0036] In order to reduce the overall cost, two types of LoRa nodes are set in this application. The LoRa sensor control node and the LoRa sensor node are connected to different alarm modules respectively. During the specific installation, the LoRa sensor control node is set in the kitchen, and the LoRa sensor node is installed in other rooms outside the kitchen. Ensure that all fire alarm signals are not missed. The LoRa sensor control node is connected to the combustible gas sensor, smoke sensor and alarm at the same time, and the control module is set to control the gas valve. The LoRa sensor node is connected to the smoke sensor and the alarm.
[0037] The big data platform terminal is set up in the property control room; the client includes: mobile terminal; the big data platform terminal and the client communicate with the cloud platform, receive the status data and alarm information uploaded by the alarm module and display them. Among them, the mobile terminal supports the existing mainstream mobile phone systems, such as: Android system, iOS system or Hongmeng system.
[0038] Specifically, the LoRa-based fire alarm control system in this application is arranged in cells, such as Figure 1 As shown in the figure, assuming that there are i LoRa sensor control nodes and j LoRa sensor nodes in the community, each LoRa concentrator can support up to 10,000 LoRa nodes, that is, i+j≤10,000. The big data platform terminal is a data platform for the operation status of all LoRa devices displayed in the property office.
[0039] All LoRa nodes are wirelessly connected to the LoRa concentrator of the community, and the LoRa concentrator is connected to the cloud platform via 4G to upload data. A gas sensor LoRa node and multiple smoke sensor LoRa nodes are placed indoors in each household in the community. The alarm is based on a buzzer, and each node is equipped with a buzzer. The gas sensor node is placed in the kitchen. When a gas leak occurs, the buzzer sounds, and the data is uploaded to the LoRa concentrator through the LoRa node; the smoke sensor node is placed in any room indoors. When a fire occurs, the buzzer sounds, and the data is sent to the LoRa concentrator through the LoRa node. After receiving the data, the LoRa concentrator uploads the data to the cloud platform via 4G, and the data screen in the property monitoring room displays the device node status data on the cloud platform in real time; the client is installed on the owner's mobile phone APP, and the device status of his home can be viewed through the client; when a device alarms, the client can receive the alarm information in real time.
[0040] The LoRa sensor control node includes: a single chip microcomputer module A1, a LoRa module A2, a sensor interface module A3 and a buzzer module A4.
[0041] In this embodiment, the single-chip microcomputer module A1 is implemented based on the STM32F103C8T6 core board module, the LoRa module A2 is implemented based on the Anxinke SX1278 LoRa module, the combustible gas sensor is implemented based on the Xinwei MQ9 sensor module, and the smoke sensor is implemented based on the Xinwei MQ2 sensor module.
[0042] In LoRa module A2: Pin 1 is connected to the external antenna; Pins 2, 9 and 16 are grounded; Pin 3 is connected to the 3.3V power supply VCC; Pin 4 is connected to the reset pin RST of the microcontroller module A1; Pin 5 is connected to PA3 of the microcontroller module A1; Pins 6, 7, 8, 10 and 11 are not used; Pins 12, 13, 14 and 15 are connected to the SPI pins of the microcontroller module A1.
[0043] The sensor interface module A3 includes: a GAS combustible gas sensor interface and an SMO smoke sensor interface; pin 4 of the GAS combustible gas sensor interface is connected to the power supply 5V, pin 3 is grounded, pin 1 is connected to the PB7 pin of the microcontroller module A1, and pin 2 is connected to the PB6 pin of the microcontroller module A1; pin 4 of the SMO smoke sensor interface is connected to the power supply 5V, pin 3 is grounded, pin 1 is connected to the PB9 pin of the microcontroller module A1, and pin 2 is connected to the PB8 pin of the microcontroller module A1.
[0044] The buzzer module A4 includes: an NPN transistor Q1, a 1K resistor R1, a 10K resistor R2 and an active buzzer LS1.
[0045] Pin 1 of the active buzzer LS1 is connected to a 3.3V power supply, and pin 2 is connected to the collector of an NPN transistor Q1; the base of the NPN transistor Q1 is connected to one end of a resistor R1 and one end of a resistor R2, the other end of the resistor R1 is connected to the PB3 pin of the microcontroller module A1, and the other end of the resistor R2 is grounded; the emitter of the NPN transistor Q1 is grounded.
[0046] The control module A5 includes: relay RELAY, transistor Q2, diode D21, resistor R21 and socket S2. Among them, relay RELAY is implemented by Songle SRS-05VDC-SL-C relay. Transistor Q2 is an 8050 transistor, diode D21 is an ordinary light-emitting diode, and resistor R21 is a 1K ohm resistor.
[0047] Pin 3 of relay RELAY is connected to the power supply 5V, the cathode of diode D21 is connected to the power supply 5V, the anode of diode D21 is connected to pin 4 of relay RELAY and the collector of transistor Q2, the base of transistor Q2 is connected to one end of resistor R21, the other end of resistor R21 is connected to the PA3 pin of single-chip module A1, the emitter of transistor Q2 is grounded, the common end of relay RELAY is connected to the 12V power supply, NO1 of relay RELAY is the normally open end, and NC1 of relay RELAY is the normally closed end; pin 1 of socket S2 is connected to the NO1 end of relay RELAY, and pin 2 of socket S2 is grounded. In actual application, a gas manipulator device is set on the gas valve. The gas manipulator device in the prior art includes a water valve or a ball valve and a handle switch, which can control the handle switch to realize the closing control of the gas valve. Socket S2 is connected to the gas manipulator device. When a gas leak alarm occurs, the relay is closed to power the manipulator device, and the manipulator moves to close the gas valve. In actual application, the gas valve is opened manually after confirming that the fire alarm has been eliminated.
[0048] The LoRa sensor node includes: a single-chip module A1, a LoRa module A2, a single-interface sensor interface module A3' and a buzzer module A4. In the LoRa sensor node, the connection relationship between the single-chip module A1, the LoRa module A2 and the buzzer module A4 is the same as that of the LoRa sensor control node. The single-interface sensor interface module A3' includes: an SMO smoke sensor interface; the 4th pin of the SMO smoke sensor interface is connected to the power supply 5V, the 3rd pin is grounded, the 1st pin is connected to the PB9 pin of the single-chip module A1, and the 2nd pin is connected to the PB8 pin of the single-chip module A1.
[0049] The LoRa concentrator includes: microcontroller module A1, LoRa module A2 and 4G module A6.
[0050] The single-chip module A1 is implemented based on the STM32F103C8T6 core board module, the LoRa module A2 is implemented based on the Essence SX1278 LoRa module, and the 4G module A6 is implemented based on the yeecom Q560-Mini-ttl module. The connection relationship between the single-chip module A1 and the LoRa module A2 is the same as the LoRa sensor control node. The 9th and 10th pins of the 4G module A6 are connected to the 5V power supply; the 1st, 4th, and 11th pins are grounded; the 5th pin is connected to the PA9 serial port sending pin of the single-chip module A1; the 6th pin is connected to the PA10 serial port receiving pin of the single-chip module A1; and the 14th pin is connected to the PA0 pin of the single-chip module A1.
[0051] Based on the hardware structure of the LoRa-based fire alarm control system in this application, combined with the control technology in the prior art, the following fire alarm functions can be achieved.
[0052] The LoRa concentrator is placed on the rooftop of the residential building, and the LoRa sensor control node is placed in the kitchen. The node is equipped with a gas sensor and a smoke sensor. An electronically controlled manipulator is installed on the gas pipeline valve, and the control line of the manipulator is connected to the S2 socket of the LoRa sensor control node. The LoRa sensor nodes are placed in the living room, bedroom and other places. After the system is powered on, all LoRa sensor nodes and LoRa sensor control nodes are connected to the LoRa concentrator and connected to the Alibaba Cloud IoT platform through the 4G module. The APP on the mobile phone and the data platform terminal on the PC can display the sensor data status of all LoRa nodes, and can also control the specified LoRa node buzzer or manipulator action through buttons.
[0053] The LoRa sensor control node is placed in the kitchen, and the combustible gas sensor module is plugged into the GAS sensor interface on the node. The microcontroller module A1 receives the concentration of combustible gas in the air collected in real time by the combustible gas sensor and compares it with the preset threshold. Once the concentration exceeds the set threshold, the microcontroller module A1 sends a command to power on the socket S2 through the relay RELAY, thereby powering the robot device. The robot installed on the gas pipeline moves to close the valve, the buzzer sounds an alarm, and sends data to the LoRa sensor control node through the SPI interface.
[0054] Insert the smoke sensor module into the SMO sensor interface on the LoRa sensor control node. The smoke sensor detects the concentration of smoke in the air in real time. Once the concentration exceeds the set threshold, the buzzer sounds an alarm, and the microcontroller module A1 sends data to the LoRa module A2 through the SPI interface. The above alarm data is wirelessly sent to the LoRa concentrator through the LoRa sensor control node.
[0055] The LoRa sensor node is placed in any room indoors, and the smoke sensor module is plugged into the SMO sensor interface on the LoRa sensor node. The microcontroller detects the concentration of smoke in the air in real time. Once the concentration exceeds the set threshold, the buzzer sounds an alarm, and the microcontroller module A1 sends data to the LoRa module A2 through the SPI interface.
[0056] The alarm data uploaded by the LoRa sensor control node and the LoRa sensor node are sent to the LoRa concentrator via wireless, and wait for the concentrator to confirm the received return data within a limited time. If the confirmation data is not received within the time limit, it will continue to be sent every 3 seconds until the LoRa concentrator successfully receives the data. After receiving the alarm information, the LoRa concentrator uploads it to the Alibaba Cloud platform through the 4G module. The data monitoring platform running on the PC of the property center and the owner's mobile phone APP can receive real-time push alarm information, notifying the property staff and room owners to deal with it in time.
[0057] The LoRa concentrator is placed on the roof of the community. It is responsible for receiving smoke and gas alarm information sent by all LoRa nodes and uploading the alarm information to the Alibaba Cloud platform through the 4G module. It is also responsible for receiving control instructions sent by the host computer from the Alibaba Cloud platform and sending them to the designated LoRa node to control the buzzer alarm or robot action. The LoRa concentrator needs to periodically poll to confirm the network connectivity of all nodes. According to the scale of the network nodes, it sends connectivity test instructions to each node in turn every 30 to 60 minutes. The LoRa node responds after receiving the instruction. During the polling process, if the LoR concentrator finds a node that has not responded, it will report the corresponding node number to the property management data platform and the user's mobile phone APP to alarm, and notify relevant personnel to handle it in time.
Claims
1. A fire alarm control system based on LoRa, comprising: The alarm module is characterized in that it also includes: a wireless transmission module, a cloud platform, a big data platform terminal and a client; The alarm module includes: an alarm sensor and an alarm; the alarm sensor includes: a combustible gas sensor and / or a smoke sensor; the alarm module is arranged in a place where an alarm is required to detect a fire alarm signal, and transmits the detected data signal to the cloud platform based on the wireless transmission module; The wireless transmission module includes: a LoRa concentrator and a LoRa node; the LoRa node is connected to the alarm module; the LoRa node is communicatively connected to the LoRa concentrator, and the LoRa concentrator is communicatively connected to the cloud platform; The LoRa node includes: a LoRa sensor control node and a LoRa sensor node, wherein the LoRa sensor control node and the LoRa sensor node are respectively connected to different alarm modules; The LoRa sensor control node is connected to the combustible gas sensor, the smoke sensor and the alarm at the same time, and a control module is set to control the gas valve; the LoRa sensor node is connected to the smoke sensor and the alarm; The big data platform terminal is arranged in the property control room; the client includes: a mobile terminal; the big data platform terminal and the client communicate and connect to the cloud platform, receive the status data and alarm information uploaded by the alarm module and display them.
2. A LoRa-based fire alarm control system according to claim 1, characterized in that: The LoRa concentrator includes: a single chip microcomputer module A1, a LoRa module A2 and a 4G module A6; The LoRa sensor control node includes: a single chip computer module A1, a LoRa module A2, a sensor interface module A3, a buzzer module A4 and a control module A5; The LoRa sensor node includes: a single-chip microcomputer module A1, a LoRa module A2, a single-interface sensor interface module A3' and a buzzer module A4; The single-chip microcomputer module A1 is implemented based on the STM32F103C8T6 core board module, and the LoRa module A2 is implemented based on the Anxinke SX1278 LoRa module.
3. A LoRa-based fire alarm control system according to claim 2, characterized in that: In the LoRa module A2: pin 1 is connected to an external antenna; pins 2, 9 and 16 are grounded; pin 3 is connected to a 3.3V power supply VCC; pin 4 is connected to a reset pin RST of the microcontroller module A1; pin 5 is connected to PA3 of the microcontroller module A1; pins 6, 7, 8, 10 and 11 are not used; and pins 12, 13, 14 and 15 are connected to the SPI pins of the microcontroller module A1.
4. A LoRa-based fire alarm control system according to claim 2, characterized in that: The sensor interface module A3 includes: a GAS combustible gas sensor interface and an SMO smoke sensor interface; pin 4 of the GAS combustible gas sensor interface is connected to a power supply of 5V, pin 3 is grounded, pin 1 is connected to the PB7 pin of the single-chip module A1, and pin 2 is connected to the PB6 pin of the single-chip module A1; pin 4 of the SMO smoke sensor interface is connected to a power supply of 5V, pin 3 is grounded, pin 1 is connected to the PB9 pin of the single-chip module A1, and pin 2 is connected to the PB8 pin of the single-chip module A1.
5. A LoRa-based fire alarm control system according to claim 2, characterized in that: The single-port sensor interface module A3' comprises: a SMO smoke sensor interface, wherein pin 4 of the SMO smoke sensor interface is connected to a power supply 5V, pin 3 is grounded, pin 1 is connected to pin PB9 of the single-chip module A1, and pin 2 is connected to pin PB8 of the single-chip module A1.
6. A LoRa-based fire alarm control system according to claim 2, characterized in that: The buzzer module A4 includes: an NPN transistor Q1, a resistor R1, a resistor R2 and an active buzzer LS1; Pin 1 of the active buzzer LS1 is connected to a power supply of 3.3V, and pin 2 is connected to the collector of the NPN transistor Q1; the base of the NPN transistor Q1 is connected to one end of the resistor R1 and one end of the resistor R2, the other end of the resistor R1 is connected to the PB3 pin of the single-chip module A1, and the other end of the resistor R2 is grounded; the emitter of the NPN transistor Q1 is grounded.
7. A LoRa-based fire alarm control system according to claim 2, characterized in that: The control module A5 includes: a relay RELAY, a transistor Q2, a diode D21, a resistor R21 and a socket S2; Pin 3 of the relay RELAY is connected to a power supply of 5V, a cathode of the diode D21 is connected to a power supply of 5V, an anode of the diode D21 is connected to pin 4 of the relay RELAY and the collector of the transistor Q2, a base of the transistor Q2 is connected to one end of the resistor R21, the other end of the resistor R21 is connected to pin PA3 of the single-chip computer module A1, the emitter of the transistor Q2 is grounded, a common end of the relay RELAY is connected to a 12V power supply, NO1 of the relay RELAY is a normally open end, and NC1 of the relay RELAY is a normally closed end; pin 1 of the socket S2 is connected to the NO1 end of the relay RELAY, and pin 2 of the socket S2 is grounded.
8. A LoRa-based fire alarm control system according to claim 2, characterized in that: The 4G module A6 is implemented based on the yeecom Q560-Mini-ttl module; Pins 9 and 10 of the 4G module A6 are connected to a 5V power supply; pins 1, 4, and 11 are grounded; pin 5 is connected to the PA9 serial port sending pin of the single-chip module A1; pin 6 is connected to the PA10 serial port receiving pin of the single-chip module A1; and pin 14 is connected to the PA0 pin of the single-chip module A1.
9. A LoRa-based fire alarm control system according to claim 1, characterized in that: The cloud platform is implemented based on the Alibaba Cloud Internet of Things platform.