| Main centres: | 1-3 business days |
| Regional areas: | 3-4 business days |
| Remote areas: | 3-5 business days |
NFC RC522 Module for Arduino Specification:
NFC RC522 Module for Arduino Application{C}:
NFC RC522 Module for Arduino Documents:
Example Code For NFC RC522 Module for Arduino:
#include <SPI.h>#include <MFRC522.h>#define RST_PIN 9 // Configurable, see typical pin layout above#define SS_PIN 10 // Configurable, see typical pin layout aboveMFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instancevoid setup() {Serial.begin(9600); // Initialize serial communications with the PCwhile (!Serial); // Do nothing if no serial port is opened (added for Arduinos based on ATMEGA32U4)SPI.begin(); // Init SPI busmfrc522.PCD_Init(); // Init MFRC522mfrc522.PCD_DumpVersionToSerial(); // Show details of PCD - MFRC522 Card Reader detailsSerial.println(F("Scan PICC to see UID, SAK, type, and data blocks..."));}void loop() {// Look for new cardsif ( ! mfrc522.PICC_IsNewCardPresent()) {return;}// Select one of the cardsif ( ! mfrc522.PICC_ReadCardSerial()) {return;}// Dump debug info about the card; PICC_HaltA() is automatically calledmfrc522.PICC_DumpToSerial(&(mfrc522.uid));}