Solar-Powered ESP32-CAM Security System with Motion Detection
View and Edit Project In Cirkit Designer
Solar-Powered ESP32-CAM Security System Documentation
Summary
This document describes a solar-powered security system that utilizes an ESP32-CAM module for surveillance, a PIR (Passive Infrared) sensor for motion detection, and a piezo buzzer for an audible alert. The system is powered by a solar panel that charges a 2000mAh battery through a CN3065 solar charge controller. The ESP32-CAM module processes the input from the PIR sensor and controls the buzzer based on the detection of motion.
Component List
Solar Panel
- Description: A photovoltaic panel that converts sunlight into electrical energy.
- Pins:
+,-
CN3065 Solar Charge Controller
- Description: A charge controller designed for charging batteries with solar power.
- Pins:
SOLAR +,SOLAR -,BAT +,BAT -,SYS +,SYS -
2000mAh Battery
- Description: A rechargeable lithium-ion battery that provides power to the system.
- Pins:
VCC,GND
ESP32-CAM
- Description: A small-sized ESP32-based board with an integrated camera and Wi-Fi capabilities.
- Pins:
5V,GND,IO12,IO13,IO15,IO14,IO2,IO4,VOT,VOR,VCC,IO0,IO16,3V3
PIR/Motion Sensor
- Description: A sensor that detects motion based on changes in infrared radiation.
- Pins:
GND,OUTPUT,VCC
Piezo Buzzer
- Description: An electronic device that emits sound when an electric signal is applied.
- Pins:
pin 1,pin 2
Wiring Details
Solar Panel
- + connected to
SOLAR +on CN3065 Solar Charge Controller - - connected to
SOLAR -on CN3065 Solar Charge Controller
CN3065 Solar Charge Controller
- SOLAR + connected to
+on Solar Panel - SOLAR - connected to
-on Solar Panel - BAT + connected to
VCCon 2000mAh Battery - BAT - connected to
GNDon 2000mAh Battery - SYS + connected to
5Von ESP32-CAM andVCCon PIR/Motion Sensor - SYS - connected to
GNDon ESP32-CAM,GNDon PIR/Motion Sensor, andpin 1on Piezo Buzzer
2000mAh Battery
- VCC connected to
BAT +on CN3065 Solar Charge Controller - GND connected to
BAT -on CN3065 Solar Charge Controller
ESP32-CAM
- 5V connected to
SYS +on CN3065 Solar Charge Controller - GND connected to
SYS -on CN3065 Solar Charge Controller - IO13 connected to
OUTPUTon PIR/Motion Sensor - IO15 connected to
pin 2on Piezo Buzzer
PIR/Motion Sensor
- GND connected to
SYS -on CN3065 Solar Charge Controller - OUTPUT connected to
IO13on ESP32-CAM - VCC connected to
SYS +on CN3065 Solar Charge Controller
Piezo Buzzer
- pin 1 connected to
SYS -on CN3065 Solar Charge Controller - pin 2 connected to
IO15on ESP32-CAM
Documented Code
No code has been provided for the microcontrollers in the circuit. The ESP32-CAM would typically require firmware to handle the input from the PIR sensor and to control the piezo buzzer. The firmware would also manage the camera module for capturing images or video upon detecting motion. Since no code is available, this section cannot be completed at this time.