-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MFRC522 v2 Does Not Work #19
Comments
Oh interesting. I have a couple MFRC522 boards that I use for testing, which do work. That said, they could be different versions and require slightly different configuration. Also, the MFRC522 boards always seemed to be more finicky about physical tag placement (at least for me). Do you have a link to some code you’ve used so I can compare?
One thing that stands out is that I do set the NFC power level rather high on the MFRC522 boards, which could be affecting performance.
… On Apr 15, 2020, at 5:16 PM, Jens J. ***@***.***> wrote:
I'm testing with 1.40 for d1 mini and I cannot seem to get MFRC522 integration to work.
In top right of UI it shows
MFRC522v2.0
v1.40
so it seems to recognize reader, but never able to read or write ntag215's
On serial console I also see the messages:
"Triggering NFC Read"
(but no nfc card recognized)
I do have PN532 which I hooked up (SPI mode) and it works with same setup, so I'm sure the code and D1 mini are setup correctly.
I also use this RC522 project with arduino, so I'm thinking the reader is ok as well.
Just wanted to get any feedback from other users whether or not anyone else is successfully using MFRC522 with 1.40 (or any previous version).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks. I tried a few things including changing rxgain, and adding lots of debugging inside of the MFRC522Ex.cpp. It looks like it just never allows PICC_IsNewCardPresent to return true for some reason. This is a 1 inch plastic disk type NTAG215. Other type of NTAG (NTAG213 1x2 inch rectangle) is readable, and also Mifare Classic card (although throws expected errors). Strange thing is PN532 reads/writes this NTAG215 ok. Anyhow, I'm able to use this with the PN532, so thanks for putting this awsome work together! |
How strange! If it’s not the Rx gain, then it’s probably something simple. I checked one of my MFRC522 boards, and it reports version 1.0. There are a few features & improvements over 1.0: https://www.nxp.com/docs/en/data-sheet/MFRC522.pdf
I wonder if there’s an interrupt occurring related to the new timer, and it needs clearing?
So it does detect a new card when using non-NTAG215 cards? That’s even stranger!
If you can, let me know which make/model of board you got; maybe I’ll try and get one of the 2.0 boards for testing. After doing work on this for a while, I had better luck with the PN532 anyway- it’s a little slower, but seemed to be more stable (it’s possible that’s due to my implementation, however).
… On Apr 15, 2020, at 10:22 PM, Jens J. ***@***.***> wrote:
Thanks. I tried a few things including changing rxgain, and adding lots of debugging inside of the MFRC522Ex.cpp. It looks like it just never allows PICC_IsNewCardPresent to return true for some reason.
This is a 1 inch plastic disk type NTAG215.
Other type of NTAG (NTAG213 1x2 inch rectangle) is readable, and also Mifare Classic card (although throws expected errors).
Strange thing is PN532 reads/writes this NTAG215 ok.
Anyhow, I'm able to use this with the PN532, so thanks for putting this awsome work together!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm testing with 1.40 for d1 mini and I cannot seem to get MFRC522 integration to work.
In top right of UI it shows
MFRC522v2.0
v1.40
so it seems to recognize reader, but never able to read or write ntag215's
On serial console I also see the messages:
"Triggering NFC Read"
(but no nfc card recognized)
I do have PN532 which I hooked up (SPI mode) and it works with same setup, so I'm sure the code and D1 mini are setup correctly.
I also use this RC522 project with arduino, so I'm thinking the reader is ok as well.
Just wanted to get any feedback from other users whether or not anyone else is successfully using MFRC522 with 1.40 (or any previous version).
The text was updated successfully, but these errors were encountered: