
Remote Temp Humidity Sensor
gadjet/Multifunction-ESP8266-Sensor-board
AKA Wireless window/door sensor version 4

Version 5 of the Window/Door sensor project this time with ultra low current consumption
Window sensor V5 is an open-source printed circuit board by gadjet, from the gadjet/Window-Door-sensor-Version-5 repository on GitHub, published under the GPL-2.0 licence. It is a 2-layer board of 31.4 × 20.6 mm with 32 parts on 26 nets, routed with 189 tracks and 19 vias.
It is built around the ESP-12F, 74AHC1G86SE and 74AHC1G32GW, with the SPX3819M5-L-3-3 among its other parts. Its parts include 12 resistors, 8 capacitors, 5 ICs, 2 connectors and 2 switches. It belongs with the sensors and measurement boards and the ESP8266 boards of this library.
*** "Window sensor V5.zip" file added with all the files required for PCBA at JLCPCB.com previous files removed.
Version 5 of the Window/Door sensor project this time with ultra low current consumption and a button input.
I have continued to develop the original window/Door sensor from the Youtube video of Makermeik (https://github.com/MakerMeik) and this is the latest version (version 5)
At each revision I've tried to reduce the power consumption more and more and with this version the Quiescent current with the Door/Window shut is a around 5.4uA and with the door open or using as a WiFi button (Doorbell etc.) then it's around 3.9uA and depending on usage you're looking at years of usage on a small capacity L-ion cell.
The trigger logic is essetially the same as the the original version except the output from the two XOR gates is inverted to give a high pulse and return to Low when stable, this enables the output to trigger the input of an OR gate which self latches to keep the enable pin of the SPX3189 LDO high and the ESP module powered up.
When the ESP has finished running its code it sets GPIO16 low which resets the OR gates latch and powers off the LDO.
To keep the power on time as short as possible I'm using ESP-NOW to send the data packets to the ESP receiver but you could connect to your router and send MQTT messages, this would use more power but as the consumption is quite low the cell would still last quite a long time.
It has been pointed out to me that there are dedicated ICs out there that can handle this sort of thing, wake up from a button at least, but I can't find them readily available and the ones I can find are quite expesive, more than the cost of a populated Version 5 PCB from JLCPCB anyway.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 10k | Resistor_SMD:R_0603_1608Metric | R2, R3, R6, R7, R8, R9, R10, R12 |
| 5 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C3, C5, C6 |
| 2 | 1M | Resistor_SMD:R_0603_1608Metric | R1, R5 |
| 2 | 1uF | Capacitor_SMD:C_0603_1608Metric | C4, C8 |
| 2 | 74AHC1G86 | Package_TO_SOT_SMD:SOT-23-5 | U1, U2 |
| 2 | SW_Push | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | FLASH, RESET |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 2u2 | Capacitor_SMD:C_0603_1608Metric | C7 |
| 1 | 3M2 | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | 74AHC1G32 | Package_TO_SOT_SMD:SOT-23-5 | U4 |
| 1 | Conn_01x02 | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | J1 |
| 1 | Conn_01x05_Male | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J2 |
| 1 | ESP-12F | RF_Module:ESP-12E | U3 |
| 1 | LED_Small | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | SPX3819M5-L-3-3 | Package_TO_SOT_SMD:SOT-23-5 | U5 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW2 |
| 1 | SW_Reed | Button_Switch_SMD:SW_SPST_REED_CT10-XXXX-G2 | SW1 |
It measures 31.4 × 20.6 mm and has 2 copper layers, 1.6 mm thick.
32 parts, built around the ESP-12F, 74AHC1G86SE, 74AHC1G32GW and SPX3819M5-L-3-3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the gadjet/Window-Door-sensor-Version-5 repository on GitHub, at the commit this page was made from: the board is Window sensor V5.kicad_pcb and its schematic Window sensor V5.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

gadjet/Multifunction-ESP8266-Sensor-board
AKA Wireless window/door sensor version 4

perriestudios/SMD-Soldering-PCB
A PCB I designed as a TA for EE 201 at UW over the Winter 2024

starlingcode/analog-via
Designs for an all-analog variant of the VIA meta crossfader

idlehandsdev/pps-watch
An extremely accurate watch that doesn't tell time.


anwaypimpalkar/smartElevatorSystem
A holistic device for safer and smarter contactless elevator system using Embedded Machine Learning on an Arduino Nano 33 BLE Sense, complete with a deployable PCB and fire safety system pipeline.


tmarhguy/tomato
A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation