Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a Piezo Buzzer, and an RFID-RC522 module. The ESP32 serves as the central controller, interfacing with the RFID module for reading RFID tags and controlling the Piezo Buzzer for audio feedback.
Component List
ESP32
- 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, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
Piezo Buzzer
- Description: An audio signaling device that produces sound when an electric signal is applied.
- Pins: pin 1, pin 2
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
Wiring Details
ESP32
- 3V3: Connected to VCC (3.3V) of RFID-RC522
- GND: Connected to GND of RFID-RC522 and pin 2 of Piezo Buzzer
- D4: Connected to pin 1 of Piezo Buzzer
- D18: Connected to SCK of RFID-RC522
- D19: Connected to MISO of RFID-RC522
- D21: Connected to SDA of RFID-RC522
- D22: Connected to RST of RFID-RC522
- D23: Connected to MOSI of RFID-RC522
Piezo Buzzer
- pin 1: Connected to D4 of ESP32
- pin 2: Connected to GND of ESP32
RFID-RC522
- VCC (3.3V): Connected to 3V3 of ESP32
- GND: Connected to GND of ESP32
- SCK: Connected to D18 of ESP32
- MISO: Connected to D19 of ESP32
- SDA: Connected to D21 of ESP32
- RST: Connected to D22 of ESP32
- MOSI: Connected to D23 of ESP32
Code Documentation
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code running on the ESP32 microcontroller.
