Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, an RFID-RC522 module, a pushbutton, a buzzer, and an LCD 20x4 I2C display. The circuit is designed to interface these components for various functionalities such as RFID reading, user input through a pushbutton, audio feedback via a buzzer, and visual output on an LCD display.
Component List
ESP32 (30 pin)
- Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
RFID-RC522
- Description: A low-cost RFID reader module that operates at 13.56 MHz.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
Pushbutton
- Description: A simple pushbutton for user input.
- Pins: Pin 2, Pin 1, Pin 3, Pin 4
Buzzer
- Description: An audio signaling device.
- Pins: PIN, GND
LCD 20x4 I2C
- Description: A 20x4 character LCD display with I2C interface.
- Pins: GND, 5v, SCA, SCL
Wiring Details
ESP32 (30 pin)
GND is connected to:
- GND of LCD 20x4 I2C
- Pin 2 of Pushbutton
- GND of Buzzer
- GND of RFID-RC522
Vin is connected to 5v of LCD 20x4 I2C
D23 is connected to MOSI of RFID-RC522
D22 is connected to SCL of LCD 20x4 I2C
D21 is connected to SCA of LCD 20x4 I2C
D19 is connected to MISO of RFID-RC522
D18 is connected to SCK of RFID-RC522
D5 is connected to SDA of RFID-RC522
D4 is connected to RST of RFID-RC522
D2 is connected to PIN of Buzzer
D15 is connected to Pin 3 of Pushbutton
3V3 is connected to VCC (3.3V) of RFID-RC522
RFID-RC522
- VCC (3.3V) is connected to 3V3 of ESP32
- RST is connected to D4 of ESP32
- GND is connected to GND of ESP32
- MISO is connected to D19 of ESP32
- MOSI is connected to D23 of ESP32
- SCK is connected to D18 of ESP32
- SDA is connected to D5 of ESP32
Pushbutton
- Pin 2 is connected to GND of ESP32
- Pin 3 is connected to D15 of ESP32
Buzzer
- PIN is connected to D2 of ESP32
- GND is connected to GND of ESP32
LCD 20x4 I2C
- GND is connected to GND of ESP32
- 5v is connected to Vin of ESP32
- SCA is connected to D21 of ESP32
- SCL is connected to D22 of ESP32
Code
There is no code provided for this circuit.