Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-CAM Based Smart Security System with Face Recognition

View and Edit Project In Cirkit DesignerImage of ESP32-CAM Based Smart Security System with Face Recognition

Smart Home Security System Circuit Documentation

Summary

The Smart Home Security System circuit is designed to integrate a camera module with motion detection and face recognition capabilities, along with various indicators and actuators to create a comprehensive security solution. The system uses an ESP32-CAM module to capture images and detect motion. When motion is detected, the system can trigger alerts, activate a solenoid lock, and control LED indicators. The circuit also includes a voltage regulator to ensure stable power supply to the ESP32-CAM, and a relay module to control the solenoid lock.

Component List

ESP32-CAM

Solenoid

Voltage Regulator (V_REG_LD1117VXX)

LED: Two Pin (green)

LED: Two Pin (red)

1-Channel Relay (5V 10A)

9V Battery

Electrolytic Capacitor

2Pin Push Switch

Wiring Details

ESP32-CAM

Solenoid

V_REG_LD1117VXX

LED: Two Pin (green)

LED: Two Pin (red)

1-Channel Relay (5V 10A)

9V Battery

Electrolytic Capacitor

2Pin Push Switch

Documented Code

The embedded code for the ESP32-CAM microcontroller is designed to handle camera initialization, Wi-Fi connectivity, and integration with the Blynk application for remote monitoring and control. The code includes functions for capturing photos, handling HTTP requests, and streaming video. It also contains the logic for face detection and recognition, which can trigger the solenoid lock and LED indicators based on the recognition result.

The code is organized into several files:

The code leverages the esp_camera, WiFi, WiFiClient, BlynkSimpleEsp32, and other libraries to implement the features. It is structured to allow easy modification and updates to suit specific security system requirements.