



The RC522 RFID Card Reader Kit is a popular and affordable RFID (Radio Frequency Identification) reader/writer module used in various electronic projects, particularly for identifying and tracking RFID cards or tags. It’s commonly used with microcontrollers like Arduino and Raspberry Pi.
Here’s a breakdown of the RC522 RFID Card Reader Kit:
The RC522 RFID module typically has the following pins:
The RC522 can easily be used with Arduino. Here’s a basic guide to getting it working:
#include <SPI.h>
#include <MFRC522.h>
#define SS_PIN 10
#define RST_PIN 9
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
void setup() {
Serial.begin(9600);
SPI.begin(); // Init SPI bus
mfrc522.PCD_Init(); // Init MFRC522
Serial.println("Scan a card...");
}
void loop() {
if (mfrc522.PICC_IsNewCardPresent() && mfrc522.PICC_ReadCardSerial()) {
Serial.print("UID tag :");
String content = "";
for (byte i = 0; i < mfrc522.uid.size; i++) {
content.concat(String(mfrc522.uid.uidByte[i], HEX));
}
Serial.println(content);
delay(1000);
}
}
Origin: China
Brand: Generic