-
Notifications
You must be signed in to change notification settings - Fork 403
RFID Reader Special
This document is for those who use a non-USB reader. The readers which were discussed in the forums are:
- RFIO-RC522
- RC522
- RDM6300
- Many of the discussions are based on @keinkurt 's work
Because the "one py script fits all" resulted in many USB devices NOT to work anymore, I got careful.
If you are using a non-USB card, you need to use the experimental version of scripts/Reader.py
which is called scripts/Reader.py.experimental
.
cp /home/pi/RPi-Jukebox-RFID/scripts/Reader.py.experimental /home/pi/RPi-Jukebox-RFID/scripts/Reader.py
chmod +x /home/pi/RPi-Jukebox-RFID/scripts/Reader.py.experimental
NOTE: if you git pull
this file will be overwritten. You need to execute the above lines after git pull.
Because you are using a non USB reader and know how to use a soldering iron, I will keep this doc raw for the time being. Feel free to edit the wiki and add more information.
CPU utilization. Fixes #275. (2018-11-25)
Based on @keinkurt 's integration work and @varac 's comment on the issue the pi-rc522 library was integrated. Docs on prerequisites and hardware setup for this are found here: https://github.com/ondryaso/pi-rc522 The problem with MFRC522 is that it will constantly poll for new cards in an infinite loop and therefore leaving little CPU time to the actual playback. On a Pi zero and using the already resource-intensive mopidy-spotify extension this was a showstopper for me. Using pi-rc522 the CPU load of daemon-rfid-reader.py was decreased to < 5%. Pi-rc522 uses an extra IRQ pin to make the process block until a new card is actually found.
If you like Phoniebox, consider: buy me a coffee or PayPal
- Code: https://github.com/MiczFlor/RPi-Jukebox-RFID
- Phoniebox home page: English | Deutsch
Phoniebox is a contactless jukebox for the Raspberry Pi, playing audio files, playlists, podcasts, web streams and spotify triggered by RFID cards. All plug and play via USB, no soldering iron needed. Update: if you must, it now also features a howto for adding GPIO buttons controls.
Visit Phoniebox.de
π₯ Version 3
- β Releases
- π΅ Install Jukebox Version 3
- π Report a bug
- π Propose a feature
- βοΈ Feature Status
- π Documentation
- π©βπ» Development
- βοΈ Contributing
- π¦ Code
πΆ Version 2
- β Releases
- π΅ Install Jukebox Version 2
- π Report a bug
- βοΈ Features
- π Documentation
- βοΈ Contributing
- π¦ Code
Version 2 Pages
-
Setup / Upgrades
- Synchronising Phonieboxes in a local network
- Smart Home remote control with MQTT
- Hardware Pinout Overview
- Systemwide Equalizer
- Phoniebox with read-only Filesystem
- HiFiBerry Soundcard Details
- WM8960 Hi-Fi HAT
- PAM8403 Amplifier Power Off
- TPA3118 Amplifier Power Off and EMI improvement
- External Non USB Audio DAC ES9023, PCM5102, etc.
- On-board LEDs with fibre optics
- Setting GPIOs at boot time
- Stop on removal with USB RFID Reader
- Firmware update improves audio out
- Architecture