Does the r4 wifi support mfrc522 rfid scanner

I wanted to confirm if the MFRC522 repository has been updated to work with uno r4 wifi board. also wanted to confirm if it would work properly with a 2023 m3 pro MacBook Pro. Thank you

i you look at the MFRC522's libraries out there you'll see they are lightly or not maintained at all...

GitHub - OSSLibraries/Arduino_MFRC522v2

GitHub - miguelbalboa/rfid: Arduino RFID Library for MFRC522

That being said, those libraries rely on the Arduino APIs so there si a good chance they work.

What, specifically, failed to work when you tried it out?

I am planning to purchase one since I need it for a project and wanted to know if I should pick it over a r3. I had seen in many places that r4 runs on different architecture and that the mfrc522 library may not work properly with it

Really? I, and I imagine others, would be interested in seeing links to some of these "many places" where you'd read that the MFRC522 library doesn't work with an R4. Because when I google arduino r4 mfrc522 I see examples of the two devices working together and at least some of them are using the MFRC522 library.

Just tested the example sketch "DumpInfo" from the library v 1.4.11 using a Whadda branded card reader and generic tags on an Uno R4 WiFi and yes, appears to work ok, mostly.

Here was the Serial output from an arbitrary keytag:

Card UID: A9 E3 10 04
Card SAK: 08
PICC type: MIFARE 1KB
Sector Block   0  1  2  3   4  5  6  7   8  9 10 11  12 13 14 15  AccessBits
  15     63   00 00 00 00  00 00 FF 07  80 69 FF FF  FF FF FF FF  [ 0 0 1 ] 
         62  MIFARE_Read() failed: Timeout in communication.
         61  MIFARE_Read() failed: Timeout in communication.
         60  MIFARE_Read() failed: Timeout in communication.
  14     59  PCD_Authenticate() failed: Timeout in communication.

But it did give the card UID and that's all I ever use them for, so checks out ok in my books.

PS, I just connected it as one would connect an Uno R3

2 Likes