ESP32-Based RFID Access Control with LCD Feedback and Buzzer Alert
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed to interface an ESP32 Devkit V1 microcontroller with an RFID-RC522 module, an LCD I2C display, and a buzzer. The ESP32 serves as the central processing unit, controlling the RFID reader for tag scanning, outputting data to the LCD display via the I2C protocol, and driving the buzzer for audio feedback. The RFID-RC522 module is used for reading RFID tags, the LCD display shows information to the user, and the buzzer provides audible alerts.
Component List
ESP32 Devkit V1
- Description: A microcontroller development board based on the ESP32 chip, featuring Wi-Fi and Bluetooth connectivity.
- Pins: 3V3, GND, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, VIN
LCD I2C Display
- Description: A liquid crystal display that communicates with the microcontroller via the I2C protocol.
- Pins: GND, VCC, SDA, SCL
Buzzer
- Description: An electronic buzzer that produces sound when powered.
- Pins: PIN, GND
RFID-RC522
- Description: An RFID reader/writer module that operates at 13.56 MHz.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
Wiring Details
ESP32 Devkit V1
- 3V3: Connected to RFID-RC522 VCC (3.3V)
- GND: Common ground with RFID-RC522, LCD I2C Display, and Buzzer
- D15: Connected to Buzzer PIN
- D4: Connected to RFID-RC522 RST
- D5: Connected to RFID-RC522 SDA
- D18: Connected to RFID-RC522 SCK
- D19: Connected to RFID-RC522 MISO
- D21: Connected to LCD I2C Display SDA
- D22: Connected to LCD I2C Display SCL
- D23: Connected to RFID-RC522 MOSI
- VIN: Connected to LCD I2C Display VCC
LCD I2C Display
- GND: Connected to ESP32 Devkit V1 GND
- VCC: Connected to ESP32 Devkit V1 VIN
- SDA: Connected to ESP32 Devkit V1 D21
- SCL: Connected to ESP32 Devkit V1 D22
Buzzer
- PIN: Connected to ESP32 Devkit V1 D15
- GND: Connected to ESP32 Devkit V1 GND
RFID-RC522
- VCC (3.3V): Connected to ESP32 Devkit V1 3V3
- RST: Connected to ESP32 Devkit V1 D4
- GND: Connected to ESP32 Devkit V1 GND
- SDA: Connected to ESP32 Devkit V1 D5
- SCK: Connected to ESP32 Devkit V1 D18
- MISO: Connected to ESP32 Devkit V1 D19
- MOSI: Connected to ESP32 Devkit V1 D23
Documented Code
No code has been provided for the microcontroller. The documentation of the code would typically include a description of the functionality, setup and loop functions, and any functions or libraries used to control the peripherals (RFID-RC522, LCD I2C Display, and Buzzer). Since no code is available, this section cannot be completed.