π· ESP32 Motion Camera

Posted by: Chr0nicHacker
Project Repo: esp32-motion-cam
This isn’t just a cameraβit’s a DIY surveillance system forged in code, soldered by hand, and controlled by you.
π What It Does
The ESP32 Motion Camera uses a PIR sensor and ESP32-CAM to detect motion, snap photos, and serve them via web UIβlocally and securely.
π‘ Why I Built It
I wanted a cloud-free cam with full control and timestamped logs. Retro UI included. Built for privacy geeks, makers, and rebels.
π GitHub Repo
Code and instructions live at:
π github.com/Chr0nicHacker/esp32-motion-cam
π¦ Parts List
- ESP32-CAM (OV2640)
- PIR Motion Sensor (e.g., HC-SR501)
- MicroSD Card
- Optional: WS2812B or LED on GPIO 4
π§ Key Features
- Motion detection
- Timestamped snapshots
- Web interface with image viewer
- Delete images on click
- Fully offline operation
π Example Interface
photo_20250423-143310.jpg [Delete]
photo_20250423-144201.jpg [Delete]
πͺ Wiring Diagram
- PIR VCC β
3.3V
- PIR GND β
GND
- PIR OUT β
GPIO 13
- LED β
GPIO 4
(with 330Ξ© resistor)
π‘ Use 5V input to ensure stable power to ESP32-CAM and SD card.
π ESP32-CAM Pinout Reference
GPIO 0 - Flash mode
GPIO 1 - Serial TX
GPIO 3 - Serial RX
GPIO 4 - LED
GPIO 13 - PIR Signal
GPIO 14-16 - SD lines
GPIO 33+ - Camera interface
GND / 3.3V / 5V - Power
π Full Instructions + Code
Open-source and documented step-by-step:
π esp32-motion-cam on GitHub
Built not bought. Watch your six. β CH