BoolLi / RC522_RFID_NFC_Utilities

Utilities written for RC522 RFID reader/writer
MIT License
30 stars 10 forks source link

All examples show "PCD_Authenticate() failed: Timeout in communication" #4

Open richardklingler opened 6 years ago

richardklingler commented 6 years ago

Just grabbed out my old RFID-RC522 boards and hooked one up to a Arduino Nano (also tried Uno).

With every example I get communication problems, meaning timeouts. Sometimes the serial output doesn't stop for several seconds even if I remove the newly unpacked MiFare card.

Authenticating again using key B... MFRC522 Software Version: 0x92 = v2.0 Scan PICC to see UID, type, and data blocks... Authenticating using key A... PCD_Authenticate() failed: Timeout in communication. Authenticating using key A... PCD_Authenticate() failed: Timeout in communication.

With the smaller blue, round tags (also fresh unpacked) I get:

Authenticating using key A... Current data in sector: 0 3 00 00 00 00 00 00 78 77 88 C1 00 00 00 00 00 00 [ 0 1 1 ] 2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 1 0 0 ] 1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 1 0 0 ] 0 DD D8 03 D4 D2 08 04 00 62 63 64 65 66 67 68 69 [ 1 0 0 ]

Authenticating using key A... Current data in sector: 1 7 00 00 00 00 00 00 7F 07 88 40 00 00 00 00 00 00 [ 0 1 1 ] 6 MIFARE_Read() failed: Timeout in communication. 5 MIFARE_Read() failed: Timeout in communication. 4 MIFARE_Read() failed: Timeout in communication.

Authenticating using key A... PCD_Authenticate() failed: Timeout in communication. Authenticating using key A... PCD_Authenticate() failed: Timeout in communication. Authenticating using key A... PCD_Authenticate() failed: Timeout in communication.

MajliTech commented 1 year ago

For me this is still the issue, someone provide a fix!