Circuit Documentation
Summary of the Circuit
This circuit integrates an ESP8266 NodeMCU microcontroller with an RFID-RC522 reader and a 0.96" OLED display. The ESP8266 NodeMCU serves as the central processing unit, controlling the data flow 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 such as tag IDs or status messages.
Component List
ESP8266 NodeMCU
- Description: A Wi-Fi enabled microcontroller module with an ESP8266 chip.
- 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/writer module for contactless communication at 13.56MHz.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
0.96" OLED
- Description: A small display module for showing graphical and textual information.
- Pins: GND, VDD, SCK, SDA
Wiring Details
ESP8266 NodeMCU
- GND connected to:
- GND of 0.96" OLED
- GND of RFID-RC522
- 3V3 connected to:
- VDD of 0.96" OLED
- VCC (3.3V) of RFID-RC522
- D1 connected to SCK of 0.96" OLED
- D2 connected to SDA of 0.96" OLED
- D3 connected to RST of RFID-RC522
- D4 connected to SDA of RFID-RC522
- D5 connected to SCK of RFID-RC522
- D6 connected to MISO of RFID-RC522
- D7 connected to MOSI of RFID-RC522
RFID-RC522
- GND connected to GND of ESP8266 NodeMCU
- VCC (3.3V) connected to 3V3 of ESP8266 NodeMCU
- RST connected to D3 of ESP8266 NodeMCU
- SDA connected to D4 of ESP8266 NodeMCU
- SCK connected to D5 of ESP8266 NodeMCU
- MISO connected to D6 of ESP8266 NodeMCU
- MOSI connected to D7 of ESP8266 NodeMCU
0.96" OLED
- GND connected to GND of ESP8266 NodeMCU
- VDD connected to 3V3 of ESP8266 NodeMCU
- SCK connected to D1 of ESP8266 NodeMCU
- SDA connected to D2 of ESP8266 NodeMCU
Documented Code
No code has been provided for the microcontroller. To fully utilize the circuit, embedded code should be written to initialize and control the ESP8266 NodeMCU, handle communication with the RFID-RC522 module, and manage the display output on the 0.96" OLED screen. The code should include libraries specific to the RFID-RC522 and OLED display, setup routines for each device, and the main loop where the RFID reader checks for tags and sends the data to be displayed on the OLED.
