In this tutorial, we will be write the combination of two popular technologies in the world of embedded systems: the ESP32 microcontroller and the RC522 RFID reader to make this tutorial.
The ESP32 is a strong microcontroller that can be customized utilizing the Arduino IDE, and the RC522 RFID peruser is a minimal-expense answer for adding RFID capacities to your ventures. By consolidating these two ESP32 with RFID advancementsComponents Required for RFID ESP32
we need the given hardware to learn this activity
- ESP32 development board (we recommend the ESP32 DevKitC)
- RC522 RFID reader module
- Breadboard and jumper wires
- RFID tags
- RGB LED
- ESP32 Compatible cable
We can also make the PCB of the given components as per the circuit diagram with the help of PCBWAY.Software Requirements
To program the ESP32 and the RC522 RFID reader, we will be using the Arduino IDE. Make sure that you have the following software installed:
1. Arduino ide
2. Mfrc library esp32 version
3. ESP board package for Arduino ide
Since we have the ESP32 and the RC522 RFID peruser associated and the MFRC522 library introduced, we can begin composing the code. The accompanying code is an illustration of how to peruse an RFID tag and print the UID (Special Identifier) to the chronic screen:
Also, we have given all the required code and circuit diagram here. still if you have any doubt you can see the same article esp32s with RFID.