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 is designed around the ESP32-CAM microcontroller, which serves as the central processing unit capable of Wi-Fi communication, image capture, and face recognition. The system is equipped with a solenoid lock, voltage regulator, LEDs, a relay module, a push switch, and a 9V battery for power supply. The ESP32-CAM is programmed to interact with the Blynk platform for remote notifications and control. The system can detect a person's presence, capture their image, and use face recognition to determine if the person is known. If the person is recognized, the system can trigger actions such as unlocking a door.

Component List

Wiring Details

ESP32-CAM

Solenoid

Voltage Regulator (V_REG_LD1117VXX)

LEDs

1-Channel Relay (5V 10A)

9V Battery

Electrolytic Capacitor

2Pin Push Switch

Documented Code

The embedded code for the ESP32-CAM microcontroller is written in C++ and is designed to work with the Blynk platform for IoT applications. The code includes libraries for Wi-Fi connectivity, camera functionality, and web server capabilities. It defines the camera model, initializes camera settings, and sets up a web server to stream video and capture images. The code also includes face recognition algorithms and functions to handle HTTP requests for capturing images, streaming video, and controlling the system remotely.

The code is organized into several files:

The system is designed to be modular, allowing for easy updates and maintenance. The code is well-documented, with comments explaining the functionality of each section and function.