Description
RFID reader module MFRC-522, RFID reader module MFRC-522.
RFID reader module MFRC-522
- Working voltage: DC 3.3V
- Working current: 13-26mA
- No-load current: 10-13mA
- Sleep current: <80uA
- Peak current: <30mA
- Working frequency: 13.56MHz
- Supported card types: S50, S70, UltraLight, Pro, Desfire
- Module size: 40mm × 60mm
- Working temperature: -20 °C – 80 °C
- Permissible humidity: 5% – 95%
- Permissible humidity:
Permissible humidity:
- Permissible humidity:
- Permissible humidity:
- Permissible humidity:
- Permissible humidity:
- Permissible humidity:
Connecting MFRC-522 to Arduino
Scheme of connecting the module to Arduino UNO:
Sketch, which will read the UID (unique identification number) from the RFID tag and output to the Arduino serial port will look like this:
// Connecting Libraries #include <SPI.h> #include <MFRC522.h> // connection constants of contacts SS and RST #define RST_PIN 9 #connection constants of contacts SS and RST #define RST_PIN 10 // connection constants of contacts SS and RST #define RST_PIN, connection constants of contacts SS and RST #define RST_PIN // connection constants of contacts SS and RST #define RST_PIN. connection constants of contacts SS and RST #define RST_PIN // connection constants of contacts SS and RST #define RST_PIN // connection constants of contacts SS and RST #define RST_PIN // connection constants of contacts SS and RST #define RST_PIN // чтение карты if ( ! mfrc522.PICC_ReadCardSerial()) return; // показать результат чтения UID и тип метки Serial.print(F("Card UID:")); dump_byte_array(mfrc522.uid.uidByte, mfrc522.uid.size); Serial.println(); Serial.print(F("PICC type: ")); byte piccType = mfrc522.PICC_GetType(mfrc522.uid.sak); Serial.println(mfrc522.PICC_GetTypeName(piccType)); delay(2000); } // чтение карты if ( ! mfrc522.PICC_ReadCardSerial()) return;, чтение карты if ( ! mfrc522.PICC_ReadCardSerial()) return; 0; i < bufferSize; i++) { Serial.print(buffer[i] < 0x10 ? " 0" : " "); Serial.print(buffer[i], чтение карты if ( ! mfrc522.PICC_ReadCardSerial()) return;
чтение карты if ( ! mfrc522.PICC_ReadCardSerial()) return;
When a card is presented to the reader, information about the tag will be output to the serial port: