πŸͺͺ

MFRC-522 RFID

Tap a card, read the UID

Page 56 of 64 MCP / API open OTA updates

Page 56 drives an MFRC-522 over SPI: tapping a card shows its UID (4 or 7 bytes), card type and recent taps; MIFARE Classic sectors can also be read and written.

β˜… The SPI bus is shared with the on-board SD card, so the two cannot be hammered at the same time; the page arbitrates the bus at startup.

Screen

On-screen interface

A recreation of this page on the 2.41-inch AMOLED display (600 Γ— 450). Actual interaction and layout follow the latest firmware.

Peripheral MFRC-522 Β· SPI
UIDA1B2C3D4MIFARE 1K
A1 B2 C3 D4MIFARE 1K21:03
04 8F 2C 9A 61 33 80NTAG21320:58
E7 11 5D 42MIFARE 1K20:41
SPI shared with SD β€” do not hammer both
Screen Β· Page 56
May differ from the actual interface; the screen of the real device is the final reference.
Highlights

Key capabilities

πŸͺͺ

UID readout

4/7-byte UID in hex.

πŸ“‡

Sector access

Read and write MIFARE Classic 1K.

πŸ“œ

Tap history

Keeps the last few cards.

🩺

Health score

Antenna, no-card and bus conflicts separated.

Specifications

Technical specs

InterfaceSPI (shared with SD)
Frequency13.56 MHz
CardsMIFARE Classic 1K/4K, NTAG
Firmware pagePage 56
Use Cases

Typical scenarios

Access log

Record card UID and time on each tap.

Card research

Dump sectors for backup analysis.

Commands

Related commands

page 56  Open the RC522 page
rfid  Read a card UID

Read the full API & command reference β†’

⚠ Boundaries & notes
  • SPI is shared with the SD card β€” heavy use of one slows the other.
  • Encrypted sectors need keys; you cannot read them blind.
  • Too close to metal and the card will not be seen.

Other feature pages