Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Advanced users • Reading MFRC522 on a Pi.

$
0
0
I have been trying to read all the data on a MFOne_S50 card using a Pi and various libraries.
https://github.com/danjperron/micropython-mfrc522 on a Pico.

I run this with mpremote run ~/PicoCode/Perron/Pico_read.py

It shows all data e.g. :-

Code:

Card detected 0XCB16A1A6  uid=[0xA6, 0xA1, 0x16, 0xCB]00 S00 B0: A6 A1 16 CB DA 08 04 00 62 63 64 65 66 67 68 69   ........bcdefghi01 S00 B1: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................…63 S15 B3: 00 00 00 00 00 00 FF 07 80 69 FF FF FF FF FF FF   .........i......
Using the mfrc522 library downloaded from PyPI

SimpleMFRC522_read.py shows

Code:

3555279615040X52C71E2BA0
The MF1 IC S50 Functional specification shows the Serial Number as 4 bytes, followed by a Check Byte.

mfrc522 library prints UID as 5 bytes, presumably including the Check Byte.

Statistics: Posted by Milliways — Mon Jun 02, 2025 4:57 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles