# WiFi Door and Window Sensor ## Description This project is a WiFi-enabled door and window sensor using the ESP8684-WROOM-02C module from Espressif Systems. It includes a triple-color LED indicator, Reed switch for detection, a 3.3V Regulatory mechanism, and USB C for firmware flashing. It's powered by a regular non-rechargeable AAA battery. #WiFi #MCU #ReferenceDesign #project #ESP8684 #referenceDesign #simple-embedded #espressif ## Project Details - **Owner:** vasy_skral - **Created:** 11/29/2023 - **Last Updated:** 3/7/2026 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ - **Stars:** 1 - **Copies:** 7 ## Key Components ### BAT1 — [Battery Holder Keystone 1076 1xAAA](https://www.flux.ai/vasy_skral/battery-holder-keystone-1076-1xaaa~jqn.md) - Datasheet URL: https://www.keyelco.com/userAssets/file/M65p24.pdf - Manufacturer Name: Keystone Electronics - Manufacturer Part Number: 1076 - Part Type: Connector **Pins:** - NEGATIVE [pin -] - POSITIVE [pin +] ### BOOT — [PTS815](https://www.flux.ai/vasy_skral/pts815~6b.md) - Manufacturer Part Number: PTS815 SJM 250 SMTR LFS - Manufacturer Name: C&K - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf - Part Type: Switch **Pins:** - ~1 [pin 1] - ~2 [pin 2] - ~3 [pin 3] - ~4 [pin 4] ### EN — [PTS815](https://www.flux.ai/vasy_skral/pts815~6b.md) - Manufacturer Name: C&K - Manufacturer Part Number: PTS815 SJM 250 SMTR LFS - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf - Part Type: Switch **Pins:** - ~1 [pin 1] - ~2 [pin 2] - ~3 [pin 3] - ~4 [pin 4] ### IC1 — [TPS613221ADBVR](https://www.flux.ai/vasyl/tps613221adbvr~58b.md) - Datasheet URL: https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=http%253A%252F%252Fwww.ti.com%252Flit%252Fgpn%252Ftps61322 - Manufacturer Name: Texas Instruments - Part Type: Integrated Circuit - Manufacturer Part Number: TPS613221ADBVR **Pins:** - GND [pin 2] - NC [pin 3] - NC [pin 5] - SW [pin 1] - VOUT [pin 4] ### J1 — [Pin Header 01x06 2.54mm Vertical](https://www.flux.ai/vasy_skral/pin-header-01x06-254mm-vertical~jyw.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] - Pin_4 [pin 4] - Pin_5 [pin 5] - Pin_6 [pin 6] ### LED1 — [LTST-C19HE1WT](https://www.flux.ai/vasy_skral/ltst-c19he1wt~x5i.md) - Part Type: LED - Manufacturer Part Number: 19-237/R6GHBHC-A04/2T - Manufacturer Name: Everlight Elec - Datasheet URL: https://datasheet.lcsc.com/lcsc/2010222107_Everlight-Elec-19-237-R6GHBHC-A04-2T_C883183.pdf **Pins:** - A - B - G - R ### REED1 — [MDSM-4R-12-18](https://www.flux.ai/vasy_skral/mdsm-4r-12-18~7vl.md) - Manufacturer Part Number: MDSM-4R-12-18 - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Switch - Datasheet URL: https://www.littelfuse.com/media?resourcetype=datasheets&itemid=a42b08e0-1fdf-4815-8489-0dbae6f9e547&filename=littelfuse-reed-switches-mdsm-4-datasheet - Manufacturer Name: Littelfuse Inc. **Pins:** - ~ [pin 2] - ~ [pin 1] ### U1 — [ESP8684-WROOM-02C](https://www.flux.ai/vasyl/esp8684-wroom-02c~km5.md) - Manufacturer Name: espressif - Manufacturer Part Number: ESP8684-WROOM-02C - Part Type: WiFi Module - Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp8684-wroom-02c_datasheet_en.pdf - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 3V3 [pin 1] - EN [pin 2] - GND [pin 9] - GND__3 [pin 19] - IO0 [pin 18] - IO1 [pin 17] - IO10 [pin 10] - IO18 [pin 14] - IO2 [pin 16] - IO3 [pin 15] - IO4 [pin 3] - IO5 [pin 4] - IO6 [pin 5] - IO7 [pin 6] - IO8 [pin 7] - IO9 [pin 8] - NC [pin 13] - RXD [pin 11] - TXD [pin 12] ### USER — [PTS815](https://www.flux.ai/vasy_skral/pts815~6b.md) - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf - Part Type: Switch - Manufacturer Name: C&K - Manufacturer Part Number: PTS815 SJM 250 SMTR LFS **Pins:** - ~1 [pin 1] - ~2 [pin 2] - ~3 [pin 3] - ~4 [pin 4] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/vasy_skral/wifi-door-and-window-sensor~m9t](https://www.flux.ai/vasy_skral/wifi-door-and-window-sensor~m9t).* --- *Generated from [https://www.flux.ai/vasy_skral/wifi-door-and-window-sensor~m9t](https://www.flux.ai/vasy_skral/wifi-door-and-window-sensor~m9t)*