-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to troubleshoot timeout error? #5
Comments
After instance initialization, the reset pin you selected (BCM25) should be in HIGH OUT, and the voltage should be detectable using a multimeter. I suggest that you read MFRC522 version first, to ensure the SPI communication is fine. r = MFRC522.new(25)
puts r.send(:read_spi, 0x37) To see what the library send and receive to/from MFRC522, set the ENV variable |
Thanks for the response require 'mfrc522'
r = MFRC522.new(25)
puts r.send(:read_spi, 0x37) # 146 What is read_spi? The above command work with the rst pin unplugged. |
The Looks like your configuration is working with rst unplugged. |
Sorry if I was unclear, I was just commenting that the check for version works with both the rst pin plugged in or unplugged. |
That's strange. |
This is the configuration I am using The grey cable does not seem to affect the |
I have confirmed 3v in the rst pin when it is on. python code works so it must be a configuration issue. |
If your
This will send wake up command to RFID card to power it up. Plus, be sure to remove/place RFID card between each test, this will reset the card activation state. |
@jamoore5 |
Not sure if this project is still active, stuck how to troubleshoot timeout error.
Setup is working with python code and setup
I did figure out to update
nrstpd
to 25 based on above setup.Error I am seeing when running
Error communicating PICC: status_picc_timeout
The text was updated successfully, but these errors were encountered: