-
Notifications
You must be signed in to change notification settings - Fork 401
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
Adafruit PN532 breakout board - So close to a working setup, but cannot register my reader #421
Comments
If someone can help me solve this, I'd be happy to pay a little donation to the helper! I really want this project done for my daughter, and just this one step missing :( |
Hi @imbaimbaimba Sent with GitHawk |
Hi @MiczFlor Thank you for your reply, and thank you for providing such a great project! When I installed, I used the step-by-step guide, just to try and kind of understand what was going on. I just tried the one-line install, however the result is the same "ImportError: No module named abc.model" About the Adafruit breakout board: https://www.adafruit.com/product/364 The project that inspired me, before finding Phoniebox, is using the same reader too: Something similar going on here with a similar reader: I also found another project, where the author is using an Arduino Uno connected by USB. |
I just took the plunge and created a new SD Card. Went straight to the one-line install, and now the error is different, but still missing modules. Still no resolution :(
|
Still not having any success unfortunately, however I am now beyond the module problems (I think). I researched all day, and the closest I have been to anything is this testing sequence:
Any tips for where I could go from here? Code:
|
got the same error and fix them with pyserial instead of serial
|
Actually, that part I fixed just by removing serial. |
Hi @imbaimbaimba
|
Hi @MiczFlor |
I am getting the same error message while trying to register a RFID-Reader: python /home/pi/RPi-Jukebox-RFID/scripts/RegisterDevice.py Installed it today by the help of the "one line install command" (Spotify Edition). Thanks in advance. |
If you do this, I think you will get past that error: |
I was initially inspired by this awesome project: http://shawnrk.github.io/songblocks/
and wanted to do a cool jukebox for my daughter.
I got my Raspberry Pi 3 running with an Adafruit PN532 RFID/NFC Breakout board following this guide: https://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/overview and I am able to read my NFC tags perfectly now. Even has way better read distance than I assumed, so I am happy!
For testing, I used libnfc, that is included in the Adafruit guide. I go to the libnfc examples folder and run:
sudo ./nfc-poll
I get:
I then insert a tag and get:
Then it stays there until I remove the tag and I get:
I created the actual finished products to put on the wall for my daughter, and then realized I know absolutely nothing about coding. Therefore I had no idea where to start to actually get it to play anything.
I found your awesome project, and went through your guide: https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/INSTALL-stretch
Got everything running from SMB to webserver, and doing things manually it plays nicely out the USB speakers on my Pi! Awesome!
Now, I got no idea how to get my working reader implemented in my (other than reader) working Phoniebox. Before troubling you guys, I tried everything I could find.
I tried:
python /RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py
Which told me: "Please run RegisterDevice.py first"
python /RPi-Jukebox-RFID/scripts/RegisterDevice.py
Only gave me choices between my mouse and keyboard attached to the pi
I then copied the experimental scripts from here: https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/RFID-Reader-Special using:
cp /home/pi/RPi-Jukebox-RFID/scripts/Reader.py.experimental /home/pi/RPi-Jukebox-RFID/scripts/Reader.py
I then tried RegisterDevice.py and daemon_rfid_reader.py again with the following result:
I would really appreciate it if you guys could help me out!
The text was updated successfully, but these errors were encountered: