RC522 doesn't read any card

  • RC522 RFID

You may see

WARNING: Communication failure, is the MFRC522 properly connected?
Firmware Version: 0x0 = (unknown)
Firmware Version: 0xFF = (unknown)

Stay safe: 5 V can damage the RC522. Use 3.3 V.

Why it happens

  • SPI wires are swapped or loose.
  • The module is on 5 V. It needs 3.3 V.
  • The header pins aren't soldered.
  • SDA (SS) or RST differs from the code.

How to fix it

  1. On an Uno: SCK 13, MISO 12, MOSI 11, SDA 10, RST 9 (check your code).
  2. VCC to 3.3V.
  3. Run File > Examples > MFRC522 > firmware_check.
  4. Solder the pins if they're loose.
  5. Use the card that came with it: many bank and metro cards are another type.

It worked if: The example prints version 0x91 or 0x92, then a UID when you tap the card.

From the official documentation. Warning text read in the MFRC522 library source. Sources: MFRC522 library.

Didn't help? Search another error or ask us.