Pin | Wiring to Arduino Uno |
---|---|
SDA | Digital 10 |
SCK | Digital 13 |
MOSI | Digital 11 |
MISO | Digital 12 |
IRQ | NC |
GND | GND |
RST | Digital 9 |
3.3V | 3.3V |
MFRC522 arduino library read
- This code scan the MIFARE Classsic NUID.
- Using the following key: FF FF FF FF FF FF
- PICC type: MIFARE 1KB
- A new card has been detected.
- The NUID tag is:
- In hex: C3 DC 2F AA
- In dec: 195 220 47 170
reference
https://w.electrodragon.com/w/Category:MFRC522
https://www.electrodragon.com/product/mifare-rc522-rfid-card-readerdetector-ic-card/