MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.32k stars 394 forks source link

Some Jukebox Pics for inspiration #5

Closed hailogugo closed 3 years ago

hailogugo commented 6 years ago

Here are some pics of my Jukebox. Thank you Micz for your support.

Video

Geliras commented 6 years ago

Something is wrong with the links. But copied url of the video. Looks great. How did you made the rfid cards? Printed? You could answer in german if this is allowed :) I designed my cards with photoshop, printed them ("Foto SOFORTDRUCK" at DM) and laminated it together with the rfid card.

hailogugo commented 6 years ago

I have bought https://www.amazon.de/gp/product/B001CPF3FE/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1 (Klebe Etiketten)

To laminate them was not possible for me because the cards were to hight for my machine.

KingKahn123 commented 6 years ago

img_0126 img_0127

Geliras commented 6 years ago

https://www.youtube.com/watch?v=DbpXD0Y3a-Q

img_2585 img_2586 img_2590

tullm commented 6 years ago

Hi, wow. these are looking amazing.

Mine is a very simple setup, but works. No Buttons, controlled over chips and music via cards:

ullmibox

It has the RFID Jukebox, but also has Mopidy installed for files on my NAS and Spotify. Also Airplay Receiver and Spotify Connect is working.

cheers

MiczFlor commented 6 years ago

@tullm looke nice. Adding it to the gallery now. If you want to share a little howto regarding the modipy installation and configuration, please do so. Others will benefit. And connecting Spotify is a neat addition.

tullm commented 6 years ago

Hi, thanks. I don't think that I get it all together now. But here are some hints:

To add Airplay Support to the Box I used: shairport-sync https://github.com/mikebrady/shairport-sync Here is a tutorial to install it: https://thepi.io/how-to-set-up-a-raspberry-pi-airplay-receiver/

To add spotify-connect I used: https://github.com/dtcooper/raspotify tutorial to install is on github there.

To add the Mopidy Music Server (for local or networkfiles, spotify and other music services) I used: https://www.mopidy.com/ tutorials: english: https://maex.me/2017/10/raspberry-pi-as-a-music-server/ german: https://braspi.de/blogs/braspi-blog/raspberry-pi-als-musik-server-mit-mopidy or the very good documentation from mopidy: https://docs.mopidy.com/en/latest/

I used extensions: spotify, local-images (cover database for local or network files), iris (webinterface), local files.

This was a bit of fiddeling with all I needed with mopidy an sambashare to my NAS and the extensions. But it was worth it.

Hope that helps a bit. Not a Tutorial, but with some reading it should be no problem to use it.

Also there might be a better way of getting the audio through a pipe like explained here: https://nik.re/2016/09/04/mopidy-shairport-sync-and-snapcast-is-a-gread-combo But only gave it a try and couldn't get the pipe thing to work so left it alone. Maybe later.

Cheers

TUllm

UPDATE: now I´ve managed to play spotify playlists, album and so on through a RFID card. Gave a command through your script to mdc which is installed via mopidy. works great.

bgraeb commented 6 years ago

Finally adding mine. As it was the first IOT'ish project I made, I'm quite proud of it. Only local files right now, as my kid has lots of unheard CD's flying around. When they're thru, I'll add Spotify to it.

img_6333

img_9051

Thanks for sharing your projects, @MiczFlor. I learned a lot, implementing it and tinkering with the parts included.

WalterWHeisenberg commented 6 years ago

Hello, everybody, now that I have finished my two boxes, I would like to show you some pictures of them. But first of all, many thanks to MiczFlor for all the software development work, without which I would never have been able to get it up and running. Also many thanks to everyone for the many tips and tricks around the Spotify integration. After a little trial and error, it works very well.

I have built two completely identical boxes for my children, they only differ in colour. In addition to the functions of the jukebox, I have integrated the respective Spotify Family Account, so that the children can hear the stories etc. independently of each other. So far, I have only implemented the entire control system using RFID cards. I don't know if I will install any buttons in the future. Alternatively, I can control the jukebox via the web interface. For Spotify I prefer the surface Iris, which also runs under Mopidy. The complete power supply, including that of the small speakers, only works via a small USB power supply and the USB ports of the Raspberry. In the event that there is no power supply, everything could also be operated with a battery. But I haven't tried that yet.

I built the speakers myself from plywood. Since I had no grids for the opening of the speakers, I made a template and drilled all the holes with a 5mm wood drill. By the way, the RFID reader functions completely smoothly even through the wood.

You are welcome to add the photos and the information to the gallery.

Here is the list of the devices I have installed: Raspberry pi 3 Simple Case for the pi UGREEN USB sound card Neuftech USB RFID Reader Trust Leto 2.0 USB Speaker Set Aukru Micro USB 5 V 3000 mA Charger

img_20180516_175713-01_xs img_20180516_175722-01_xs img_20180516_175918-01_xs

grnlr commented 6 years ago

image

Thank you for the great work!

My phoniebox comes with this specs:

Everything besides changing volume works (acceptable for me ;-)

Are there any news about spotify support out of the box?

webjochen commented 6 years ago

img_1617 img_1615 img_1614 Intenso Powerbank Holzkiste

genkigenki commented 6 years ago

Thanks a lot for the project, updated recently to the latest version. Here a picture: img

I bought this: Speaker Voltage meter External USB port

With the latest version the application starts up a bit slow. Also there is stuttering at the beginning of the songs. Im hoping for the next version without VLC

suedbadner commented 6 years ago

img_20180731_185205 img_20180731_185146 img_20180731_185158 img_20180731_185155 img_20180731_185149

suedbadner commented 6 years ago

img_20180805_135055

suedbadner commented 6 years ago

@miczflor

The one with the only Red Buttons is the one I made in december. The other one is the 2nd one I made last month

genkigenki commented 6 years ago

Hi,

i used this wiring:

Usb-charging port on outside of the box Battery (10000mAh USB battery)
ON/OFF switch Raspi ; Amplifier/Auna ; Voltage display

USB-RFID-reader

I also soldered to the amplifier: Raspi -> Amplifier Aux input (soldered) USB battery output -> Amplifier (where the original battery was connected, it was only 1000mAh).

So yes, all is internal, the RFID cards work through the wood of the box, if you put them on the top right of the box.

genkigenki commented 6 years ago

Here an update, 3 buttons (play=green, prev=yellow, next=blue) and an LED that the raspberry pi is ready to accept cards or that its processing a card/button request. For that, the code could be added to the standard repository i guess... mp3_rfid

Wiring the Buttons to GPIO0,1,2 and the LED with 220 Ohms to GPIO3.

These buttons are OK: Amazon Buttons

JuCarax commented 6 years ago

img-20180729-wa0004

Caliandroid commented 6 years ago

this is our father-and-3y-old-son self-build wood-waste phoniebox with gpio buttons caliandroid_phoniebox

morivox commented 6 years ago

Hi @MiczFlor et al,

what a great project, many thanks for all the support and tutorials! This finally brought me back to do handicrafts and soldering - it had been >20 years!

Attached is my first version using an old radio and attaching 5 GPIO buttons, which I built with my 4year old son. Since I have a 2nd one, I guess I have to build a 2nd (similar) one too...

img_1762 img_1761 img_1759

Next I want to include fast forwarding, and Napster/Rhapsody support - any hints for that are highly welcome.

MiczFlor commented 6 years ago

Hi @JuCarax @Caliandroid @morivox thanks for the contributions. And also keep the code coming :) I have been planning to start the wiki and migrate the Phoniebox gallery there. There have been so many astonishing additions.Looks like @JuCarax and @morivox added the feature "start playing when RFID is near the Phoniebox". Could you create a thread under issues and document this install? I want to include it in the docs. Thanks!

morivox commented 6 years ago

Thanks @MiczFlor, unfortunately I am not there, yet, being able to code "start playing when RFID is near the Phoniebox". I still wanted to have that feature so used the Neuftech USB RFID Reader, which does allow for it. It's also a bit cheaper, but does only come with 5 RFID coins. (https://smile.amazon.de/gp/product/B018OYOR3E/). Maybe it's worth referring to that product as well in your "shopping list"?

genkigenki commented 5 years ago

@morivox : I have the same USB reader, but i dont see any option to know wether the RFID card is near. You can leave the card on the reader and it will continue to play. But there is no way to know that the card is removed, even the LED doesnt change (it initially only blinks once in red and then turns to green as if no card is near). So you remove the card, but it will not stop playing.

For me, this behaviour is however good, i like it like that.

morivox commented 5 years ago

@genkigenki: fully correct, thanks for clarifying!

axelslade commented 5 years ago

My beta version... For testing and while the real version is in the making... Not nice but I had to connect another rfid reader via the breadboard and did not want to solder

20180819_201439 20180819_201448 20180819_201451

axelslade commented 5 years ago

And my first version, but the box was to unstable and I was to impatient to make it nicer... But wait for the real solution...

20180724_193850 20180724_193844 20180724_194030 20180724_194026 20180724_193912 20180724_193908 20180724_193859 20180724_193853

ddbkva commented 5 years ago

i just finished my first phoniebox! Thank you very much !!!! 1

MiczFlor commented 5 years ago

Hi @ddbkva quite an impressive Interface-Face you made there, reminds me of "Nightmare before Christmas" ;)

MiczFlor commented 5 years ago

@axelslade you really use a Jabra for the Phoniebox. Wow, that ups the budget :)

ddbkva commented 5 years ago

unaware, I think my design is a bit friendlier (i hope so it`s for a 3 year old person..) i built a second box for my daughter, same design

ddbkva commented 5 years ago

so finished my first (not my last!) phoniebox! it comes with rpi2, wlan, hama usb speakers, intensio powerbank, acarde button and an multilplex and plastic case! For charging there is an usb c recessed socket (for the kids its easier than micro usb)! it`s is a bit heavy but its very stable! img_5216

ekorn commented 5 years ago

Mine uses a old jewel case and the Logitech V20 USB Speaker with integrated sound card and Media keys: Image of the Kartenspieler

In the first drawer is a rpi zero w and the rfid reader in the second the kids have their cards.

ddbkva commented 5 years ago

how did you connect the speakers with the raspberry pi? I also bought the speakers, but i`m not sure that the power of the raspberry pi is enough. are the media keys working ?

Mine uses a old jewel case and the Logitech V20 USB Speaker with integrated sound card and Media keys:<

hailogugo commented 5 years ago

Hi

I have connect the speaker directly per USB at the Pi and on Pin 5V and GND on the Pi.

With the New Rev. 1. I do not add any keys up to now.

But look up in this files

https://github.com/MiczFlor/RPi-Jukebox-RFID RPi-Jukebox-RFID/ https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/master/misc misc/ https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/master/misc/sampleconfigs sampleconfigs/gpio-buttons.py.sample

https://github.com/MiczFlor/RPi-Jukebox-RFID RPi-Jukebox-RFID/ https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/master/docs docs/GPIO-BUTTONS.md

Regards

Andreas

Von: ddbkva notifications@github.com Gesendet: Donnerstag, 6. September 2018 14:59 An: MiczFlor/RPi-Jukebox-RFID RPi-Jukebox-RFID@noreply.github.com Cc: hailogugo playboy34@web.de; Author author@noreply.github.com Betreff: Re: [MiczFlor/RPi-Jukebox-RFID] Some Pics of my Jukebox (#5)

how did you connect the speakers with the raspberry pi? I also bought the speakers, but i`m not sure that the power of the raspberry pi is enough. are the media keys working ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/5#issuecomment-419083522 , or mute the thread https://github.com/notifications/unsubscribe-auth/AfvtbA7XQUxW5A7QFDMhpRrodieQtTRRks5uYRwFgaJpZM4RLcMt . https://github.com/notifications/beacon/AfvtbL7jlfFwnS5XSBaPnkzTEYG4-8-oks5uYRwFgaJpZM4RLcMt.gif

ekorn commented 5 years ago

Sure the V20 Speaker working good and with the keys, here is a short description how i did it. There was just one weird behavior the I initially have to unplug it one and plug it in again. Before that it was not recognized by the system (lsusb).

Snible commented 5 years ago

Here is my PhonieBox, thanks for this great project. img_5970 img_5969 img_5968 img_5966 img_5965 img_5964

toblinga commented 5 years ago

@Snible: Looks verry professional! Well done! I'm planning also to laser cutting the front and back side. Which cind of color did you use before you lasered the wood? I thought it would not be possible to laser colored wood.

Second question: which box did you use as basic?

Thank you!

Snible commented 5 years ago

@toblinga I've used this paint before laser engraving: https://www.bauhaus.info/buntlackspray/dupli-color-color-lackspray-ral-9010/p/15071041 The box I've used is this one https://www.bauhaus.info/holzkisten/stapelbox/p/10750020

axelslade commented 5 years ago

@axelslade you really use a Jabra for the Phoniebox. Wow, that ups the budget :)

@MiczFlor was the only speaker I had laying around... But in the new version I have used the cheap ones you have in your buy list. But I have a constant noise (brummschleife) which is not going away

axelslade commented 5 years ago

20180915_122507 20180915_122510 20180917_003325 20180915_122157 20180915_122459

Here is the new and final version...

ddbkva commented 5 years ago

@ekorn how do you connect the v20 speakers and the rfid reader on one usb micro port at the rpi zero? i bought some otg 4 port hub, i hope there is enough power for the speakers. if not i could take the usb power from another usb port. i hope it works.

ekorn commented 5 years ago

No Magic there just a decent USB-Charger (I think 2400 mA) and a old USB-Hub which is way bigger than the rpi zero. Let me know if your otg 4 port hub works and which one you bought, than I would do a upgrade.

ddbkva commented 5 years ago

i ordered the wondershare 4 port usb hub I'm curious if everything works out https://www.ebay.de/itm/Waveshare-4-Port-USB-HUB-HAT-for-Raspberry-Pi-3-Model-B-Zero-V1-3-Zero-W/272676340552?_trkparms=aid%3D555017%26algo%3DPL.CASSINI%26ao%3D1%26asc%3D20161121140619%26meid%3D6678f1b9652347d196be0f57af0d9de6%26pid%3D100642%26rk%3D1%26rkt%3D1%26%26itm%3D272676340552&_trksid=p2045573.c100642.m3226 its working! i dont need extra power for the hub, my logitech v20 are working perfect!!

pechart commented 5 years ago

Here's ours. The inside is not that beatiful, but everything works. Maybe I'll add some buttons on the next version, but for my kids (5/8) the volume control via RFID works good. And also I would need to find some nice buttons to keep the simple design. Thanks for this great project, very inspiring! We're mainly using it for kids news podcasts by WDR5 or some older audiobooks that are not easily available via streaming services.

And I opted for a breakout of the power supply on this, so we can run it on a powerbank or wired. Also I split the audio output with a simple 3,5" Y cable so the kids can attach the device to their boombox (or headphones) in addition to the weak sound of the trust speakers. img_20180929_121528443

toblinga commented 5 years ago

Thanks for the answer!

Snible notifications@github.com schrieb am Mo., 17. Sep. 2018, 13:15:

@toblinga https://github.com/toblinga I've used this paint before laser engraving: https://www.bauhaus.info/buntlackspray/dupli-color-color-lackspray-ral-9010/p/15071041 http://url The box I've used is this one https://www.bauhaus.info/holzkisten/stapelbox/p/10750020 http://url

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/5#issuecomment-421972992, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLbaFMUkxRCsnItS8AmlXEzJupAw_CCks5ub4ROgaJpZM4RLcMt .

MiczFlor commented 5 years ago

Hi @pechart it is difficult to guess how big or small the box is. It looks huge at first glance, then the speaker next to it seems to dwarf it. First I thought this is a really full sized speaker box, but it's smaller, isn't it?

pechart commented 5 years ago

Yes, it is smaller. It's an Ikea vildapel (heise online wrote about IT some time ago).

ddbkva commented 5 years ago

so second version based on rpi zero, waveshare usb hub, logitech v20, usb c charger, neuftech rfid reader img_5270

Alwiz79 commented 5 years ago

And here is my version of the phoniebox. This is now my third version, and after a “classic” wooden box and a portable version in a small lunch box, I thought it was time for a “daddy version”. I used an old tube radio which I cleaned, put some new fabrics and some lacquer on it. All the old electronics are in there but not in use (except for the speaker). I guess I kept everything in there for my karma:-) It is powered on by pushing the original TA button on the front (which was used to switch to an external audio source (vinyl). The original volume knob can also be used but obviously is now soldered to a new amplifier. Pretty happy with the result.

8d5b535f-2aa9-4e27-a75d-7fd1b8d5cc41 030322a5-61cc-47a5-9961-b2f9fdad38d7 af1d9215-544c-4d30-8fbb-d2c475122b1c b7431492-8c6c-4021-b5bf-8da0b6a24d1d ea178e71-20fb-413b-b5c8-44967e66602a

elalemanyo commented 5 years ago

@Snible can you explain or show more how you did yours? I like a lot how the circuits are looking and I would like to do something similar. Any help you can give me would be great.

Thanks!