-
Notifications
You must be signed in to change notification settings - Fork 149
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
stuck at wait_for_tag() #56
Comments
@erdemontas Did you enabled spi interface? By default, the library works on spidev0.0 so what's the output of |
I'm having the same problem, also on rp3B+. I've tried all different libraries, my SPI is enabled, it's all configured up correctly... but it's not reading my tags. |
@2zimmp78 Did you run the script with |
I ran it using sudo, and my connections are secure, but it's still not reading the tags. |
It's working for me on rp3B+ (v2.2.1). Be careful: in case the card reader is not physically working correctly, then you will not receive any information and thus it will stay at wait_for_tag forever(). In case the reader is physically ok, you will be stuck there till a RFID card is put near the reader. |
My SPI seems to be configured correctly on my RPi 3B+. The program hangs on wait_for_tag(). How can I check if the card reader is physically working? I do not get any helpful debug message. |
@erdemontas, did you also wire up the IRQ / pin 5 on reader? Coming from a MFRC522 setup myself I hadn't wired up the interrupt and experienced the same behavior that you are describing. See https://github.com/ondryaso/pi-rc522/blob/master/README.md for the wiring instructions ("Connecting"). |
I seem to have the same issue. All my cables are connected correctly (according to the README) and verified with a multi meter. Still the script hangs forever at |
Did you have the IRQ connected also, that was my problem. Not sure if it was documented here |
@Twizzledrizzle no, in fact I was incorrect about the statement that I had solid connections. I tested my cables with the multimeter and they seemed solid, but I later figured out that one of my soldered blobs was actually not connecting with the PCB at all times. Sorry for the noise and thanks for providing help and guidance! |
Hi, I also tried using mfrc522 and there everything is working fine so soldering and cables should be ok (tested with multimeter anyway) and hardware itself should be too. IRQ is connected too and I am using sudo. Any suggestions what might be wrong? |
I follow exactly the instructions and double check them I'am using raspberry pi 3b+
I used to work with MFRC522 library and now decided to change this one but it seems reader does not read any card at all. No warning, no error.
What should I do?
The text was updated successfully, but these errors were encountered: