Read RFID and NFC cards operating at 13.56 MHz. Output to the SPI Interface and LCD. Code available below, remember that you need the RFID library aswell.
https://github.com/Ogglas/rfid/blob/master/examples/OgglasRFID
RFID library:
https://github.com/miguelbalboa/rfid
Pins used for MFRC522: (ICSP = In-Circuit Serial Programming)
MOSI: Pin 11 / ICSP-4
MISO: Pin 12 / ICSP-1
SCK: Pin 13 / ISCP-3
NSS: Pin 10
RST: Pin 9
Pins used for LCD:
LCD RS pin to digital pin (7)
LCD Enable pin to digital pin (6)
LCD D4 pin to digital pin 5
LCD D5 pin to digital pin 4
LCD D6 pin to digital pin 3
LCD D7 pin to digital pin 2
LCD R/W pin to ground
- Post Time: 04-20-16 - By: http://www.rfidang.com