Circuit Documentation
Summary
The circuit in question is designed to interface an ESP32 microcontroller with an RFID-RC522 module and an OLED 1.3" display. The ESP32 serves as the central processing unit, managing communication between the RFID reader and the OLED display. The RFID-RC522 is used for reading RFID tags, and the OLED display provides a visual interface to display information or statuses. The circuit is powered by a 3.3V supply, which is common to all components, and ground connections are shared across the board to complete the circuit.
Component List
ESP32 (30 pin)
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities, featuring a wide range of GPIO pins for interfacing with various peripherals.
- 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: An RFID reader/writer module that operates at 13.56 MHz, commonly used for contactless communication and identification.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
OLED 1.3"
- Description: A small display module based on OLED technology, capable of showing graphics and text in monochrome.
- Pins: GND, VCC, SCL, SDA
Wiring Details
ESP32 (30 pin)
- GND connected to common ground
- D23 (MOSI) connected to RFID-RC522 MOSI
- D22 (MISO) connected to RFID-RC522 MISO
- D18 (SCK) connected to RFID-RC522 SCK
- D5 (SDA) connected to RFID-RC522 SDA
- D4 (SCL) connected to OLED SCL
- D15 (SDA) connected to OLED SDA
- 3V3 connected to common 3.3V supply
RFID-RC522
- VCC (3.3V) connected to common 3.3V supply
- GND connected to common ground
- MOSI connected to ESP32 D23
- MISO connected to ESP32 D22
- SCK connected to ESP32 D18
- SDA connected to ESP32 D5
OLED 1.3"
- GND connected to common ground
- VCC connected to common 3.3V supply
- SCL connected to ESP32 D4
- SDA connected to ESP32 D15
Documented Code
Since no code was provided in the input, this section is left blank. When code is available, it should be documented here with explanations for each function and routine, as well as any relevant comments within the code to explain the logic and flow of the program.
This documentation provides an overview of the circuit, including the purpose and connection details of each component. For further development, the code section needs to be populated with the relevant embedded software that will drive the interactions between the ESP32, RFID-RC522, and OLED display.
