ESP32-Based Smart Security System with Fingerprint Access and Audio Feedback
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates various components to perform a set of functions that likely involve user interaction, display feedback, audio playback, and security features. The core of the circuit is an ESP32 microcontroller, which interfaces with a TFT LCD display, a DFPlayer MINI audio module, a fingerprint scanner, and a 12V solenoid lock. User inputs are captured through pushbuttons. The circuit also includes a piezo speaker for audio output and a mini step-down buck converter to regulate voltage. Power is supplied through a 2.1mm barrel jack with a terminal block.
Component List
ESP32 (30 pin)
- Microcontroller with WiFi and Bluetooth capabilities.
- 30 GPIO pins including analog inputs, UART, I2C, SPI, VP/VN, DAC, and capacitive touch.
TFT LCD Display ST7735S
- Small graphics display with SPI interface.
- Pins for power, ground, data/command, chip select, reset, and backlight control.
DFPlayer MINI
- Compact audio player module for MP3 files.
- Supports SD card and USB flash drive.
- Pins for power, ground, serial communication, DAC output, and speaker output.
Piezo Speaker
- Simple audio output device.
- Two pins for driving the piezo element.
12V Solenoid Lock
- Electromechanical lock powered by 12V.
- Two pins for power and ground.
2.1mm Barrel Jack with Terminal Block
- Power connector for external power sources.
- Positive and negative terminals.
Mini Step Down Buck Converter
- Voltage regulator to step down input voltage to a lower output voltage.
- Pins for input voltage, ground, output voltage, and enable.
Fingerprint Scanner
- Biometric sensor for fingerprint detection.
- Pins for power, ground, and serial communication.
Pushbutton
- Momentary tactile switch.
- Four pins for two switch states.
Wiring Details
ESP32 (30 pin)
D32connected to DFPlayer MINITX.D33connected to DFPlayer MINIRX.D25,D26,D27connected to different pushbuttonsPin 1 (in).D13connected to 12V solenoid lockGND.GNDconnected to common ground net.Vinconnected to power net.D23connected to TFT LCD DisplaySDA.D22connected to another ESP32D22.D21connected to another ESP32D21.D18connected to TFT LCD DisplaySCK.D5connected to TFT LCD DisplayRESET.TX2connected to Fingerprint ScannerRX.RX2connected to Fingerprint ScannerTX.D2connected to TFT LCD DisplayA0.D15connected to TFT LCD DisplayCS.3V3connected to TFT LCD DisplayVcc.
TFT LCD Display ST7735S
Vccconnected to ESP323V3.GNDconnected to common ground net.CSconnected to ESP32D15.RESETconnected to ESP32D5.A0connected to ESP32D2.SDAconnected to ESP32D23.SCKconnected to ESP32D18.LEDconnected to power net.
DFPlayer MINI
VCCconnected to power net.GNDconnected to common ground net.RXconnected to ESP32D33.TXconnected to ESP32D32.SPK1connected to Piezo Speakerpin1.SPK2connected to Piezo Speakerpin2.
Piezo Speaker
pin1connected to DFPlayer MINISPK1.pin2connected to DFPlayer MINISPK2.
12V Solenoid Lock
VCCconnected to power net.GNDconnected to ESP32D13.
2.1mm Barrel Jack with Terminal Block
POSconnected to power net.NEGconnected to common ground net.
Mini Step Down Buck Converter
VO+connected to power net.GNDconnected to common ground net.In+connected to 2.1mm Barrel JackPOS.ENnot connected.
Fingerprint Scanner
VCCconnected to ESP32Vin.TXconnected to ESP32RX2.RXconnected to ESP32TX2.GNDconnected to common ground net.
Pushbutton
Pin 1 (in)connected to ESP32D25,D26,D27(each button to a separate pin).Pin 3 (out)connected to common ground net.
Documented Code
No code was provided for the microcontrollers in the circuit. Therefore, this section is not applicable to the current documentation.