6887ab23c63c6daded2e8b48439a0feb5a979131
Set chipSelectPin to HIGH on initiation, to not select the slave until needed. This avoids issues when using multiple devices on the same SPI bus.
rfid
Arduino RFID Library for MFRC522
Read a card using a mfrc522 reader on your SPI interface on your Arduino
-
Pin layout should be as follows (on Arduino Uno):
-
MOSI: Pin 11 / ICSP-4
-
MISO: Pin 12 / ICSP-1
-
SCK : Pin 13 / ISCP-3
-
SS : Pin 10 (Configurable)
-
RST : Pin 9 (Configurable)
-
Pin layout should be as follows (on Arduino Mega):
-
MOSI: Pin 51 / ICSP-4
-
MISO: Pin 50 / ICSP-1
-
SCK : Pin 52 / ISCP-3
-
SS : Pin 53 (Configurable)
-
RST : Pin 5 (Configurable)
Description
Languages
C++
100%