A wireless occupancy sensor circuit
By combining the PIR and TOF modules in the wireless occupancy sensor circuit, high accuracy in determining the detection area is achieved, reducing hardware size and weight, solving the problems of low detection accuracy and large size of traditional sensors, simplifying the installation process, and providing material usage monitoring functions.
Patent Information
- Application Number
- CN202522280653.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-28
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-10-28
AI Technical Summary
Traditional single PIR sensors and door magnetic sensors have poor detection accuracy in small space occupancy detection, and the overall size of the sensors is large, which increases the demand for batteries and housings. Microwave sensors have a high false alarm rate when detecting large open areas.
The system employs a wireless occupancy sensor circuit, including a PIR module, a TOF module, and a button battery module. The PIR module performs initial occupancy detection, which is then activated by the wireless communication module and the TOF module for secondary detection. Combined with vibration and temperature/humidity sensor interfaces, the system reduces hardware size and weight while improving detection accuracy.
It improves the accuracy of detection area determination, reduces hardware size and weight, reduces the number of parts, reduces installation difficulty, and simplifies subsequent development by monitoring material usage through the TOF module.
Smart Images

Figure CN225018465U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of occupancy sensors, specifically to a wireless occupancy sensor circuit. Background Technology
[0002] Occupancy sensors are intelligent devices that can detect the presence and location of a human body in a specific space. Their core function is to achieve automated control by sensing minute changes in the human body, playing an important role in fields such as smart homes, security monitoring, energy conservation in commercial buildings, and automotive safety.
[0003] Occupancy sensors primarily rely on infrared, ultrasonic, microwave, and multi-technology fusion schemes for detection. Infrared sensors determine presence by emitting and receiving infrared light and capturing reflected signals from the human body. For example, when a person enters the detection range, the light emitted by the infrared emitter is absorbed or reflected by the body, and the receiver converts the light signal into an electrical signal for analysis. Ultrasonic sensors utilize the reflection characteristics of sound waves, emitting high-frequency sound waves and measuring the time difference or frequency change of the reflected waves (Doppler effect) to detect movement, effectively identifying targets even when they are not in sight. Microwave sensors determine space occupancy by emitting microwaves and analyzing changes in reflected signals; they offer wider coverage and are suitable for large open areas.
[0004] In small spaces such as workstations and restrooms where it is necessary to know in advance whether someone is occupying the space, a single PIR sensor is usually used for detection. However, the detection accuracy is poor. Other sensors, such as door magnetic sensors, are limited to being installed on doors. If microwave sensors are used, they consume a lot of power, requiring a large battery and housing. Furthermore, the large microwave angle can cause misjudgments of other surrounding locations, resulting in poor detection accuracy as well. Utility Model Content
[0005] The purpose of this invention is to provide a wireless occupancy sensor circuit, which aims to improve the poor detection accuracy and large overall size of traditional single PIR sensors and door magnetic sensors.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: A wireless occupancy sensor circuit, characterized in that it includes a wireless communication module, a PIR module, a TOF module and a button battery module, wherein the wireless communication module includes a communication control chip U3, the signal output terminals of the PIR module and the TOF module are electrically connected to the signal input terminals of the communication control chip U3, and the communication control chip U3 is provided with a vibration sensor interface and a temperature and humidity sensor interface. The power output of the button battery module supplies power to the wireless communication module, PIR module, and TOF module.
[0007] Furthermore, the wireless communication module also includes interface J4, interface J10, MOSFET Q9, transistor Q8, resistors R28, R66, R71, R72, R74, R75, R77, and capacitors C4 and C15. The button battery module outputs a 3V voltage to one end of resistor R74, the source and drain of MOSFET Q9, one end of capacitor C15, and pin 2 of interface J10. Resistor R77 is electrically connected between the source and drain of MOSFET Q9. The other end of resistor R74 is electrically connected to the gate of MOSFET Q9 and one end of resistor R75. The other end of resistor R75 is electrically connected to the collector of transistor Q8. The base of transistor Q8 is electrically connected to one end of resistor R71 and one end of resistor R72. The other end of resistor R71 is electrically connected to one end of resistor R66. The other end of resistor R66 is electrically connected to pin 22 of communication control chip U3. Pin 6 of the communication control chip U3 is electrically connected to one end of resistor R28, and the other end of resistor R28 is electrically connected to one end of capacitor C4 and pin 1 of interface J4; interface J4 and interface J10 are electrically connected to the PIR module. Pin 2 of interface J4, pin 1 of interface J10, the other end of capacitor C4, the other end of capacitor C15, the other end of resistor R72, and the emitter of transistor Q8 are all grounded.
[0008] Furthermore, the wireless communication module also includes interface J5, interface J6, boost chip U4, transistor Q6, MOSFET Q7, inductor L1, diode D4, capacitor C14, capacitor C16, and resistors R8, R10, R13, R17, R18, R19, R20, R23, R48, R52, R61, R67, R68, R69, R70, R73, R76, R78, R79, and R80. The button cell battery module outputs a 3V voltage to one end of resistor R67; the other end of resistor R67 is electrically connected to one end of resistor R70, one end of resistor R68, and the source of MOSFET Q7; the drain of MOSFET Q7 is electrically connected to the other end of resistor R70, one end of capacitor C14, and pin 5 of boost chip U4; pin 4 of boost chip U4 is electrically connected to one end of resistor R73; the other end of resistor R73 is electrically connected to one end of inductor L1 and one end of resistor R76; the other end of inductor L1 is electrically connected to the source of boost chip U4. Pin 1 is electrically connected to the positive terminal of diode D4. The negative terminal of diode D4 is electrically connected to one end of resistor R78, one end of capacitor C16, and the other end of resistor R76, and serves as the output terminal to output +VD voltage to pin 4 of interface J5, one end of resistor R8, one end of resistor R10, one end of resistor R13, one end of resistor R17, one end of resistor R18, and the TOF module. The other end of resistor R78 is electrically connected to one end of resistor R79, and the other end of resistor R79 is electrically connected to pin 3 of boost chip U4 and one end of resistor R80. The other end of resistor R68 is electrically connected to the gate of MOSFET Q7 and one end of resistor R69. The other end of resistor R69 is electrically connected to the collector of transistor Q6. The base of transistor Q6 is electrically connected to one end of resistor R52 and one end of resistor R61. The other end of resistor R52 is electrically connected to one end of resistor R48. The other end of resistor R48 is electrically connected to pin 17 of communication control chip U3. Pin 7 of the communication control chip U3 is electrically connected to one end of resistor R20, and the other ends of resistor R20 and resistor R8 are both electrically connected to pin 2 of interface J5; pin 8 of the communication control chip U3 is electrically connected to one end of resistor R23, and the other ends of resistor R23 and resistor R10 are both electrically connected to pin 1 of interface J5; the other ends of resistors R13, R17, R18, and R19 are respectively electrically connected to pins 4, 3, 2, and 1 of interface J6; interfaces J5 and J6 are connected to the TOF module; Pin 3 of interface J5, pin 2 of boost chip U4, the other end of capacitor C14, the other end of resistor R19, the other end of resistor R61, the other end of resistor R80, and the emitter of transistor Q6 are all grounded.
[0009] Furthermore, the wireless communication module also includes a temperature and humidity detection unit, which includes a detection chip U1, resistors R1, R5, R30, and capacitor C5. The button battery module outputs 3V voltage to one end of resistor R1, one end of resistor R5, and one end of resistor R30; pin 9 of the communication control chip U3 is electrically connected to the other end of resistor R1 and the SCL pin of the detection chip U1; pin 10 of the communication control chip U3 is electrically connected to the other end of resistor R5 and the SDA pin of the detection chip U1; the other end of resistor R30 is electrically connected to one end of capacitor C5 and the VDD pin of the detection chip U1; the other end of capacitor C5, the VSS pin, the R pin, and the ADDR pin of the detection chip U1 are all grounded.
[0010] Furthermore, the wireless communication module also includes a vibration detection unit, which includes a vibration sensor M1, a resistor R2, a resistor R3, and a capacitor C2. The button battery module outputs a 3V voltage to one end of resistor R3 and one end of capacitor C2; the other end of resistor R3 is electrically connected to one end of resistor R2 and pin 1 of vibration sensor M1, and the other end of resistor R2 is electrically connected to pin 13 of communication control chip U3. Pin 2 of the vibration sensor M1 and the other end of the capacitor C2 are both grounded.
[0011] Furthermore, the wireless communication module also includes a switch KEY2, a light-emitting diode LED1, an interface J8, capacitors C6, C7, C11, C12, C13, and E2, and resistors R25, R29, R31, R47, R49, R50, R51, R54, R55, R56, R57, R64, and R65. The button battery module outputs 3V voltage to one end of capacitor C7, pin 5 of communication control chip U3, one end of resistor R49, one end of resistor R50, and pin 1 of interface J8. The other end of resistor R50 is electrically connected to the positive terminal of LED1, and the negative terminal of LED1 is electrically connected to pin 12 of communication control chip U3; pin 2 of communication control chip U3 is electrically connected to one end of capacitor C6 and one end of resistor R25, and the other end of resistor R25 is electrically connected to pin 32 of communication control chip U3 and pin 3 of interface J8; pin 3 of communication control chip U3 is electrically connected to one end of resistor R29, and the other end of resistor R29 is electrically connected to pin 33 of communication control chip U3 and pin 8 of interface J8; the communication... Pin 4 of control chip U3 is electrically connected to one end of resistor R31, and the other end of resistor R31 is electrically connected to pin 34 of communication control chip U3 and pin 4 of interface J8; pin 29 of communication control chip U3 is electrically connected to pin 10 of interface J8, pin 30 of communication control chip U3 is electrically connected to pin 2 of interface J8, pin 31 of communication control chip U3 is electrically connected to pin 9 of interface J8, pin 35 of communication control chip U3 is electrically connected to pin 5 of interface J8, and pin 36 of communication control chip U3 is electrically connected to pin 6 of interface J8. The other end of the resistor R57 is electrically connected to one end of the switch KEY2, one end of the capacitor C12, and pin 18 of the communication control chip U3. Pin 22 of the communication control chip U3 is electrically connected to one end of resistor R51, pin 23 of the communication control chip U3 is electrically connected to one end of resistor R47, and the other ends of resistor R51 and resistor R47 are both electrically connected to the TOF module. Pin 21 of the communication control chip U3 is electrically connected to one end of resistor R64, one end of resistor R65, and one end of capacitor C13. The other end of resistor R64 is electrically connected to one end of resistor R56 and the button battery module. Pin 24 of the communication control chip U3 is electrically connected to one end of resistor R54, one end of resistor R55, and one end of capacitor C11. The other end of resistor R54 is electrically connected to the other end of resistor R56 and the button battery module. The other end of the resistor R49 is electrically connected to one end of the capacitor E2 and pins 26 and 27 of the communication control chip U3. Pins 1, 14, 15, 16, and 38 of the communication control chip U3, pin 7 of interface J8, the other end of capacitor C7, the other end of capacitor C12, the other end of switch KEY2, the other end of capacitor C11, the other end of resistor R55, the other end of capacitor C13, the other end of resistor R65, and the other end of capacitor E2 are all grounded.
[0012] Furthermore, the PIR module includes a digital processing chip U5, interface J13, interface J14, interface J15, MOSFET Q10, resistors R81, R82, R90, R94, R95, and capacitors C17, C20, and C21. The button battery module outputs a 3V voltage to one end of resistor R81, the drain of MOSFET Q10, one end of resistor R95, pin 2 of interface J14, and one end of capacitor C21. The other end of resistor R81 is electrically connected to the source of MOSFET Q10, one end of capacitor C17, pin 2 of interface J13, and pin of digital processing chip U5; the gate of MOSFET Q10 is electrically connected to one end of resistor R82; pin 3 of interface J13 is electrically connected to pin 4 of digital processing chip U5 and one end of resistor R90; pin 3 of digital processing chip U5 is electrically connected to the other end of resistor R90 and one end of resistor R94; the other end of resistor R94 is electrically connected to the other end of resistor R95, one end of capacitor C20, and pin 1 of interface J15; interface J13 is electrically connected to the PIR sensor; and interfaces J14 and J15 are electrically connected to the wireless communication module. Pin 8 of the digital processing chip U5, the other end of resistor R82, the other end of capacitor C17, pin 1 of interface J13, the other end of capacitor C20, the other end of capacitor C21, pin 1 of interface J14, and pin 2 of interface J15 are all grounded.
[0013] Furthermore, the TOF module includes a TOF sensor U6, a step-down chip U7, interfaces J11 and J12, a MOSFET Q11, resistors R83, R84, R85, R86, R87, R88, R89, R91, R92, R93, and R96, capacitors C18, C19, C22, C23, C24, and C25, and polarized capacitors E4 and E5. The negative terminal of diode D4 outputs +VD voltage to one end of resistor R84, the drain of MOSFET Q11, and pin 4 of interface J12. The gate of the MOSFET Q11 is electrically connected to one end of the resistor R85; the other end of the resistor R84 is electrically connected to the source of the MOSFET Q11, the positive terminal of the polarized capacitor E4, one end of the capacitor C18, one end of the resistor R93, one end of the resistor R92, and pin 1 of the buck converter U7; the other end of the resistor R92 is electrically connected to pin 3 of the buck converter U7; pin 5 of the buck converter U7 is electrically connected to the other end of the resistor R93, one end of the capacitor C19, and the positive terminal of the polarized capacitor E5, and serves as the output terminal to output +2.8V to one end of the resistor R83, one end of the resistor R91, and one end of the resistor R96. The other end of resistor R83 is electrically connected to one end of resistor R86, one end of resistor R87, one end of resistor R88, and one end of resistor R89; the other end of resistor R86 is electrically connected to pin 2 of interface J12 and pin 6 of TOF sensor U6; the other end of resistor R87 is electrically connected to pin 1 of interface J12 and pin 5 of TOF sensor U6; the other end of resistor R88 is electrically connected to pin 3 of interface J11 and pin 1 of TOF sensor U6; the other end of resistor R89 is electrically connected to pin 4 of interface J11, the other end of resistor R91, and pin 4 of TOF sensor U6; interface J11 and interface J12 are electrically connected to interface J6 and interface J5, respectively.
[0014] The TOF sensor U6 has pins 8 and 10 electrically connected to the other end of resistor R96, one end of capacitor C22, one end of capacitor C23, one end of capacitor C24, and one end of capacitor C25. The other end of resistor R85, the negative terminal of polarized capacitor E4, the negative terminal of capacitor C18, pin 2 of step-down chip U7, the other end of capacitor C19, the negative terminal of polarized capacitor E5, pin 1 of interface J11, pin 3 of interface J12, pin 9 and pin 12 of TOF sensor U6, the other ends of capacitors C22, C23, C24 and C25 are all grounded.
[0015] Furthermore, the button battery module includes battery BT1, battery BT2, voltage regulator chip U2, MOSFET Q3, MOSFET Q1, toggle switch KEY1, diode D1, diode D2, diode D3, interface J2, interface J3, polarized capacitor E1, polarized capacitor E3, capacitor C3, capacitor C10, and resistors R11, R16, R22, R24, R26, R32, R40, and R41. The positive terminals of batteries BT1 and BT2 are electrically connected to one end of resistor R22 and the drain of MOSFET Q3. The gate of MOSFET Q3 is electrically connected to one end of resistor R24. The source of MOSFET Q3 is electrically connected to the other end of resistor R22, one end of resistor R40, the anode of diode D2, and pin 5 of toggle switch KEY1, and serves as the output terminal VBAT_1, which is electrically connected to the wireless communication module. Pins 1 and 4 of toggle switch KEY1 are electrically connected to the cathode of diode D2, the other end of resistor R40, the cathode of diode D1, one end of resistor R41, the cathode of diode D3, one end of capacitor C10, and the anode of polarized capacitor E3, and serve as the power output terminal, outputting 3V to the wireless communication module. Interfaces J2 and J3 are electrically connected to an external adapter. Pin 2 of interface J2 and pin 2 of interface J3 are both electrically connected to one end of resistor R11 and the drain of MOSFET Q1. The gate of MOSFET Q1 is electrically connected to one end of resistor R16. The source of MOSFET Q1 is electrically connected to the other end of resistor R11, the positive terminal of polarized capacitor E1, one end of resistor R26, one end of capacitor C3, one end of resistor R32, and pin 1 of voltage regulator chip U2. It is also electrically connected to the wireless communication module as the output terminal VDSC_DET. The other end of resistor R26 is electrically connected to pin 3 of voltage regulator chip U2, and pin 5 of voltage regulator chip U2 is electrically connected to the other end of resistor R32, the other end of resistor R41, the positive terminal of diode D1, and pin 2 of toggle switch KEY1. The negative terminals of battery BT1 and BT2, the other end of resistor R24, pin 1 of interface J2, pin 1 of interface J3, the other end of resistor R16, the negative terminal of polarized capacitor E1, the other end of capacitor C3, pin 2 of voltage regulator chip U2, the positive terminal of diode D3, the other end of capacitor C10, and the negative terminal of polarized capacitor E3 are all grounded.
[0016] Furthermore, it also includes at least one external linkage module, which includes interface J1, transistor Q2, capacitor C1 and resistors R4, R6, R7, R9, R12, R14, R15, R21, R27 and TVS1. The button battery module outputs 3V voltage to one end of resistor R14, one end of resistor R6, and one end of resistor R21. The other end of resistor R14 is electrically connected to one end of resistor R9 and one end of resistor R15. The other end of resistor R21 is electrically connected to the other end of resistor R15, one end of resistor R27, and the collector of transistor Q2. Resistor R27 serves as connection port dry1 and is electrically connected to pin 25 of communication control chip U3. The other end of resistor R9 is electrically connected to the base of transistor Q2, one end of resistor R12, one end of capacitor C1, and one end of resistor R4. The other end of resistor R4 is electrically connected to one end of resistor TVS1 and pin 1 of interface J1. Pin 2 of interface J1 is electrically connected to the other end of resistor R6 and one end of resistor R7. The emitter of transistor Q2, the other end of resistor R12, the other end of capacitor C1, and the other end of resistor R7 are all grounded.
[0017] By adopting the above technical solution, this utility model has the following advantages compared with the prior art: 1. The PIR sensor in the PIR module senses the proximity of moving objects within the detection area, performs a first-order occupancy determination, and wakes up the wireless communication module and the TOF module. The wireless communication module controls the TOF module to perform a second-order occupancy determination within the detection area, effectively improving the accuracy of the detection area determination. At the same time, it effectively reduces the size and weight of the hardware, reduces unnecessary parts, and reduces the difficulty of hardware installation.
[0018] 2. Utilize the remaining capacity of the TOF module to monitor the material usage within the detection area, such as determining whether the amount of paper towels used has reached the threshold, so that the paper towels can be replaced in a timely manner.
[0019] 3. The communication control chip U3 reserves interfaces for vibration sensors and temperature and humidity sensors, which facilitates later modifications to the overall occupancy sensor circuit and reduces the subsequent development cycle. Attached Figure Description
[0020] Figure 1 This is a circuit diagram of the button battery module of the wireless occupancy sensor circuit described in this utility model; Figure 2 This is a circuit diagram of the wireless communication module of the wireless occupancy sensor circuit described in this utility model; Figure 3 This is a circuit diagram of the PIR module of the wireless occupancy sensor circuit described in this utility model; Figure 4 This is a circuit diagram of the TOF module of the wireless occupancy sensor circuit described in this utility model; Figure 5 This is a circuit diagram of the external linkage module of the wireless occupancy sensor circuit described in this utility model. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this utility model clearer, the present utility model will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this utility model and are not intended to limit this utility model.
[0022] Additionally, it should be noted that the terms "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer" are all based on the orientation or positional relationship shown in the accompanying drawings. They are merely for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element of this utility model must have a specific orientation. Therefore, they should not be construed as limitations on this utility model.
[0023] When an element is referred to as being "fixed to," "set on," or "contained on" another element, it can be directly on or indirectly on that other element. When an element is referred to as being "connected to," it can be directly connected to or indirectly connected to that other element.
[0024] Unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances. Example
[0025] Please refer to Figure 1-5 As shown, this embodiment provides a wireless occupancy sensor circuit, including a wireless communication module, a PIR module, a TOF module, and a button battery module. The wireless communication module includes a communication control chip U3. The signal output terminals of the PIR and TOF modules are electrically connected to the signal input terminals of the communication control chip U3. The communication control chip U3 is provided with a vibration sensor interface and a temperature and humidity sensor interface. The button battery module powers the wireless communication module, the PIR module, and the TOF module.
[0026] The PIR sensor in the PIR module senses the proximity of moving objects within the detection area, performs a first-order occupancy determination, and wakes up the wireless communication module and the TOF module. The wireless communication module controls the TOF module to perform a second-order occupancy determination within the detection area, effectively improving the accuracy of the detection area determination. At the same time, it effectively reduces the size and weight of the hardware, reduces unnecessary parts, and simplifies hardware installation.
[0027] Furthermore, the remaining capacity of the TOF module is used to monitor the material usage within the detection area, such as determining whether the amount of paper towels used has reached a threshold, so that the paper towels can be replaced in a timely manner.
[0028] The communication control chip U3 reserves interfaces for vibration sensors and temperature and humidity sensors, which facilitates later modifications to the overall occupancy sensor circuit and reduces the subsequent development cycle.
[0029] Please refer to Figure 2 As shown, the wireless communication module also includes interface J4, interface J10, MOSFET Q9, transistor Q8, resistors R28, R66, R71, R72, R74, R75, R77, and capacitors C4 and C15.
[0030] The button cell module outputs a 3V voltage to one end of resistor R74, the source and drain of MOSFET Q9, one end of capacitor C15, and pin 2 of interface J10. Resistor R77 is electrically connected between the source and drain of MOSFET Q9.
[0031] The other end of resistor R74 is electrically connected to the gate of MOSFET Q9 and one end of resistor R75. The other end of resistor R75 is electrically connected to the collector of transistor Q8. The base of transistor Q8 is electrically connected to one end of resistor R71 and one end of resistor R72. The other end of resistor R71 is electrically connected to one end of resistor R66. The other end of resistor R66 is electrically connected to pin 22 of communication control chip U3.
[0032] Pin 6 of the communication control chip U3 is electrically connected to one end of resistor R28, and the other end of resistor R28 is electrically connected to one end of capacitor C4 and pin 1 of interface J4; interface J4 and interface J10 are electrically connected to the PIR module.
[0033] Pin 2 of interface J4, pin 1 of interface J10, the other end of capacitor C4, the other end of capacitor C15, the other end of resistor R72, and the emitter of transistor Q8 are all grounded.
[0034] Please refer to Figure 2 As shown, the wireless communication module also includes interface J5, interface J6, boost chip U4, transistor Q6, MOSFET Q7, inductor L1, diode D4, capacitor C14, capacitor C16, and resistors R8, R10, R13, R17, R18, R19, R20, R23, R48, R52, R61, R67, R68, R69, R70, R73, R76, R78, R79, and R80.
[0035] The button cell module outputs a 3V voltage to one end of resistor R67; the other end of resistor R67 is electrically connected to one end of resistor R70, one end of resistor R68, and the source of MOSFET Q7; the drain of MOSFET Q7 is electrically connected to the other end of resistor R70, one end of capacitor C14, and pin 5 of boost chip U4. Pin 4 of the boost chip U4 is electrically connected to one end of resistor R73. The other end of resistor R73 is electrically connected to one end of inductor L1 and one end of resistor R76. The other end of inductor L1 is electrically connected to pin 1 of the boost chip U4 and the positive terminal of diode D4. The negative terminal of diode D4 is electrically connected to one end of resistor R78, one end of capacitor C16, and the other end of resistor R76, and serves as the output terminal to output +VD voltage to pin 4 of interface J5, one end of resistor R8, one end of resistor R10, one end of resistor R13, one end of resistor R17, one end of resistor R18, and the TOF module. In this embodiment, the +VD voltage is +3.3V. The other end of resistor R78 is electrically connected to one end of resistor R79. The other end of resistor R79 is electrically connected to pin 3 of the boost chip U4 and one end of resistor R80.
[0036] The other end of resistor R68 is electrically connected to the gate of MOSFET Q7 and one end of resistor R69. The other end of resistor R69 is electrically connected to the collector of transistor Q6. The base of transistor Q6 is electrically connected to one end of resistor R52 and one end of resistor R61. The other end of resistor R52 is electrically connected to one end of resistor R48. The other end of resistor R48 is electrically connected to pin 17 of communication control chip U3.
[0037] Pin 7 of the communication control chip U3 is electrically connected to one end of resistor R20. The other ends of resistor R20 and resistor R8 are both electrically connected to pin 2 of interface J5. Pin 8 of the communication control chip U3 is electrically connected to one end of resistor R23. The other ends of resistor R23 and resistor R10 are both electrically connected to pin 1 of interface J5. The other ends of resistors R13, R17, R18, and R19 are electrically connected to pins 4, 3, 2, and 1 of interface J6, respectively. Interfaces J5 and J6 are connected to the TOF module.
[0038] Pin 3 of interface J5, pin 2 of boost chip U4, the other end of capacitor C14, the other end of resistor R19, the other end of resistor R61, the other end of resistor R80, and the emitter of transistor Q6 are all grounded.
[0039] In this embodiment, the boost chip U4 is model MT3608.
[0040] Please refer to Figure 2As shown, the wireless communication module also includes a temperature and humidity detection unit, which includes a detection chip U1, resistor R1, resistor R5, resistor R30 and capacitor C5. The button cell battery module outputs 3V voltage to one end of resistor R1, one end of resistor R5, and one end of resistor R30; pin 9 of communication control chip U3 is electrically connected to the other end of resistor R1 and the SCL pin of detection chip U1; pin 10 of communication control chip U3 is electrically connected to the other end of resistor R5 and the SDA pin of detection chip U1; the other end of resistor R30 is electrically connected to one end of capacitor C5 and the VDD pin of detection chip U1; the other end of capacitor C5, the VSS pin, the R pin, and the ADDR pin of detection chip U1 are all grounded.
[0041] In this embodiment, the detection chip U1 is model SHT-30.
[0042] Please refer to Figure 2 As shown, the wireless communication module also includes a vibration detection unit, which includes a vibration sensor M1, a resistor R2, a resistor R3, and a capacitor C2.
[0043] The button battery module outputs 3V voltage to one end of resistor R3 and one end of capacitor C2; the other end of resistor R3 is electrically connected to one end of resistor R2 and pin 1 of vibration sensor M1, and the other end of resistor R2 is electrically connected to pin 13 of communication control chip U3. Pin 2 of the vibration sensor M1 and the other end of the capacitor C2 are both grounded. In this embodiment, the vibration sensor M1 is model BL-3150.
[0044] Please refer to Figure 2 As shown, the wireless communication module also includes a switch KEY2, an LED1, an interface J8, capacitors C6, C7, C11, C12, C13, and E2, and resistors R25, R29, R31, R47, R49, R50, R51, R54, R55, R56, R57, R64, and R65. The button battery module outputs 3V voltage to one end of capacitor C7, pin 5 of communication control chip U3, one end of resistor R49, one end of resistor R50, and pin 1 of interface J8; The other end of resistor R50 is electrically connected to the positive terminal of LED1, and the negative terminal of LED1 is electrically connected to pin 12 of communication control chip U3; pin 2 of communication control chip U3 is electrically connected to one end of capacitor C6 and one end of resistor R25, and the other end of resistor R25 is electrically connected to pin 32 of communication control chip U3 and pin 3 of interface J8; pin 3 of communication control chip U3 is electrically connected to one end of resistor R29, and the other end of resistor R29 is electrically connected to pin 33 of communication control chip U3 and pin 8 of interface J8; communication control... Pin 4 of communication control chip U3 is electrically connected to one end of resistor R31, and the other end of resistor R31 is electrically connected to pin 34 of communication control chip U3 and pin 4 of interface J8; pin 29 of communication control chip U3 is electrically connected to pin 10 of interface J8, pin 30 of communication control chip U3 is electrically connected to pin 2 of interface J8, pin 31 of communication control chip U3 is electrically connected to pin 9 of interface J8, pin 35 of communication control chip U3 is electrically connected to pin 5 of interface J8, and pin 36 of communication control chip U3 is electrically connected to pin 6 of interface J8. The other end of resistor R57 is electrically connected to one end of switch KEY2, one end of capacitor C12, and pin 18 of communication control chip U3; Pin 22 of the communication control chip U3 is electrically connected to one end of resistor R51, pin 23 of the communication control chip U3 is electrically connected to one end of resistor R47, and the other ends of resistor R51 and resistor R47 are both electrically connected to the TOF module. Pin 21 of the communication control chip U3 is electrically connected to one end of resistor R64, one end of resistor R65 and one end of capacitor C13, and the other end of resistor R64 is electrically connected to one end of resistor R56 and the button battery module; pin 24 of the communication control chip U3 is electrically connected to one end of resistor R54, one end of resistor R55 and one end of capacitor C11, and the other end of resistor R54 is electrically connected to the other end of resistor R56 and the button battery module. The other end of resistor R49 is electrically connected to one end of capacitor E2 and pins 26 and 27 of communication control chip U3; Pins 1, 14, 15, 16, and 38 of the communication control chip U3, pin 7 of interface J8, the other end of capacitor C7, the other end of capacitor C12, the other end of switch KEY2, the other end of capacitor C11, the other end of resistor R55, the other end of capacitor C13, the other end of resistor R65, and the other end of capacitor E2 are all grounded.
[0045] In this embodiment, the communication control chip U3 is model R109h, which integrates an MCU chip and a LoRa RF transceiver chip. The integrated MCU chip is model STM32L051, and the integrated LoRa RF transceiver chip is model SX1262. The overall package size is small, and the integration is high. The communication control chip U3 communicates with the PIR module via GPIO and with the TOF module via the I2C serial port. The operating state of the communication control chip U3 is controlled by switch KEY2, and the operating state is indicated by LED1.
[0046] Please refer to Figure 3 As shown, the PIR module includes a digital processing chip U5, interface J13, interface J14, interface J15, MOSFET Q10, resistors R81, R82, R90, R94, R95, and capacitors C17, C20, and C21.
[0047] The button cell module outputs a 3V voltage to one end of resistor R81, the drain of MOSFET Q10, one end of resistor R95, pin 2 of interface J14, and one end of capacitor C21.
[0048] The other end of resistor R81 is electrically connected to the source of MOSFET Q10, one end of capacitor C17, pin 2 of interface J13, and pin of digital processing chip U5. The gate of MOSFET Q10 is electrically connected to one end of resistor R82; pin 3 of interface J13 is electrically connected to pin 4 of digital processing chip U5 and one end of resistor R90; pin 3 of digital processing chip U5 is electrically connected to the other end of resistor R90 and one end of resistor R94; the other end of resistor R94 is electrically connected to the other end of resistor R95, one end of capacitor C20, and pin 1 of interface J15. Interface J13 is electrically connected to the PIR sensor; interfaces J14 and J15 are electrically connected to the wireless communication module, i.e., interfaces J14 and J15 are electrically connected to interfaces J10 and J4, respectively.
[0049] Pin 8 of digital processing chip U5, the other end of resistor R82, the other end of capacitor C17, pin 1 of interface J13, the other end of capacitor C20, the other end of capacitor C21, pin 1 of interface J14, and pin 2 of interface J15 are all grounded.
[0050] In this embodiment, the digital processing chip U5 is model MSB376, and the PIR sensor is model S22-P330Y. Interface J13 is connected to the PIR sensor. The PIR sensor outputs an analog signal to the digital processing chip U5, and the digital processing chip U5 outputs a digital signal to the GPIO port of the communication control chip U3 to judge and identify the detected data.
[0051] Please refer to Figure 4 As shown, the TOF module includes a TOF sensor U6, a step-down chip U7, interfaces J11 and J12, a MOSFET Q11, resistors R83, R84, R85, R86, R87, R88, R89, R91, R92, R93, and R96, capacitors C18, C19, C22, C23, C24, and C25, and polarized capacitors E4 and E5.
[0052] The negative terminal of diode D4 outputs +VD voltage to one end of resistor R84, the drain of MOSFET Q11, and pin 4 of interface J12.
[0053] The gate of MOSFET Q11 is electrically connected to one end of resistor R85; the other end of resistor R84 is electrically connected to the source of MOSFET Q11, the positive terminal of polarized capacitor E4, one end of capacitor C18, one end of resistor R93, one end of resistor R92, and pin 1 of buck converter U7; the other end of resistor R92 is electrically connected to pin 3 of buck converter U7; pin 5 of buck converter U7 is electrically connected to the other end of resistor R93, one end of capacitor C19, and the positive terminal of polarized capacitor E5, and serves as the output terminal to output +2.8V to one end of resistor R83, one end of resistor R91, and one end of resistor R96.
[0054] The other end of resistor R83 is electrically connected to one end of resistor R86, one end of resistor R87, one end of resistor R88, and one end of resistor R89; the other end of resistor R86 is electrically connected to pin 2 of interface J12 and pin 6 of TOF sensor U6; the other end of resistor R87 is electrically connected to pin 1 of interface J12 and pin 5 of TOF sensor U6; the other end of resistor R88 is electrically connected to pin 3 of interface J11 and pin 1 of TOF sensor U6; the other end of resistor R89 is electrically connected to pin 4 of interface J11, the other end of resistor R91, and pin 4 of TOF sensor U6; interfaces J11 and J12 are electrically connected to interfaces J6 and J5, respectively.
[0055] For the TOF sensor, pins 8 and 10 of U6 are electrically connected to the other end of resistor R96, one end of capacitor C22, one end of capacitor C23, one end of capacitor C24, and one end of capacitor C25.
[0056] The other end of resistor R85, the negative terminal of polarized capacitor E4, the negative terminal of capacitor C18, pin 2 of step-down chip U7, the other end of capacitor C19, the negative terminal of polarized capacitor E5, pin 1 of interface J11, pin 3 of interface J12, pin 9 and pin 12 of TOF sensor U6, the other ends of capacitors C22, C23, C24 and C25 are all grounded.
[0057] In this embodiment, the TOF sensor U6 is model VL6180V1, and the step-down chip U7 is model TPL720. The TOF sensor communicates with the communication control chip U3 via I2C and can detect targets within a range of 62cm, meeting the requirements for close-range sensing scenarios such as toilets or workstations.
[0058] Please refer to Figure 1 As shown, the button battery module includes battery BT1, battery BT2, voltage regulator chip U2, MOSFET Q3, MOSFET Q1, toggle switch KEY1, diode D1, diode D2, diode D3, interface J2, interface J3, polarized capacitor E1, polarized capacitor E3, capacitor C3, capacitor C10, and resistors R11, R16, R22, R24, R26, R32, R40, and R41.
[0059] The positive terminals of batteries BT1 and BT2 are electrically connected to one end of resistor R22 and the drain of MOSFET Q3. The gate of MOSFET Q3 is electrically connected to one end of resistor R24. The source of MOSFET Q3 is electrically connected to the other end of resistor R22, one end of resistor R40, the anode of diode D2, and pin 5 of toggle switch KEY1, serving as the output terminal VBAT_1, which is electrically connected to the wireless communication module. Specifically, the source of MOSFET Q3 is electrically connected to the other end of resistor R22, one end of resistor R40, the anode of diode D2, pin 5 of toggle switch KEY1, and the other end of resistor R54. Pins 1 and 4 of toggle switch KEY1 are electrically connected to the cathode of diode D2, the other end of resistor R40, the cathode of diode D1, one end of resistor R41, the cathode of diode D3, one end of capacitor C10, and the anode of polarized capacitor E3, serving as the power output terminal, supplying 3V to the wireless communication module.
[0060] Interfaces J2 and J3 are electrically connected to the external adapter. Pin 2 of interface J2 and pin 2 of interface J3 are both electrically connected to one end of resistor R11 and the drain of MOSFET Q1. The gate of MOSFET Q1 is electrically connected to one end of resistor R16. The source of MOSFET Q1 is electrically connected to the other end of resistor R11, the positive terminal of polarized capacitor E1, one end of resistor R26, one end of capacitor C3, one end of resistor R32, and pin 1 of voltage regulator chip U2. This connection serves as the output terminal VDSC_DET and is electrically connected to the wireless communication module. In other words, the source of MOSFET Q1 is electrically connected to the other end of resistor R11, the positive terminal of polarized capacitor E1, one end of resistor R26, one end of capacitor C3, one end of resistor R32, pin 1 of voltage regulator chip U2, and the other end of resistor R64.
[0061] The other end of resistor R26 is electrically connected to pin 3 of voltage regulator chip U2. Pin 5 of voltage regulator chip U2 is electrically connected to the other end of resistor R32, the other end of resistor R41, the positive terminal of diode D1, and pin 2 of toggle switch KEY1.
[0062] The negative terminals of battery BT1 and BT2, the other end of resistor R24, pin 1 of interface J2, pin 1 of interface J3, the other end of resistor R16, the negative terminal of polarized capacitor E1, the other end of capacitor C3, pin 2 of voltage regulator chip U2, the positive terminal of diode D3, the other end of capacitor C10, and the negative terminal of polarized capacitor E3 are all grounded.
[0063] In this embodiment, the voltage regulator chip U2 is model CE6232B33M. MOSFET Q3 effectively prevents battery leakage and connects to an external adapter via interfaces J2 and J3 to provide power, enabling multiple power supply methods; and the power supply line is controlled by toggle switch KEY1.
[0064] Please refer to Figure 5 As shown, the wireless occupancy sensor circuit also includes at least one external linkage module, which includes interface J1, transistor Q2, capacitor C1 and resistors R4, R6, R7, R9, R12, R14, R15, R21, R27 and TVS1.
[0065] The button cell battery module outputs 3V to one end of resistor R14, one end of resistor R6, and one end of resistor R21. The other end of resistor R14 is electrically connected to one end of resistor R9 and one end of resistor R15. The other end of resistor R21 is electrically connected to the other end of resistor R15, one end of resistor R27, and the collector of transistor Q2. Resistor R27 serves as connection port dry1 and is electrically connected to pin 25 of communication control chip U3. The other end of resistor R9 is electrically connected to the base of transistor Q2, one end of resistor R12, one end of capacitor C1, and one end of resistor R4. The other end of resistor R4 is electrically connected to one end of resistor TVS1 and pin 1 of interface J1. Pin 2 of interface J1 is electrically connected to the other end of resistor R6 and one end of resistor R7.
[0066] The emitter of transistor Q2, the other end of resistor R12, the other end of capacitor C1, and the other end of resistor R7 are all grounded.
[0067] The communication control chip U3 outputs a digital level of 3V or 0V to external devices via an external linkage module, enabling linkage control of these devices and improving the overall functionality of the circuit. Please refer to [link / reference needed]. Figure 5 As shown, in this embodiment, the number of external linkage modules is three.
[0068] The above description is merely a preferred embodiment of this utility model, but the protection scope of this utility model is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this utility model should be included within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.
Claims
1. A wireless occupancy sensor circuit, characterized in that, It includes a wireless communication module, a PIR module, a TOF module, and a button battery module. The wireless communication module includes a communication control chip U3. The signal output terminals of the PIR module and the TOF module are electrically connected to the signal input terminals of the communication control chip U3. The communication control chip U3 is provided with a vibration sensor interface and a temperature and humidity sensor interface. The power output of the button battery module supplies power to the wireless communication module, PIR module, and TOF module.
2. The wireless occupancy sensor circuit according to claim 1, characterized in that: The wireless communication module also includes interface J4, interface J10, MOSFET Q9, transistor Q8, resistors R28, R66, R71, R72, R74, R75, R77, and capacitors C4 and C15. The button battery module outputs a 3V voltage to one end of resistor R74, the source and drain of MOSFET Q9, one end of capacitor C15, and pin 2 of interface J10. Resistor R77 is electrically connected between the source and drain of MOSFET Q9. The other end of resistor R74 is electrically connected to the gate of MOSFET Q9 and one end of resistor R75. The other end of resistor R75 is electrically connected to the collector of transistor Q8. The base of transistor Q8 is electrically connected to one end of resistor R71 and one end of resistor R72. The other end of resistor R71 is electrically connected to one end of resistor R66. The other end of resistor R66 is electrically connected to pin 22 of communication control chip U3. Pin 6 of the communication control chip U3 is electrically connected to one end of resistor R28, and the other end of resistor R28 is electrically connected to one end of capacitor C4 and pin 1 of interface J4; interface J4 and interface J10 are electrically connected to the PIR module. Pin 2 of interface J4, pin 1 of interface J10, the other end of capacitor C4, the other end of capacitor C15, the other end of resistor R72, and the emitter of transistor Q8 are all grounded.
3. The wireless occupancy sensor circuit according to claim 1, characterized in that: The wireless communication module also includes interface J5, interface J6, boost chip U4, transistor Q6, MOSFET Q7, inductor L1, diode D4, capacitor C14, capacitor C16, and resistors R8, R10, R13, R17, R18, R19, R20, R23, R48, R52, R61, R67, R68, R69, R70, R73, R76, R78, R79, and R80. The button cell battery module outputs a 3V voltage to one end of resistor R67; the other end of resistor R67 is electrically connected to one end of resistor R70, one end of resistor R68, and the source of MOSFET Q7; the drain of MOSFET Q7 is electrically connected to the other end of resistor R70, one end of capacitor C14, and pin 5 of boost chip U4; pin 4 of boost chip U4 is electrically connected to one end of resistor R73; the other end of resistor R73 is electrically connected to one end of inductor L1 and one end of resistor R76; the other end of inductor L1 is electrically connected to the source of boost chip U4. Pin 1 is electrically connected to the positive terminal of diode D4. The negative terminal of diode D4 is electrically connected to one end of resistor R78, one end of capacitor C16, and the other end of resistor R76, and serves as the output terminal to output +VD voltage to pin 4 of interface J5, one end of resistor R8, one end of resistor R10, one end of resistor R13, one end of resistor R17, one end of resistor R18, and the TOF module. The other end of resistor R78 is electrically connected to one end of resistor R79, and the other end of resistor R79 is electrically connected to pin 3 of boost chip U4 and one end of resistor R80. The other end of resistor R68 is electrically connected to the gate of MOSFET Q7 and one end of resistor R69. The other end of resistor R69 is electrically connected to the collector of transistor Q6. The base of transistor Q6 is electrically connected to one end of resistor R52 and one end of resistor R61. The other end of resistor R52 is electrically connected to one end of resistor R48. The other end of resistor R48 is electrically connected to pin 17 of communication control chip U3. Pin 7 of the communication control chip U3 is electrically connected to one end of resistor R20, and the other ends of resistor R20 and resistor R8 are both electrically connected to pin 2 of interface J5; pin 8 of the communication control chip U3 is electrically connected to one end of resistor R23, and the other ends of resistor R23 and resistor R10 are both electrically connected to pin 1 of interface J5; the other ends of resistors R13, R17, R18, and R19 are respectively electrically connected to pins 4, 3, 2, and 1 of interface J6; interfaces J5 and J6 are connected to the TOF module; Pin 3 of interface J5, pin 2 of boost chip U4, the other end of capacitor C14, the other end of resistor R19, the other end of resistor R61, the other end of resistor R80, and the emitter of transistor Q6 are all grounded.
4. The wireless occupancy sensor circuit according to claim 1, characterized in that: The wireless communication module also includes a temperature and humidity detection unit, which includes a detection chip U1, a resistor R1, a resistor R5, a resistor R30, and a capacitor C5. The button battery module outputs 3V voltage to one end of resistor R1, one end of resistor R5, and one end of resistor R30; pin 9 of the communication control chip U3 is electrically connected to the other end of resistor R1 and the SCL pin of the detection chip U1; pin 10 of the communication control chip U3 is electrically connected to the other end of resistor R5 and the SDA pin of the detection chip U1; the other end of resistor R30 is electrically connected to one end of capacitor C5 and the VDD pin of the detection chip U1; the other end of capacitor C5, the VSS pin, the R pin, and the ADDR pin of the detection chip U1 are all grounded.
5. The wireless occupancy sensor circuit according to claim 1, characterized in that: The wireless communication module also includes a vibration detection unit, which includes a vibration sensor M1, a resistor R2, a resistor R3, and a capacitor C2. The button battery module outputs a 3V voltage to one end of resistor R3 and one end of capacitor C2; the other end of resistor R3 is electrically connected to one end of resistor R2 and pin 1 of vibration sensor M1, and the other end of resistor R2 is electrically connected to pin 13 of communication control chip U3. Pin 2 of the vibration sensor M1 and the other end of the capacitor C2 are both grounded.
6. The wireless occupancy sensor circuit according to claim 1, characterized in that: The wireless communication module also includes a switch KEY2, a light-emitting diode LED1, an interface J8, capacitors C6, C7, C11, C12, C13, and E2, and resistors R25, R29, R31, R47, R49, R50, R51, R54, R55, R56, R57, R64, and R65. The button battery module outputs 3V voltage to one end of capacitor C7, pin 5 of communication control chip U3, one end of resistor R49, one end of resistor R50, and pin 1 of interface J8. The other end of resistor R50 is electrically connected to the positive terminal of LED1, and the negative terminal of LED1 is electrically connected to pin 12 of communication control chip U3; pin 2 of communication control chip U3 is electrically connected to one end of capacitor C6 and one end of resistor R25, and the other end of resistor R25 is electrically connected to pin 32 of communication control chip U3 and pin 3 of interface J8; pin 3 of communication control chip U3 is electrically connected to one end of resistor R29, and the other end of resistor R29 is electrically connected to pin 33 of communication control chip U3 and pin 8 of interface J8; the communication... Pin 4 of control chip U3 is electrically connected to one end of resistor R31, and the other end of resistor R31 is electrically connected to pin 34 of communication control chip U3 and pin 4 of interface J8; pin 29 of communication control chip U3 is electrically connected to pin 10 of interface J8, pin 30 of communication control chip U3 is electrically connected to pin 2 of interface J8, pin 31 of communication control chip U3 is electrically connected to pin 9 of interface J8, pin 35 of communication control chip U3 is electrically connected to pin 5 of interface J8, and pin 36 of communication control chip U3 is electrically connected to pin 6 of interface J8. The other end of the resistor R57 is electrically connected to one end of the switch KEY2, one end of the capacitor C12, and pin 18 of the communication control chip U3. Pin 22 of the communication control chip U3 is electrically connected to one end of resistor R51, pin 23 of the communication control chip U3 is electrically connected to one end of resistor R47, and the other ends of resistor R51 and resistor R47 are both electrically connected to the TOF module. Pin 21 of the communication control chip U3 is electrically connected to one end of resistor R64, one end of resistor R65, and one end of capacitor C13. The other end of resistor R64 is electrically connected to one end of resistor R56 and the button battery module. Pin 24 of the communication control chip U3 is electrically connected to one end of resistor R54, one end of resistor R55, and one end of capacitor C11. The other end of resistor R54 is electrically connected to the other end of resistor R56 and the button battery module. The other end of the resistor R49 is electrically connected to one end of the capacitor E2 and pins 26 and 27 of the communication control chip U3. Pins 1, 14, 15, 16, and 38 of the communication control chip U3, pin 7 of interface J8, the other end of capacitor C7, the other end of capacitor C12, the other end of switch KEY2, the other end of capacitor C11, the other end of resistor R55, the other end of capacitor C13, the other end of resistor R65, and the other end of capacitor E2 are all grounded.
7. The wireless occupancy sensor circuit according to claim 3, characterized in that: The PIR module includes a digital processing chip U5, interfaces J13, J14, and J15, a MOSFET Q10, resistors R81, R82, R90, R94, and R95, and capacitors C17, C20, and C21. The button battery module outputs a 3V voltage to one end of resistor R81, the drain of MOSFET Q10, one end of resistor R95, pin 2 of interface J14, and one end of capacitor C21. The other end of resistor R81 is electrically connected to the source of MOSFET Q10, one end of capacitor C17, pin 2 of interface J13, and pin of digital processing chip U5; the gate of MOSFET Q10 is electrically connected to one end of resistor R82; pin 3 of interface J13 is electrically connected to pin 4 of digital processing chip U5 and one end of resistor R90; pin 3 of digital processing chip U5 is electrically connected to the other end of resistor R90 and one end of resistor R94; the other end of resistor R94 is electrically connected to the other end of resistor R95, one end of capacitor C20, and pin 1 of interface J15; interface J13 is electrically connected to the PIR sensor; and interfaces J14 and J15 are electrically connected to the wireless communication module. Pin 8 of the digital processing chip U5, the other end of resistor R82, the other end of capacitor C17, pin 1 of interface J13, the other end of capacitor C20, the other end of capacitor C21, pin 1 of interface J14, and pin 2 of interface J15 are all grounded.
8. The wireless occupancy sensor circuit according to claim 3, characterized in that: The TOF module includes a TOF sensor U6, a step-down chip U7, interfaces J11 and J12, a MOSFET Q11, resistors R83, R84, R85, R86, R87, R88, R89, R91, R92, R93, and R96, capacitors C18, C19, C22, C23, C24, and C25, and polarized capacitors E4 and E5. The negative terminal of diode D4 outputs +VD voltage to one end of resistor R84, the drain of MOSFET Q11, and pin 4 of interface J12. The gate of the MOSFET Q11 is electrically connected to one end of the resistor R85; the other end of the resistor R84 is electrically connected to the source of the MOSFET Q11, the positive terminal of the polarized capacitor E4, one end of the capacitor C18, one end of the resistor R93, one end of the resistor R92, and pin 1 of the buck converter U7; the other end of the resistor R92 is electrically connected to pin 3 of the buck converter U7; pin 5 of the buck converter U7 is electrically connected to the other end of the resistor R93, one end of the capacitor C19, and the positive terminal of the polarized capacitor E5, and serves as the output terminal to output +2.8V to one end of the resistor R83, one end of the resistor R91, and one end of the resistor R96. The other end of resistor R83 is electrically connected to one end of resistor R86, one end of resistor R87, one end of resistor R88, and one end of resistor R89; the other end of resistor R86 is electrically connected to pin 2 of interface J12 and pin 6 of TOF sensor U6; the other end of resistor R87 is electrically connected to pin 1 of interface J12 and pin 5 of TOF sensor U6; the other end of resistor R88 is electrically connected to pin 3 of interface J11 and pin 1 of TOF sensor U6; the other end of resistor R89 is electrically connected to pin 4 of interface J11, the other end of resistor R91, and pin 4 of TOF sensor U6; interface J11 and interface J12 are electrically connected to interface J6 and interface J5, respectively. The TOF sensor U6 has pins 8 and 10 electrically connected to the other end of resistor R96, one end of capacitor C22, one end of capacitor C23, one end of capacitor C24, and one end of capacitor C25. The other end of resistor R85, the negative terminal of polarized capacitor E4, the negative terminal of capacitor C18, pin 2 of step-down chip U7, the other end of capacitor C19, the negative terminal of polarized capacitor E5, pin 1 of interface J11, pin 3 of interface J12, pin 9 and pin 12 of TOF sensor U6, the other ends of capacitors C22, C23, C24 and C25 are all grounded.
9. The wireless occupancy sensor circuit according to claim 1, characterized in that: The button battery module includes battery BT1, battery BT2, voltage regulator chip U2, MOSFET Q3, MOSFET Q1, toggle switch KEY1, diode D1, diode D2, diode D3, interface J2, interface J3, polarized capacitor E1, polarized capacitor E3, capacitor C3, capacitor C10, and resistors R11, R16, R22, R24, R26, R32, R40, and R41. The positive terminals of batteries BT1 and BT2 are electrically connected to one end of resistor R22 and the drain of MOSFET Q3. The gate of MOSFET Q3 is electrically connected to one end of resistor R24. The source of MOSFET Q3 is electrically connected to the other end of resistor R22, one end of resistor R40, the anode of diode D2, and pin 5 of toggle switch KEY1, and serves as the output terminal VBAT_1, which is electrically connected to the wireless communication module. Pins 1 and 4 of toggle switch KEY1 are electrically connected to the cathode of diode D2, the other end of resistor R40, the cathode of diode D1, one end of resistor R41, the cathode of diode D3, one end of capacitor C10, and the anode of polarized capacitor E3, and serve as the power output terminal, outputting 3V to the wireless communication module. Interfaces J2 and J3 are electrically connected to an external adapter. Pin 2 of interface J2 and pin 2 of interface J3 are both electrically connected to one end of resistor R11 and the drain of MOSFET Q1. The gate of MOSFET Q1 is electrically connected to one end of resistor R16. The source of MOSFET Q1 is electrically connected to the other end of resistor R11, the positive terminal of polarized capacitor E1, one end of resistor R26, one end of capacitor C3, one end of resistor R32, and pin 1 of voltage regulator chip U2. It is also electrically connected to the wireless communication module as the output terminal VDSC_DET. The other end of resistor R26 is electrically connected to pin 3 of voltage regulator chip U2, and pin 5 of voltage regulator chip U2 is electrically connected to the other end of resistor R32, the other end of resistor R41, the positive terminal of diode D1, and pin 2 of toggle switch KEY1. The negative terminals of battery BT1 and BT2, the other end of resistor R24, pin 1 of interface J2, pin 1 of interface J3, the other end of resistor R16, the negative terminal of polarized capacitor E1, the other end of capacitor C3, pin 2 of voltage regulator chip U2, the positive terminal of diode D3, the other end of capacitor C10, and the negative terminal of polarized capacitor E3 are all grounded.
10. The wireless occupancy sensor circuit according to claim 1, characterized in that: It also includes at least one external linkage module, which includes interface J1, transistor Q2, capacitor C1 and resistors R4, R6, R7, R9, R12, R14, R15, R21, R27 and TVS1. The button battery module outputs 3V voltage to one end of resistor R14, one end of resistor R6, and one end of resistor R21. The other end of resistor R14 is electrically connected to one end of resistor R9 and one end of resistor R15. The other end of resistor R21 is electrically connected to the other end of resistor R15, one end of resistor R27, and the collector of transistor Q2. Resistor R27 serves as connection port dry1 and is electrically connected to pin 25 of communication control chip U3. The other end of resistor R9 is electrically connected to the base of transistor Q2, one end of resistor R12, one end of capacitor C1, and one end of resistor R4. The other end of resistor R4 is electrically connected to one end of resistor TVS1 and pin 1 of interface J1. Pin 2 of interface J1 is electrically connected to the other end of resistor R6 and one end of resistor R7. The emitter of transistor Q2, the other end of resistor R12, the other end of capacitor C1, and the other end of resistor R7 are all grounded.
