miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.75k stars 1.43k forks source link

Dumpinfo not working on latest versions #488

Closed nedoskiv closed 4 years ago

nedoskiv commented 5 years ago

Hello

I was trying to make an use of MFRC522 reader on arduino uno, wired everything as described and give a shot on dumpinfo example sketch. Not working, I mean I see initialization message reported my reader as v.2 (Firmware Version: 0x92 = v2.0) and no tag is detected after that, so i give a shoot at another reader it was reported as "conterfeit" but still did not read any tag (here is the place to mention both readers work on lua/python controllers) So I deleted the library and installed version 1.4.3 - same, Switched to 1.3.0 and everything works fine with dumpinfo sketch. Am I doing something wrong?

nedoskiv commented 5 years ago

ok do some more install/uninstall, On 1.4.0 not working, on 1.3.6 works fine.

Rotzbua commented 5 years ago

Microcontroller? IDE, version? Wireing?

nedoskiv commented 5 years ago

wiring as described in dumpinfo example, controler is arduino uno clone, IDE 1.8.8

Rotzbua commented 5 years ago

There are only two significant changes between 1.3.6 and 1.4.4:

https://github.com/miguelbalboa/rfid/compare/1.3.6...1.4.4#diff-ba13e6b0757d455f47257498e7cd156e

If you have time to test which of the two changes causes the error, it would help a lot.

Best

edit: with my own hardware d1 mini and arduino uno both version worked when i released them. so it seems that some edgy conditions causing the behavior.

nedoskiv commented 5 years ago

I'm actually not that good, to split library code and check which one of them causing the problem.

Rotzbua commented 5 years ago

Ok, let's keep this issue, maybe some other run into the same problem and wants to fix this.

Rotzbua commented 4 years ago

Does not seem to be a big problem. Closed.