Circuit Documentation
Summary of the Circuit
This circuit integrates an ESP8266 NodeMCU microcontroller with an RFID-RC522 reader module. The ESP8266 NodeMCU is a Wi-Fi capable microcontroller with a variety of digital pins, while the RFID-RC522 is a standard RFID reader that operates at 13.56 MHz. The purpose of this circuit is to enable the ESP8266 to communicate with the RFID-RC522 module to read RFID tags and perform actions based on the tag data. The circuit is powered by a 3.3V supply from the ESP8266, and the communication between the microcontroller and the RFID reader is established via the SPI interface.
Component List
ESP8266 NodeMCU
- Description: A Wi-Fi capable microcontroller with multiple GPIOs.
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
RFID-RC522
- Description: An RFID reader module that operates at 13.56 MHz.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
Wiring Details
ESP8266 NodeMCU
- D3: Connected to RFID-RC522 RST
- D4: Connected to RFID-RC522 SDA
- GND: Connected to RFID-RC522 GND
- D6: Connected to RFID-RC522 SCK
- D7: Connected to RFID-RC522 MISO
- D8: Connected to RFID-RC522 MOSI
- 3V3: Connected to RFID-RC522 VCC (3.3V)
RFID-RC522
- RST: Connected to ESP8266 NodeMCU D3
- SDA: Connected to ESP8266 NodeMCU D4
- GND: Connected to ESP8266 NodeMCU GND
- SCK: Connected to ESP8266 NodeMCU D6
- MISO: Connected to ESP8266 NodeMCU D7
- MOSI: Connected to ESP8266 NodeMCU D8
- VCC (3.3V): Connected to ESP8266 NodeMCU 3V3
Documented Code
No code has been provided for the microcontroller. To fully utilize the circuit, embedded code for the ESP8266 NodeMCU is required to handle the initialization and communication with the RFID-RC522 module. The code would typically include the setup of the SPI interface, routines to send and receive data to and from the RFID reader, and logic to process the RFID tag data.
