Smart Security System
Status: Monitoring...
1. Required Components
| Component | Quantity | Purpose |
|---|---|---|
| ESP32 | 1 | Main microcontroller |
| PIR Sensor | 1 | Motion detection |
| Camera Module (ESP32-CAM) | 1 | Capturing images/video |
| Ultrasonic Sensor | 1 | Distance measurement |
| OLED Display | 1 | Display alerts |
2. Wiring Table
| Component | ESP32 Pin | Remarks |
|---|---|---|
| PIR Sensor | D5 | Motion detection |
| ESP32-CAM | RX, TX | Image capture |
| Ultrasonic Sensor | D12, D13 | Distance sensing |
| OLED Display | D21, D22 | Display data |
3. How It Works
The system detects motion using the PIR sensor. If motion is detected, the ESP32-CAM captures an image. The ultrasonic sensor measures distance to verify an intruder. If a breach is detected, an alarm sounds, a light turns on via a relay, and an alert is displayed.