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

RPi-Jukebox-RFID with a Pi Zero? #15

Closed
pjcoleman73 opened this issue Feb 28, 2018 · 18 comments
Closed

RPi-Jukebox-RFID with a Pi Zero? #15

pjcoleman73 opened this issue Feb 28, 2018 · 18 comments

Comments

@pjcoleman73
Copy link

Has anyone tried this project using a Raspberry Pi Zero?
I have an unused Pi Zero and would like to avoid buying an additional pi 3 if I don't have to. I'm wondering if anyone has tried, or has any thoughts on, using a Pi Zero with a Micro USB to USB OTG hub.

Additionally, this Pi Zero already has pins soldered in from a previous project, so I plan on adding the GPIO button functionality.

I'm curious if anyone has any experiences or thouhgts on this before I get started.

Thanks,
PJ

@swyer222
Copy link

swyer222 commented Mar 2, 2018

Yes, verified on Pi Zero W

@pjcoleman73
Copy link
Author

Excellent! Thank you!

@swyer222
Copy link

In case you want to go down that RPI Zero Route, please bear in mind that the Zero does not offer audio output on the board. So you will need to output audio either over USB or (as I did) using a soundcard. I've used the Hifiberry miniamp, which allows you to drive the speakers directly. You will also need to follow these instructions: https://www.hifiberry.com/build/documentation/adding-software-volume-control/ to ensure that you can set volume levels in alsamixer. Out of the box, the volume was unbearably loud on my jukebox.

@ghostdex
Copy link

Did someone already try to play music over Bluetooth (e.g. with pulseaudio) so that there is no need for a soundcard?

@MiczFlor
Copy link
Owner

hi @ghostdex and welcome. I haven't tried it yet, but it would be good to get this into the manual as a "howto" section. Possibly open a new "issues" with this title and see if somebody joins the process? As you can see: the "issues" here are more like forum threads than bug reports ;) and the bluetooth issue has no thread yet. Start it, fix it and create a pull request for the documentation and possibly code. Thanks

@jacktbio2
Copy link

Hello, thanks a lot for your work. It's very easy to use it and so cool. I made my jukebox with a raspberry pi zero WT and used a cheaper soundcard. https://www.aliexpress.com/item/Raspberry-Pi-pHAT-Sound-Card-I2S-interface-PCM5102-DAC-Module-24-bit-Audio-Board-With-Stereo/32742608325.html

For installation of the homemade DAC on a Raspbian, you can use the pHAT DAC's one line installer command:

curl -sS https://get.pimoroni.com/phatdac | bash

See the link for connection : https://www.hackster.io/shiva-siddharth/audio-dac-hat-for-pi-with-headphone-jack-and-3w-speaker-out-51bad6

Everythink work well.

@Stumpf74
Copy link

Stumpf74 commented Sep 7, 2018

Yes, I verfied on the PI Zero without W ;-)
It's works very well.

@itready
Copy link

itready commented Sep 13, 2018

I also try to set this up with a PI Zero W. How can I connect the RFID-Reader (not USB) to the Raspberry Zero W? Type is RFID-RC522. Is there a how to? How to wire this? I totaly newby. My prototype with a PI 3 and USB RFID Reader did well...

@marcohorstmann
Copy link
Contributor

Hi I've just found an tutorial where you can see how to wire the RC522:
https://pimylifeup.com/raspberry-pi-rfid-rc522/
or an alternative german article for an door opener:
https://tutorials-raspberrypi.de/raspberry-pi-rfid-rc522-tueroeffner-nfc/

@Raspfarbend
Copy link
Contributor

Short Update from me:
i currently running phoniebox 1.1.5 on a Pi Zero W with an RC522 Reader and one active USB-Speaker.

@vw2audi
Copy link

vw2audi commented Oct 8, 2018

Hi together,
i have a seriouse problem now. I tried to install the project on ZeroW and use a Bluetooth speaker.
But i cant set the speaker as output in the Phoniebox.
Insted now i cant change the volume in interce at all......

Did anyone test these and can give me the needed configurations?

Speaker in Desktop mode i working. even, when i use the aplyer to play directy by device adress i also can here the sound.

in webinterface is written nor volume -1%

@Raspfarbend
Copy link
Contributor

@vw2audi

You have to set this value „Speaker“ in settings/Audio_ifacename
and in /etc/mpd.cfg search for PCM section Audio Output

I hope this helps

@vw2audi
Copy link

vw2audi commented Oct 10, 2018

Hi together,
i got it. Now system is running and i wanted to use my RFID NFC Tags, but with tese it isnt working ;-(
i have here one typical Card with RFID, these works and even can read the UID.

But i also have here some Tags witch give me a Serial No. insted of UID.
Is possible to use them too? The last scanned UID keep the same if i bring these TAG to the reader.

But with other programm on saame pi i can read the Tags.

@MiczFlor
Copy link
Owner

Hi @vw2audi
which version of Phoniebox are you running? This can be found in the file settings/version or in the web app under info.
There was a code issue with the reader, so you might have that problem. Please take a look here:
#231 (comment)
and your best bet would be to reinstall Phoniebox by deleting the entire folder RPi-Jukebox-RFID and use the one line script for the installation again.

@vw2audi
Copy link

vw2audi commented Oct 11, 2018

Hi @MiczFlor
thnaks a lot for the hint. I have Version 1.1.6. is a fresh installation.
If i place the RFID nothing happend. If i place an RFID Card is working .....

But if i use my RFID Reader in my mobile i can read both chip.

@marcohorstmann
Copy link
Contributor

marcohorstmann commented Oct 12, 2018

What kind of cards are it that are not working? The suggested reader here is able to read EM4100 125khz cards.
The reader in RC522 seems to use other radio channels

@vw2audi
Copy link

vw2audi commented Oct 14, 2018

Ok in these case i have found the difference.
But isnt it possible to use also other chips?

@marcohorstmann
Copy link
Contributor

Not as far as I know the reader and cards needs the same communication stanard. I had seen on eBay a dual frequency reader but no idea if you get it connected and working:
https://www.ebay.de/itm/Dual-Frequenz-125kHz-und-13-56MHZ-WG26-34-RFID-Lesegeraet-/172666970376

I think buy the working cards would be cheaper and less time consuming

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

No branches or pull requests

10 participants