albusforge.ai
← Marketplace
home · by sukrit · 4 clones

Door sensor

A reed contact on the frame says when the front door opens, on USB power. About $35 in parts.

Clone build →

Parts

  • Freenove ESP32-S3-WROOM CAM (N16R8, 16 MB flash / 8 MB PSRAM, GC0308) C-002$21.95
  • Magnetic contact switch, door/window reed with magnet (Adafruit 375) P-050$3.95
  • USB-C 5.1 V 3 A Power Supply E-005$8.74

Parts $34.64 · powered by the USB-C 5.1 V 3 A Power Supply

Wiring

The volts are the parts' own: the USB-C 5.1 V 3 A Power Supply puts out 4.845–5.355 V, and the Freenove ESP32-S3-WROOM CAM (N16R8, 16 MB flash / 8 MB PSRAM, GC0308)'s regulator makes the 3.2–3.4 V rail its GPIO and most of the sensors run from. Which header pin each lead lands on is our suggestion — the registry has no pin map, and nothing here has been wired on a bench.

Power the board off while you plug anything in. Every connector here is keyed: if it doesn't click in easily, turn it over rather than forcing it.

USB-C 5.1 V 3 A Power SupplyE-005 · out 4.845–5.355 VUSB Type-C≤3000 mA4.845–5.355 VportFreenove ESP32-S3-WROOM CAM…C-002 · in 4.13–5.5 V3V3 rail 3.2–3.4 V · ≤600 mAGPIO logic 3.3 V · USB Type-CUSB Type-CMagnetic contact switch, door/windowreed with magnet (Adafruit 375)P-050 · GPIO · sees 3.2–3.4 V3V33.2–3.4 V1 VCCGND2 GNDGPIO5digital in3 SIGloose ends →V+ · redGND · blackSDA · blueSCL · yellowsignal · orangeconnectors →USBJST PH 2.0 mmheader pinFreenove ESP32-S3-WROOM CAM (N16R8, 16 MB flash / 8 MB PSRAM, GC0308) GPIO are 3.3 V only — do not wire a signal to the 5V rail.

Readings

What this build sends: one column per channel its parts read or drive, with the unit the capability carries. The values and times below are sample data.

Sample data, one row every minute, in the shape the channel would arrive in — not a reading from a built device.
TimeDoorP-050
closed
closed
OPEN
closed
closed
OPEN