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

ESP32-Controlled Security System with Ultrasonic Sensing and Solenoid Lock

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Security System with Ultrasonic Sensing and Solenoid Lock

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface an ESP32 microcontroller with a variety of peripherals including a PWM Vibration Motor Sensor Module, an HC-SR04 Ultrasonic Sensor, a 12V solenoid lock, a 12V relay, and a buzzer. The ESP32 controls these components, likely for a system requiring distance measurement, haptic feedback, access control (solenoid lock), and audible alerts (buzzer). The relay is used to control the high-power solenoid lock with the low-power signal from the ESP32. The ESP32's power lines are also connected to the power lines of the other components, indicating a common power supply for the system.

Component List

ESP 32 DEVKIT V1 (30 pins)

12V Solenoid Lock

PWM Vibration Motor Sensor Module Switch

HC-SR04 Ultrasonic Sensor

12V Relay

Buzzer

Wiring Details

ESP 32 DEVKIT V1 (30 pins)

12V Solenoid Lock

PWM Vibration Motor Sensor Module Switch

HC-SR04 Ultrasonic Sensor

12V Relay

Buzzer

Documented Code

No code has been provided for the microcontroller. The expected code should initialize the GPIO pins connected to the relay, buzzer, and ultrasonic sensor. It should include routines to measure distance using the ultrasonic sensor, control the solenoid lock via the relay, provide haptic feedback using the vibration motor, and emit sound using the buzzer.