WiFi Door Sensor


Explain this project to me in details (how it works etc)
I’ll inspect the schematic, connectivity, and component values, then create a detailed project walkthrough covering power, sensing, ESP32 behavior, indicators, programming, and expected operating sequence.
I reviewed the current schematic and confirmed the detailed explanation is already documented in WiFi Door and Window Sensor — Project Explanation.
In short: a single AA battery passes through PMOS reverse-polarity protection and a TPS613221A boost converter to produce 3.3 V. The ESP32-C3 monitors a magnet-operated reed switch, wakes when the door/window changes state, reports the event over WiFi or BLE, briefly uses the RGB LED for status, then returns to deep sleep. The project file includes the complete power path, GPIO mapping, reed-filter circuit, programming process, PCB implementation, firmware sequence, trade-offs, and current design risks.
Review power reliability
Fix stale battery note
Run full design review
Create bring-up plan
Optimize firmware power

+3V3
BOOT
IO8
+3V3
IO2
BOOT
IO8
+3V3
R9
Resistance
10kΩ
R7
Resistance
10kΩ
R8
Resistance
10kΩ

WiFi Door and Window Sensor