Skip to content
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

Inconsistent reading #1

Open
neurochill opened this issue May 12, 2021 · 1 comment
Open

Inconsistent reading #1

neurochill opened this issue May 12, 2021 · 1 comment

Comments

@neurochill
Copy link

I am having issues using this code with a Raspberry pi 4 and a Grove 125kHz reader. Before actually reading the tag, the first few attempts result in many printed strings looking like 'x80\x00\xf8 etc.
After some time and some attempts, the RFID ID does get read, but then never again. The system seems to fail to read it again.
Has anyone else encountered this issue before?
Thanks for any help!

@rgrokett
Copy link
Owner

What type cards do you have? Ones that came with the Grove reader? Some cards have extra data sent, besides the id#.
Do you lay the card onto the reader for a second or two?

What gets printed using the rftest.py program? This is just a simple serial port reader but is currently set to only read the first 12 bytes, maybe change string = ser.read(12) to string = ser.read(40) and see if the card is sending more than 12 bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants