-
Notifications
You must be signed in to change notification settings - Fork 397
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
Add support for the RDM6300 serial RFID module #175
Comments
Hello ott, This is my "Reader.py" ser = serial.Serial("/dev/ttyUSB0") class Reader:
` |
Hi @MiczFlor |
I actually like files which contain enough comments to make the human. But I will add it to the docs. Thanks |
Hi @MiczFlor |
Hi @ottk3
|
Hi @michnixweiss, Unfortunately I haven't tracked this project lately nor used the box. But I can't remember a slow read, I had some issues that the first of every two read-attempts failed - maybe there is an option that scans a card only once per second? I checked my wiring and I'm using GPIO 8 and GPIO 10 at the moment with the RDM6300 V2.0 and a Raspberry Pi 3 Model B V1.2 |
Thanks for your replay @ottk3, you are right, I wired Pin 8 (and tried 10), like described in your reader.py - BCM 14 and 15 |
Unfortunately I couldn't find my old image and there were some changes in the last years. So I just used the One line install script for Raspbian buster. Then I enabled serial connection (
I didn't disable bluetooth, serial works fine via mini UART (/dev/ttyS0). Make sure that you got the latest Reader.py.experimental that got the try-block for the pirc522 and py532lib otherwise you will encounter an error. Replace the Reader.py with the Reader.py.experimental. I noticed two things with the RDM6300 implementation. It does not send a card_id a second time, if it was the latest transmitted id and there ist a I'm not sure if that behavior works well with the current RPi-Jukebox-RFID since as far as I know it has options now to handle second swipes. That was designed to play while the card was kept on the reader. Hope that helps. Best regards PS: It might help to execute the daemon directly to see if there are any errors: |
Hi @michnixweiss, I pushed an updated version of the Reader.py.experimental to my forked repo. Could you test if that would solve your problems? This would be the steps to test the new file:
|
Hi, I would be careful to connect the pins directly. The RDM6300 works with 5V and the RPI with 3.3V. In the worst case, the RPI is broken. If it works, it is only because the RFID reader does not have the current at the output. I cannot confirm that the reader is slow. |
Hi @Stumpf74 I'read about this and gauged mine. It needs a 5V power connection, put has a 3.3V signal (also read about this here).
Can anyone confirm? |
Hi @michnixweiss , I'm using the HW-205 2.0 version and the article you mentioned was my source when I considered to use the RDM6300. I wasn't aware that there are modules that communicate with 5V (which could indeed be pretty bad). Best regards, |
Hi @ottk3 , thanks for your help. Like expected I ordered the v3.1 but got the HW-205... |
Hi there,
since I'm using the RDM6300 serial RFID module I made it work with the RPi-Jukebox-RFID.
This is just a replacement of the Reader.py file.
Let me know if you like to implement it somehow.
ottk3@6b762e6
Regards,
Sven
The text was updated successfully, but these errors were encountered: