miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.73k stars 1.42k forks source link

Unable to read a known version from the rc522. Getting 0x89 #616

Closed Knightbomb8 closed 6 months ago

Knightbomb8 commented 7 months ago

I am trying to setup my arduino mega2560 to connect to the rc522 chip. I am running the firmware_check script and seeing this as the output.

MFRC522 Digital self test
*****************************
Firmware Version: 0x89 = (unknown)
-----------------------------
Only known versions supported
-----------------------------
Performing test...
-----------------------------
Result: DEFECT or UNKNOWN

I see 0x89 is unknown and not one of the supported versions. I switched out all my wires and double checked my pins to make sure and still it fails. Im not sure what to do next to make it work..

Environment

IMG_7781 IMG_7783

Steps to reproduce:

  1. Plug the pins into the arduino
  2. Run the firmware check script.

I see from here https://github.com/miguelbalboa/rfid/blob/f6bde80f6cb9ea0041a717bb42f72e19554f1159/src/MFRC522.cpp#L1370 that this is not a supported version.

brian1050209 commented 6 months ago

再買個新的試試

edit translated: Buy a new one and try it