Gas leakage alarm based on gas component detection sensor

By adopting a gas component detection sensor design in the gas alarm, including a microcontroller and an IoT module, the problem of monitoring error of traditional gas alarms is solved, and accurate detection and remote monitoring of methane concentration are achieved.

CN222071338UActive Publication Date: 2024-11-26XIAN MITE ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323570414.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-11-26
Estimated Expiration
2033-12-26

AI Technical Summary

Technical Problem

Traditional gas alarms are susceptible to a variety of combustible gases, resulting in large errors when monitoring specific combustible gas concentrations.

Method used

Design a gas leakage alarm based on gas component detection sensor, including power supply, system power supply circuit, microcontroller, methane sensor module circuit, Internet of Things module power supply module circuit, Internet of Things module circuit, storage module circuit and alarm module circuit , through the microcontroller and the methane sensor module, the methane concentration information is obtained in real time, and the Internet of Things module is controlled to turn on when the concentration exceeds the set threshold, and upload data to the Internet of Things platform for remote monitoring.

Benefits of technology

It effectively solves the monitoring error problem caused by traditional gas alarms being susceptible to the influence of a variety of combustible gases, and realizes accurate detection and remote monitoring of methane concentration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222071338U_ABST
    Figure CN222071338U_ABST
Patent Text Reader

Abstract

The utility model discloses a gas leakage alarm based on a gas component detection sensor. The gas leakage alarm comprises a power supply, a system power supply circuit, a microcontroller, a methane sensor module circuit, an Internet of Things module power supply module circuit, an Internet of Things module circuit, a storage module circuit and an alarm module circuit, the power supply input module supplies power to the system through the LDO voltage reduction module, the normal work of the system is maintained, the MCU and the methane sensor module carry out IIC communication to obtain methane concentration information in real time, the MCU stores the obtained methane concentration data, and when the methane concentration exceeds a set threshold value and gives an alarm or reaches a certain time, the MCU controls the Internet of Things module to be started, and the system works normally. And the concentration data is uploaded to an Internet of Things platform, so that the gas methane concentration is remotely monitored, and the technical problem that a large error occurs when the concentration of specific combustible gas is monitored due to the fact that a traditional gas alarm is easily influenced by various combustible gases is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of gas alarms, and relates to a gas leakage alarm, in particular to a gas leakage alarm based on a gas component detection sensor. Background Art

[0002] Gas is a common energy source that is widely used in homes, businesses and industries. However, if there is a leak in a gas pipeline, gas equipment or gas container, it will cause gas to accumulate indoors, creating an environment with excessively high concentrations of flammable gas. In this case, once there is a fire source or trigger point, it may cause serious accidents such as fire, explosion or poisoning.

[0003] In order to improve people's perception and safety awareness of gas leaks, gas leak alarms were designed. It uses sensors to detect changes in indoor gas concentrations and sounds an alarm when abnormally high concentrations are detected to alert people to possible dangers.

[0004] Gas leak alarms usually use technologies such as combustible gas sensors or gas sensitive resistors to detect gas concentration. When the gas concentration exceeds the set safety threshold, the alarm will trigger a sound, light flash, or send an alarm signal to attract people's attention and take appropriate safety measures.

[0005] The purpose of designing gas leak alarm is to protect people's lives and property safety and prevent gas leak accidents. It is widely used in home, commercial and industrial environments, providing users with a simple and effective means to monitor and respond to potential gas leak risks.

[0006] Most traditional gas alarms are affected by a variety of combustible gases, resulting in large errors when monitoring specific combustible gas concentrations. Utility Model Content

[0007] In view of the deficiencies in the prior art, the purpose of the utility model is to provide a gas leak alarm based on a gas component detection sensor to solve the technical problem that traditional gas alarms are easily affected by a variety of combustible gases, resulting in large errors when monitoring specific combustible gas concentrations.

[0008] In order to solve the above technical problems, the utility model adopts the following technical solutions:

[0009] A gas leak alarm based on a gas component detection sensor, comprising a power supply, a system power supply circuit, a microcontroller, a methane sensor module circuit, an Internet of Things module power supply module circuit, an Internet of Things module circuit, a storage module circuit and an alarm module circuit;

[0010] The microcontroller is connected to the system power supply circuit, the methane sensor module circuit, the Internet of Things module power supply module circuit, the Internet of Things module circuit, the storage module circuit and the alarm module circuit respectively;

[0011] The power supply is connected to the system power supply circuit, the methane sensor module circuit and the Internet of Things module power supply module circuit; the Internet of Things module power supply module circuit is connected to the Internet of Things module circuit.

[0012] The utility model also includes the following technical features:

[0013] The system power supply circuit includes a power battery holder J1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an LDO step-down module U2, a diode D1, a capacitor C6, a capacitor E1 and a capacitor E2, wherein

[0014] Pin 1 of the power battery holder J1 is grounded, and pin 2 of the power battery holder J1 is commonly connected to one end of the resistor R2, one end of the resistor R4, and the positive electrode of the diode D1; the second end of the resistor R2 is commonly connected to the microcontroller and one end of the resistor R1, the second end of the resistor R4 is commonly connected to the microcontroller and one end of the resistor R3, and the second end of the resistor R1 is connected to the second end of the resistor R3 and is grounded;

[0015] The cathode of the diode D1 is connected to the anode of the capacitor E2, the pin 2 of the LDO buck module U2, the Internet of Things power supply module and the methane sensor module; the cathode of the capacitor E2 is grounded, the pin 3 of the LDO buck module U2 is connected to the microcontroller, one end of the capacitor C6 and the anode of the capacitor E1; the second end of the capacitor C6 is connected to the cathode of the capacitor E1 and is grounded, and the pin 1 of the LDO buck module is grounded.

[0016] The methane sensor module circuit includes a communication interface JP1, a resistor R20, a resistor R21, a resistor R22, a resistor R23 and a transistor Q5, wherein the emitter of the transistor Q5 is connected to the system power supply circuit and the Internet of Things module power supply module circuit, the base of the transistor Q5 is connected to one end of the resistor R23, and the second end of the resistor R23 is connected to the microcontroller and one end of the resistor R22; the second end of the resistor R22 is connected to the collector of the transistor Q5 of the microcontroller and the communication interface JP1 pin 4, one end of the resistor R21 and one end of the resistor R20, the second end of the resistor R21 is connected to the microcontroller and the communication interface JP1 pin 3, the second end of the resistor R20 is connected to the microcontroller and the communication interface JP1 pin 2, and the communication interface JP1 pin 1 is grounded.

[0017] The Internet of Things module power supply module circuit includes a chip U4, a capacitor C11, a capacitor C12, a capacitor C13 and a capacitor C14, wherein the pin 4 of the chip U4 is connected to one end of the capacitor C14, one end of the capacitor C13, the methane sensor module and the system power supply circuit; the second end of the capacitor C14 is connected to the second end of the capacitor C13, the pin 2 of the chip U4, one end of the capacitor C11 and one end of the capacitor C12 and is grounded; the second end of the capacitor C11 is connected to the second end of the capacitor C12, the pin 5 of the chip U4 and the Internet of Things module circuit; the pin 3 of the chip U4 is connected to the microcontroller, and the pin 1 of the chip U4 is suspended.

[0018] The Internet of Things module circuit includes an Internet of Things module U1, a resistor R6, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C5, an antenna ANT1, a capacitor C10, a transistor Q1, a resistor R12, a resistor R11, a resistor R9, a resistor R10, a resistor R13, a SIM card U3, a resistor R5, a resistor R7, a resistor R8, a capacitor C7, a capacitor C8, a capacitor C9 and a capacitor C4; wherein the pin 7 of the Internet of Things module U1 is connected to one end of the resistor R6, and the second end of the resistor R6 is connected to the microcontroller; ... Pin 10, pin 41, pin 40, pin 37, pin 36 and pin 27 are grounded together; pin 1, pin 27 and pin 34 of the Internet of Things module U1 are all grounded; pin 42 and pin 43 of the Internet of Things module U1 are connected to the Internet of Things power supply circuit, one end of capacitor C1, one end of capacitor C2, one end of capacitor C3 and one end of capacitor C5, and the second end of capacitor C1 is connected to the second end of capacitor C2, the second end of capacitor C3 and the second end of capacitor C5 and grounded; pin 35 of the Internet of Things module U1 is connected to antenna ANT1;

[0019] The pin 24 of the Internet of Things module U1 is connected to one end of the capacitor C10 and one end of the resistor R11, the second end of the resistor R11 is connected to the base of the transistor Q1, the collector of the transistor Q1 is connected to one end of the resistor R9 and the microcontroller, and the second end of the resistor R9 is connected to the microcontroller; the emitter of the transistor Q1 is connected to the pin 18 of the Internet of Things module U1; the pin 17 of the Internet of Things module U1 is connected to one end of the resistor R10 and one end of the resistor R13, the second end of the resistor R10 is connected to the microcontroller, and the second end of the resistor R13 is grounded; the pin 15 of the Internet of Things module U1 is connected to one end of the resistor R12, and the second end of the resistor R12 is connected to the microcontroller; the pin 14 of the Internet of Things module U1 is connected to the SIM card U 3 and one end of capacitor C4 are connected together, and the second end of capacitor C4 is connected to pin 1 of the Internet of Things module U1 and grounded; pin 12 of the Internet of Things module U1 is connected to one end of resistor R5, and the second end of resistor R5 is connected to pin 7 of SIM card U3 and one end of capacitor C9; pin 13 of the Internet of Things module U1 is connected to one end of resistor R7, and the second end of resistor R7 is connected to pin 6 of SIM card U3 and one end of capacitor C8; pin 11 of the Internet of Things module U1 is connected to one end of resistor R8, and the second end of resistor R8 is connected to pin 3 of SIM card U3 and one end of capacitor C7; the second end of capacitor C7 is connected to the second end of capacitor C8 and the second end of capacitor C9 and grounded.

[0020] The storage module circuit includes a storage module U7, a capacitor C25, a resistor R29 and a resistor R28, wherein pin 1, pin 2, pin 3, and pin 4 of the storage module U7 are connected to one end of the capacitor C25 and are grounded; the second end of the capacitor C25 is connected to pin 8 of the storage module U7, one end of the resistor R29, the first end of the resistor R28 and a microcontroller; the second end of the resistor R29 is connected to pin 6 of the storage module U7 and the microcontroller; the second end of the resistor R28 is connected to pin 5 of the storage module U7 and the microcontroller; and pin 7 of the storage module U7 is grounded.

[0021] The alarm module circuit includes a transistor Q6, a capacitor C26, a capacitor C27, a resistor R24, a resistor R27 and a buzzer S1; wherein the emitter of the transistor Q6 is connected to the microcontroller, the base of the transistor Q6 is connected to one end of the resistor R24, and the second end of the resistor R24 ​​is connected to the microcontroller; the collector of the transistor Q is connected to one end of the resistor R27, the second end of the resistor R27 is connected to one end of the capacitor C26, one end of the capacitor C27 and the positive electrode of the buzzer S1, and the negative electrode of the buzzer S1, the second end of the capacitor C26 and the second end of the capacitor C27 are connected to each other and grounded.

[0022] Compared with the prior art, the utility model has the following beneficial technical effects:

[0023] The power input module supplies power to the system through the LDO step-down module to maintain the normal operation of the system. The MCU communicates with the methane sensor module through IIC to obtain methane concentration information in real time. The MCU obtains the methane concentration data for storage. When the methane concentration exceeds the set threshold alarm or reaches a certain time, the MCU controls the Internet of Things module to start up and upload the concentration data to the Internet of Things platform to realize remote monitoring of gas methane concentration. This solves the technical problem that traditional gas alarms are easily affected by a variety of combustible gases, resulting in large errors when monitoring specific combustible gas concentrations. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a circuit structure diagram of the utility model;

[0025] Figure 2 is the circuit diagram of the microcontroller;

[0026] Figure 3 Power supply circuit diagram for the system;

[0027] Figure 4 This is the circuit diagram of the methane sensor module;

[0028] Figure 5 Power supply module circuit diagram for IoT module;

[0029] Figure 6 This is the circuit diagram of the IoT module;

[0030] Figure 7 It is the circuit diagram of the storage module;

[0031] Figure 8 This is the circuit diagram of the alarm module;

[0032] The specific contents of the utility model are further explained in detail below in conjunction with the embodiments. DETAILED DESCRIPTION

[0033] It should be noted that, unless otherwise specified, all components in the present invention are components known in the art.

[0034] The following are specific embodiments of the present invention. It should be noted that the present invention is not limited to the following specific embodiments, and all equivalent changes made on the basis of the technical solution of the present application fall within the protection scope of the present invention.

[0035] The present invention provides a gas leak alarm based on a gas component detection sensor, see Figure 1 , including a power supply, a system power supply circuit, a microcontroller, a methane sensor module circuit, an Internet of Things module power supply module circuit, an Internet of Things module circuit, a storage module circuit and an alarm module circuit;

[0036] The microcontroller is respectively connected with the system power supply circuit, the methane sensor module circuit, the Internet of Things module power supply module circuit, the Internet of Things module circuit, the storage module circuit and the alarm module circuit;

[0037] The power supply is connected to the system power supply circuit, the methane sensor module circuit and the Internet of Things module power supply module circuit; the Internet of Things module power supply module circuit is connected to the Internet of Things module circuit.

[0038] join Figure 2 In the above technical solution, the microcontroller adopts the FM33LC025 chip U6 and its peripheral circuit, and the peripheral circuit includes capacitor C17, capacitor C18 and crystal oscillator X1; the microcontroller pin 36 is connected to one end of the capacitor C17 and one end of the crystal oscillator X1, the second end of the capacitor C17 is connected to one end of the capacitor C18 and is grounded, and the second end of the capacitor C18 is connected to the second end of the crystal oscillator X1 and the microcontroller pin 37.

[0039] The power input module supplies power to the system through the LDO step-down module to maintain the normal operation of the system. The MCU communicates with the methane sensor module through IIC to obtain methane concentration information in real time. The MCU obtains the methane concentration data for storage. When the methane concentration exceeds the set threshold alarm or reaches a certain time, the MCU controls the Internet of Things module to start up and upload the concentration data to the Internet of Things platform to realize remote monitoring of gas methane concentration. This solves the technical problem that traditional gas alarms are easily affected by a variety of combustible gases, resulting in large errors when monitoring specific combustible gas concentrations.

[0040] See also Figure 3 The system power supply circuit includes a power battery holder J1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an LDO step-down module U2, a diode D1, a capacitor C6, a capacitor E1 and a capacitor E2, wherein

[0041] Pin 1 of the power battery holder J1 is grounded, and pin 2 of the power battery holder J1 is commonly connected to one end of the resistor R2, one end of the resistor R4, and the positive electrode of the diode D1; the second end of the resistor R2 is commonly connected to the microcontroller and one end of the resistor R1, the second end of the resistor R4 is commonly connected to the microcontroller and one end of the resistor R3, and the second end of the resistor R1 is connected to the second end of the resistor R3 and is grounded;

[0042] The cathode of diode D1 is connected to the anode of capacitor E2, pin 2 of LDO buck module U2, IoT power supply module and methane sensor module; the cathode of capacitor E2 is grounded, pin 3 of LDO buck module U2 is connected to the microcontroller, one end of capacitor C6 and the anode of capacitor E1; the second end of capacitor C6 is connected to the cathode of capacitor E1 and grounded, and pin 1 of LDO buck module is grounded.

[0043] In the above scheme, the second end of the resistor R2 is commonly connected to the pin 2 of the microcontroller and one end of the resistor R1, the second end of the resistor R4 is commonly connected to the pin 34 of the microcontroller and one end of the resistor R3, the cathode of the diode D1 is commonly connected to the positive electrode of the capacitor E2 and the pin 2 of the LDO buck module U2, and then connected to the system power supply input end of the Internet of Things power supply module and the methane sensor module; the pin 3 of the LDO buck module is connected to the pin 40 of the microcontroller, one end of the capacitor C6, and the positive electrode of the capacitor E1 to power the microcontroller;

[0044] Preferably, the models of the power battery holder J1, the LDO step-down module U2, and the diode D1 are 5264-2A, ME6210A30, and SS12.

[0045] The values ​​of resistor R1, resistor R2, resistor R3, resistor R4, capacitor C6, capacitor E1 and capacitor E2 are 1MΩ, 2MΩ, 2MΩ, 1MΩ, 100nf, 1000uF / 10V and E2: 2200uF / 10V.

[0046] See also Figure 4 The methane sensor module circuit includes a communication interface JP1, a resistor R20, a resistor R21, a resistor R22, a resistor R23 and a transistor Q5, wherein the emitter of the transistor Q5 is connected to the system power supply circuit and the Internet of Things module power supply module circuit, the base of the transistor Q5 is connected to one end of the resistor R23, and the second end of the resistor R23 is connected to the microcontroller and one end of the resistor R22; the second end of the resistor R22 and the collector of the microcontroller transistor Q5 are connected to pin 4 of the communication interface JP1, one end of the resistor R21 and one end of the resistor R20, the second end of the resistor R21 is connected to the microcontroller and pin 3 of the communication interface JP1, the second end of the resistor R20 is connected to the microcontroller and pin 2 of the communication interface JP1, and pin 1 of the communication interface JP1 is grounded.

[0047] In the above technical solution, the second end of the resistor R23 is connected to the pin 10 of the microcontroller and one end of the resistor R22; the second end of the resistor R22 is connected to the pin 16 of the microcontroller, the collector of the transistor Q5 is connected to the pin 4 of the communication interface JP1, one end of the resistor R21 and one end of the resistor R20, the second end of the resistor R21 is connected to the pin 11 of the microcontroller and the pin 3 of the communication interface JP1, the second end of the resistor R20 is connected to the pin 12 of the microcontroller and the pin 2 of the communication interface JP1, and the pin 1 of the communication interface JP1 is grounded.

[0048] Preferably, the models of the communication interface JP1 and the transistor Q5 are A2506WR-4A and MMVTSB1197R;

[0049] The values ​​of the resistor R20 , the resistor R21 , the resistor R22 , and the resistor R23 are 10KΩ, 10KΩ, 0Ω, and 1KΩ.

[0050] See also Figure 5 The Internet of Things module power supply module circuit includes chip U4, capacitor C11, capacitor C12, capacitor C13 and capacitor C14, wherein pin 4 of chip U4 is connected to one end of capacitor C14, one end of capacitor C13, the methane sensor module and the system power supply circuit; the second end of capacitor C14 is connected to the second end of capacitor C13, pin 2 of chip U4, one end of capacitor C11 and one end of capacitor C12 and is grounded; the second end of capacitor C11 is connected to the second end of capacitor C12, pin 5 of chip U4 and the Internet of Things module circuit; pin 3 of chip U4 is connected to the microcontroller, and pin 1 of chip U4 is left floating.

[0051] In the above technical solution, pin 3 of chip U4 is connected to pin 8 of the microcontroller, and pin 1 of chip U4 is left floating.

[0052] Preferably, the model of chip U4 is MD7218E30PC1;

[0053] The values ​​of capacitor C11, capacitor C12, capacitor C13 and capacitor C14 are 100uF / 6.3V, 100nF, 100nF and 100uF / 6.3V.

[0054] See also Figure 6 The IoT module circuit includes an IoT module U1, a resistor R6, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C5, an antenna ANT1, a capacitor C10, a transistor Q1, a resistor R12, a resistor R11, a resistor R9, a resistor R10, a resistor R13, a SIM card U3, a resistor R5, a resistor R7, a resistor R8, a capacitor C7, a capacitor C8, a capacitor C9 and a capacitor C4; wherein, pin 7 of the IoT module U1 is connected to one end of the resistor R6, and the second end of the resistor R6 is connected to the microcontroller; the IoT module U1 Pin 10, pin 41, pin 40, pin 37, pin 36 and pin 27 of the Internet of Things module U1 are grounded; pin 1, pin 27 and pin 34 of the Internet of Things module U1 are grounded; pin 42 and pin 43 of the Internet of Things module U1 are connected to the Internet of Things power supply circuit, one end of capacitor C1, one end of capacitor C2, one end of capacitor C3 and one end of capacitor C5, and the second end of capacitor C1 is connected to the second end of capacitor C2, the second end of capacitor C3 and the second end of capacitor C5 and is grounded; pin 35 of the Internet of Things module U1 is connected to the antenna ANT1;

[0055] Pin 24 of the Internet of Things module U1 is connected to one end of the capacitor C10 and one end of the resistor R11, the second end of the resistor R11 is connected to the base of the transistor Q1, the collector of the transistor Q1 is connected to one end of the resistor R9 and the microcontroller, and the second end of the resistor R9 is connected to the microcontroller; the emitter of the transistor Q1 is connected to pin 18 of the Internet of Things module U1; pin 17 of the Internet of Things module U1 is connected to one end of the resistor R10 and one end of the resistor R13, the second end of the resistor R10 is connected to the microcontroller, and the second end of the resistor R13 is grounded; pin 15 of the Internet of Things module U1 is connected to one end of the resistor R12, and the second end of the resistor R12 is connected to the microcontroller; pin 14 of the Internet of Things module U1 is connected to the SIM card U3 Pin 8 of the Internet of Things module U1 is connected to one end of the capacitor C4, and the second end of the capacitor C4 is connected to pin 1 of the Internet of Things module U1 and is grounded; pin 12 of the Internet of Things module U1 is connected to one end of the resistor R5, and the second end of the resistor R5 is connected to pin 7 of the SIM card U3 and one end of the capacitor C9; pin 13 of the Internet of Things module U1 is connected to one end of the resistor R7, and the second end of the resistor R7 is connected to pin 6 of the SIM card U3 and one end of the capacitor C8; pin 11 of the Internet of Things module U1 is connected to one end of the resistor R8, and the second end of the resistor R8 is connected to pin 3 of the SIM card U3 and one end of the capacitor C7; the second end of the capacitor C7 is connected to the second end of the capacitor C8 and the second end of the capacitor C9 and are grounded.

[0056] In the above technical scheme, the second end of the resistor R6 is connected to pin 9 of the microcontroller, pins 42 and 43 of the Internet of Things module U1 are connected to pin 5 of the Internet of Things power supply circuit U4, one end of the capacitor C1, one end of the capacitor C2, one end of the capacitor C3 and one end of the capacitor C5, the collector of the transistor Q1 is connected to one end of the resistor R9 and pin 5 of the microcontroller, the second end of the resistor R9 is connected to pin 40 of the microcontroller; the second end of the resistor R10 is connected to pin 6 of the microcontroller; the second end of the resistor R12 is connected to pin 7 of the microcontroller.

[0057] Preferably, the Internet of Things module U1, the SIM card U3 and the transistor Q1, the BC25-B5PA and the patch SIM card and the MMBT3904;

[0058] The resistance values ​​of resistor R6, resistor R12, resistor R11, resistor R9, resistor R10, resistor R13, resistor R5, resistor R7, and resistor R8 are 5.1KΩ, 10KΩ, 5.1KΩ, 10KΩ, 5.1KΩ, 5.1KΩ, 22Ω, 22Ω, and 22Ω.

[0059] The capacitance values ​​of capacitor C1, capacitor C2, capacitor C3, capacitor C4, capacitor C5, capacitor C10, capacitor C7, capacitor C8 and capacitor C9 are 100uF, 100nF, 100pF, 100nF, 18pF, 1uF, 33pF, 33pF and 33pF.

[0060] See also Figure 7 The storage module circuit includes a storage module U7, a capacitor C25, a resistor R29 and a resistor R28, wherein pin 1, pin 2, pin 3 and pin 4 of the storage module U7 are connected to one end of the capacitor C25 and are grounded; the second end of the capacitor C25 is connected to pin 8 of the storage module U7, one end of the resistor R29, the first end of the resistor R28 and the microcontroller; the second end of the resistor R29 is connected to pin 6 of the storage module U7 and the microcontroller; the second end of the resistor R28 is connected to pin 5 of the storage module U7 and the microcontroller; and pin 7 of the storage module U7 is grounded.

[0061] In the above technical solution, the second end of the capacitor C25 is connected to the pin 8 of the storage module U7, one end of the resistor R29, the first end of the resistor R28 and the pin 18 of the microcontroller; the second end of the resistor R29 is connected to the pin 6 of the storage module U7 and the pin 19 of the microcontroller; the second end of the resistor R28 is connected to the pin 5 of the storage module U7 and the pin 20 of the microcontroller;

[0062] Preferably, the storage module U7 model is AT24C1024;

[0063] The values ​​of capacitor C25, resistor R29 and resistor R28 are 100nF, 10KΩ and 10KΩ.

[0064] See also Figure 8 The alarm module circuit includes a transistor Q6, a capacitor C26, a capacitor C27, a resistor R24, a resistor R27 and a buzzer S1; wherein the emitter of the transistor Q6 is connected to the microcontroller, the base of the transistor Q6 is connected to one end of the resistor R24, and the second end of the resistor R24 ​​is connected to the microcontroller; the collector of the transistor Q is connected to one end of the resistor R27, the second end of the resistor R27 is connected to one end of the capacitor C26, one end of the capacitor C27 and the positive electrode of the buzzer S1, and the negative electrode of the buzzer S1, the second end of the capacitor C26 and the second end of the capacitor C27 are connected to each other and grounded.

[0065] In the above technical solution, the emitter of transistor Q6 is connected to pin 40 of the microcontroller, the base of transistor Q6 is connected to one end of resistor R24, and the second end of resistor R24 ​​is connected to pin 13 of the microcontroller;

[0066] Preferably, the models of transistor Q6 and buzzer S1 are MMBTSB1197R and 12A03;

[0067] The values ​​of capacitor C26, capacitor C27, resistor R24 ​​and resistor R27 are 10uF, 100nF, 10KΩ and 120Ω.

Claims

1. A gas leak alarm based on a gas component detection sensor, characterized in that: Including power supply, system power supply circuit, microcontroller, methane sensor module circuit, Internet of Things module power supply module circuit, Internet of Things module circuit, storage module circuit and alarm module circuit; The microcontroller is connected to the system power supply circuit, the methane sensor module circuit, the Internet of Things module power supply module circuit, the Internet of Things module circuit, the storage module circuit and the alarm module circuit respectively; The power supply is connected to the system power supply circuit, the methane sensor module circuit and the Internet of Things module power supply module circuit; the Internet of Things module power supply module circuit is connected to the Internet of Things module circuit.

2. The gas leak alarm based on the gas component detection sensor according to claim 1, characterized in that: The system power supply circuit includes a power battery holder J1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an LDO step-down module U2, a diode D1, a capacitor C6, a capacitor E1 and a capacitor E2, wherein Pin 1 of the power battery holder J1 is grounded, and pin 2 of the power battery holder J1 is commonly connected to one end of the resistor R2, one end of the resistor R4, and the positive electrode of the diode D1; the second end of the resistor R2 is commonly connected to the microcontroller and one end of the resistor R1, the second end of the resistor R4 is commonly connected to the microcontroller and one end of the resistor R3, and the second end of the resistor R1 is connected to the second end of the resistor R3 and is grounded; The cathode of the diode D1 is connected to the anode of the capacitor E2, the pin 2 of the LDO buck module U2, the Internet of Things power supply module and the methane sensor module; the cathode of the capacitor E2 is grounded, the pin 3 of the LDO buck module U2 is connected to the microcontroller, one end of the capacitor C6 and the anode of the capacitor E1; the second end of the capacitor C6 is connected to the cathode of the capacitor E1 and is grounded, and the pin 1 of the LDO buck module is grounded.

3. The gas leak alarm based on the gas component detection sensor according to claim 1, characterized in that: The methane sensor module circuit includes a communication interface JP1, a resistor R20, a resistor R21, a resistor R22, a resistor R23 and a transistor Q5, wherein the emitter of the transistor Q5 is connected to the system power supply circuit and the Internet of Things module power supply module circuit, the base of the transistor Q5 is connected to one end of the resistor R23, and the second end of the resistor R23 is connected to the microcontroller and one end of the resistor R22; the second end of the resistor R22 is connected to the collector of the transistor Q5 of the microcontroller and the communication interface JP1 pin 4, one end of the resistor R21 and one end of the resistor R20, the second end of the resistor R21 is connected to the microcontroller and the communication interface JP1 pin 3, the second end of the resistor R20 is connected to the microcontroller and the communication interface JP1 pin 2, and the communication interface JP1 pin 1 is grounded.

4. The gas leak alarm based on the gas component detection sensor according to claim 1, characterized in that: The Internet of Things module power supply module circuit includes a chip U4, a capacitor C11, a capacitor C12, a capacitor C13 and a capacitor C14, wherein the pin 4 of the chip U4 is connected to one end of the capacitor C14, one end of the capacitor C13, the methane sensor module and the system power supply circuit; the second end of the capacitor C14 is connected to the second end of the capacitor C13, the pin 2 of the chip U4, one end of the capacitor C11 and one end of the capacitor C12 and is grounded; the second end of the capacitor C11 is connected to the second end of the capacitor C12, the pin 5 of the chip U4 and the Internet of Things module circuit; the pin 3 of the chip U4 is connected to the microcontroller, and the pin 1 of the chip U4 is suspended.

5. The gas leak alarm based on the gas component detection sensor according to claim 1, characterized in that: The Internet of Things module circuit includes an Internet of Things module U1, a resistor R6, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C5, an antenna ANT1, a capacitor C10, a transistor Q1, a resistor R12, a resistor R11, a resistor R9, a resistor R10, a resistor R13, a SIM card U3, a resistor R5, a resistor R7, a resistor R8, a capacitor C7, a capacitor C8, a capacitor C9 and a capacitor C4; wherein the pin 7 of the Internet of Things module U1 is connected to one end of the resistor R6, and the second end of the resistor R6 is connected to the microcontroller; ... Pin 10, pin 41, pin 40, pin 37, pin 36 and pin 27 are grounded together; pin 1, pin 27 and pin 34 of the Internet of Things module U1 are all grounded; pin 42 and pin 43 of the Internet of Things module U1 are connected to the Internet of Things power supply circuit, one end of capacitor C1, one end of capacitor C2, one end of capacitor C3 and one end of capacitor C5, and the second end of capacitor C1 is connected to the second end of capacitor C2, the second end of capacitor C3 and the second end of capacitor C5 and grounded; pin 35 of the Internet of Things module U1 is connected to antenna ANT1; The pin 24 of the Internet of Things module U1 is connected to one end of the capacitor C10 and one end of the resistor R11, the second end of the resistor R11 is connected to the base of the transistor Q1, the collector of the transistor Q1 is connected to one end of the resistor R9 and the microcontroller, and the second end of the resistor R9 is connected to the microcontroller; the emitter of the transistor Q1 is connected to the pin 18 of the Internet of Things module U1; the pin 17 of the Internet of Things module U1 is connected to one end of the resistor R10 and one end of the resistor R13, the second end of the resistor R10 is connected to the microcontroller, and the second end of the resistor R13 is grounded; the pin 15 of the Internet of Things module U1 is connected to one end of the resistor R12, and the second end of the resistor R12 is connected to the microcontroller; the pin 14 of the Internet of Things module U1 is connected to the SIM card U 3 and one end of capacitor C4 are connected together, and the second end of capacitor C4 is connected to pin 1 of the Internet of Things module U1 and grounded; pin 12 of the Internet of Things module U1 is connected to one end of resistor R5, and the second end of resistor R5 is connected to pin 7 of SIM card U3 and one end of capacitor C9; pin 13 of the Internet of Things module U1 is connected to one end of resistor R7, and the second end of resistor R7 is connected to pin 6 of SIM card U3 and one end of capacitor C8; pin 11 of the Internet of Things module U1 is connected to one end of resistor R8, and the second end of resistor R8 is connected to pin 3 of SIM card U3 and one end of capacitor C7; the second end of capacitor C7 is connected to the second end of capacitor C8 and the second end of capacitor C9 and grounded.

6. The gas leak alarm based on the gas component detection sensor according to claim 1, characterized in that: The storage module circuit includes a storage module U7, a capacitor C25, a resistor R29 and a resistor R28, wherein pin 1, pin 2, pin 3, and pin 4 of the storage module U7 are connected to one end of the capacitor C25 and are grounded; the second end of the capacitor C25 is connected to pin 8 of the storage module U7, one end of the resistor R29, the first end of the resistor R28 and a microcontroller; the second end of the resistor R29 is connected to pin 6 of the storage module U7 and the microcontroller; the second end of the resistor R28 is connected to pin 5 of the storage module U7 and the microcontroller; and pin 7 of the storage module U7 is grounded.

7. The gas leak alarm based on the gas component detection sensor according to claim 1, characterized in that: The alarm module circuit includes a transistor Q6, a capacitor C26, a capacitor C27, a resistor R24, a resistor R27 and a buzzer S1; wherein the emitter of the transistor Q6 is connected to the microcontroller, the base of the transistor Q6 is connected to one end of the resistor R24, and the second end of the resistor R24 ​​is connected to the microcontroller; the collector of the transistor Q is connected to one end of the resistor R27, the second end of the resistor R27 is connected to one end of the capacitor C26, one end of the capacitor C27 and the positive electrode of the buzzer S1, and the negative electrode of the buzzer S1, the second end of the capacitor C26 and the second end of the capacitor C27 are connected to each other and grounded.