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

IndexError: bytearray index out of range CF-RU5309 #5

Open
ahvahsky2008 opened this issue Nov 12, 2020 · 6 comments
Open

IndexError: bytearray index out of range CF-RU5309 #5

ahvahsky2008 opened this issue Nov 12, 2020 · 6 comments

Comments

@ahvahsky2008
Copy link

Try connect to device by com port. Whats wrong?
image

@wabson
Copy link
Owner

wabson commented Nov 12, 2020

Another user reported problems with the 53xx devices - see comments on 3966c4. So it's possible these aren't supported with the current code. Unfortunately I don't have one of these readers to test, the ones that have been tested are listed in README.md.

If either you or @Beastmazter have access to the manuals for this device and can post a link here then I can take a look over them to see if there's anything substantially different about them. Otherwise if you get it working via some other means please update this thread.

@Beastmazter
Copy link

@wabson Sorry, was lost down various rabbit oles then remembered I never got back to you. I do believe the 5300 series will not work, at least mine will not. It's HID, which pyserial does not support. The link to the documentation is http://www.chafon.com/DownLoad.aspx?page=3 The file is 5300 SDK. There are a few possible SDK downloads for this series of readers, however, i am fairly certain this is the best one.

I ended up getting an FM-503 so I could build the reader, antenna and pi into a smaller form factor. I have been using your project here as reference and help along the way. Thanks for making all this. Good luck with your project!

@DomolinBolivia
Copy link

I managed to make the correct reading, the manufacturer provided me with the sdk and now the code is in my repository

https://github.com/DomolinBolivia/CF-RU5309-RaspberryPi

SDK
https://drive.google.com/drive/folders/1hPM4hObom5JWjDT9XOB34v9EcIeUUnZ6?usp=sharing

@Beastmazter
Copy link

Beastmazter commented May 10, 2022 via email

@ksandaru
Copy link

ksandaru commented Jul 10, 2022

I need to modify and run the single-read.py for reading multiple rfid tags within a time duration (not all at once). When I use a while loop, I found a byte array index error.
How can I continuously read tags?

@winkoman
Copy link

From what I've learned trying to connect my mu904 via serial port to raspberry pi the bytearray index out of range error occurs when empty bytearray is returned/read. So check first that you connection is working properly!

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

6 participants