Sunday, December 15, 2013

Hooking up the RFID-RC522 to the Arduino Leonardo

My initial trial with the RFID reader was with the library from https://github.com/miguelbalboa/rfid. I then switched over to the https://github.com/ljos/MFRC522 library as its code looks cleaner. The pin layout for the Leonardo was not given and it took me some time to figure it out. So here it is:
RC522
(left to right)
Leonardo
SDA pin 10
SCK SCK (on ICSP header)
MOSI MOSI (on ICSP header)
MISO MISO (on ICSP header)
IRQ (not used)
GND GND
RST Reset
3.3V 3.3V

1 comment:

  1. how i define the reset like #define RST_PIN Reset ???? Not working

    ReplyDelete