Product Introduction #
Radio-Frequency Identification (RFID) is a technology used to wirelessly identify and track objects, which is based on the principle of wireless communication through the use of RFID tags and RFID readers.
RFID tag: An RFID tag is a small chip that contains a unique identifier UID (usually a numeric code) along with some memory for storing additional information. These tags usually consist of an RFID chip and an antenna.
RFID Reader: An RFID reader is an electronic device that generates a radio frequency signal and sends it to a nearby RFID tag. The reader is also responsible for receiving the response signal from the tag and decoding the tag’s information.
Rf communication: When an RFID reader sends an RF signal, it activates nearby RFID tags. Passive RFID tags get energy from the reader’s signal as well as operational commands and use it to send their own response signals. Active RFID tags have their own electricity supply, so they can actively send signals.
Application reference: Scenarios requiring object recognition such as management systems and security systems.
Parameter Specification #
Parameters | Value/Description |
Operating voltage | 3.3V~5V |
Operating temperature | -40°C~+80°C |
Protocol standard | ISO 14443A,ISO 14443B |
Support card type | mifare S50, mifare S70 |
Frequency | 13.56MHz |
Communication mode | IIC |
Size | 4.72cm*2.38cm |
Wiring Diagram #
Note:Expansion board is attached to esp32 controller board.

RFID RC522 I2C Module | ESP32 |
VCC | 5V |
GND | GND |
SCL | SCL |
SDA | SDA |
Sample Code #
#include // Import the I2C library
#include "MFRC522_I2C.h" // Import the RFID library
MFRC522_I2C mfrc522(0x28,-1);// Create an RFID object, 0x28 is the I2C address
String rfid_str ;
void setup() {
Serial.begin(115200);
Wire.begin(); // Start I2C communication
mfrc522.PCD_Init(); // Initialize the RFID reader
}
void loop() {
//put your main code here, to run repeatedly:
if ( ! mfrc522.PICC_IsNewCardPresent() || ! mfrc522.PICC_ReadCardSerial() ) {
delay(50);
return;
}
rfid_str = "";
Serial.print(F("Card UID:"));
for (byte i = 0; i < mfrc522.uid.size; i++) {// Read ID
rfid_str = rfid_str + String(mfrc522.uid.uidByte[i], HEX);
}
Serial.println(rfid_str);
}
Test Result #
After uploading the code to the controller board, open the serial port monitor of the Arduino IDE, set the baud rate to 115200, and switch to scroll mode.
When we put the RFID tag on the RFID reader, the serial port will display the unique identifier of the RFID tag, UID.


Related Resources #
Get One Now #
B2B Business: info@acebott.com