Raspberry Pi powered jukebox

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Raspberry Pi powered jukebox

Post by /RaspberryPi »

Been waiting quite a while to post this project. I acquired a Sound Leisure Dime Box a while back and never got around to doing anything with it. I believe these were originally commissioned for the Ed’s Diner chain before they went in to administration.
Always thought it was ripe for a Raspberry Pi conversion so set about doing that recently! Worked out the Keypad and it’s backlight LED’s were based on 3x MCP23017 port expanders and set about interfacing with them via I2c using the adafruit libraries. The coin slot works via a GPIO pin through a 74HC14 Schmitt trigger to clean up the signal. I ended up replacing the cabinet lighting as the original ones were cold white and I didn’t think that fit in with the retro vibe. Ended up using some individual RGB neopixels and driving them via the SPI bus on the pi (again using adafruit libraries).
It works as a Sonos controller, adding songs to the queue in a particular Sonos zone when selected. Currently it’s getting these from Spotify, but could easily pick songs from elsewhere. I’m leveraging the excellent API project by Jishi (http://jishi.github.io/node-sonos-http-api/) for interfacing with Sonos.
A link to the code. The whole lot runs on the Balena cloud platform with my Python in one container and Jishi’s Sonos API in another. Sorry there’s no readme yet, and I’m not a software dev, so go easy on my code ?.
https://github.com/mehstg/dimepi
Also just wanted to add. Special thanks to Sound Leisure and especially Jim Boyle, their engineering director who were extremely helpful explaining how parts of the circuitry worked and even sourced me a key so I could get in to it. Pretty awesome considering I wasn’t paying them and I was cannibalising their product.
Photos: https://imgur.com/gallery/9N0SDdQ

submitted by /u/mehstg
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”