Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-S3 Controlled Security System with Fingerprint Authentication and Solenoid Lock

Image of ESP32-S3 Controlled Security System with Fingerprint Authentication and Solenoid Lock

Circuit Documentation

Summary

This circuit is designed to control a 12V Solenoid Lock using an ESP32-S3 microcontroller, which interfaces with a Fingerprint Scanner for authentication. The lock is driven by a 12V power supply, which also powers the microcontroller and the relay module. The relay module acts as an intermediary to control the high-power circuit of the solenoid lock. The ESP32-S3 microcontroller is programmed to communicate with the Fingerprint Scanner and control the relay based on the authentication result.

Component List

12V Solenoid Lock

  • Description: An electromechanical lock that is actuated by a 12V DC voltage.
  • Pins: - (Ground), + (Positive)

12V Single Channel Relay

  • Description: A relay module that allows a low-power signal to switch a higher power circuit.
  • Pins: NC (Normally Closed), COM (Common), NO (Normally Open), IN (Input Signal), GND (Ground), VCC (Voltage Supply)

Socket

  • Description: An AC power socket to provide mains electricity.
  • Pins: earth, life, neutral

Fingerprint Scanner

  • Description: A biometric sensor that captures fingerprints for authentication purposes.
  • Pins: VCC (Voltage Supply), TX (Transmit), RX (Receive), GND (Ground)

Power Supply 12V 5Amp

  • Description: A power supply unit that converts 220V AC to 12V DC.
  • Pins: 220V Positive Pole (AC), 220V Negative Pole (AC), GND (Ground), GND (DC), 12V-24V Output (DC)

ESP32-S3

  • Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
  • Pins: Multiple GPIOs, 3v3, EN, 5V, GND

Wiring Details

12V Solenoid Lock

  • - connected to NO on 12V Single Channel Relay
  • + connected to 12V-24V Output (DC) on Power Supply 12V 5Amp

12V Single Channel Relay

  • IN connected to GPIO11 on ESP32-S3
  • VCC connected to 5V on ESP32-S3
  • GND connected to GND on ESP32-S3
  • NO connected to - on 12V Solenoid Lock
  • COM connected to GND (DC) on Power Supply 12V 5Amp

Socket

  • life connected to 220V Positive Pole (AC) on Power Supply 12V 5Amp
  • neutral connected to 220V Negative Pole (AC) on Power Supply 12V 5Amp

Fingerprint Scanner

  • VCC connected to 5V on ESP32-S3
  • GND connected to GND on ESP32-S3
  • TX connected to GPIO44 on ESP32-S3
  • RX connected to GPIO43 on ESP32-S3

Power Supply 12V 5Amp

  • 220V Positive Pole (AC) connected to life on Socket
  • 220V Negative Pole (AC) connected to neutral on Socket
  • 12V-24V Output (DC) connected to + on 12V Solenoid Lock
  • GND (DC) connected to COM on 12V Single Channel Relay

Documented Code

ESP32-S3 Microcontroller Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The actual functionality of the microcontroller needs to be implemented within the setup and loop functions. This will include initializing the fingerprint scanner, reading the fingerprint data, and controlling the relay to lock or unlock the solenoid lock based on the authentication result.