A desktop hifi audio player for listening music from a hard drive, and headless operation with a screen and buttons.
Based on raspberry pi with linux running mpd.
Switched MPD player/server combo to Mopidy because it has web API for the server, and awesome set of plugins and a most active community.
This also makes working with nodejs a little more easier than with Rune Audio. I've previously added a web app to expand some of the use of the rune audio box, such app will be able to control the music player using the attached control and display. But it will be also capable of sending commands via web browser and I hope to add bluetooth support also.
Meanwhile it does the following:
Opening a serial connection to the arduino to be able to set alsamixer volume according to the position of a potentiometer, and to toggle play/pause according to the press of any button.
Getting a list of torrents from what.cd sorted by the most snatched and filtering them to only FLAC rips from albums:
Get a list of files from a remote seed box and downloading them to the attached hard drive:
Cut a wood box, to get all connections together and to plan how place all in a more fancier box, problem is ATX PSU is huge and it's placed outside, might switch it for a ITX PSU with a more smaller foot print. Also included wiring for TV energy supply, but got a connector a little to small, it works, but only nudging it a little to the bottom.
This usb outlet provides only power to the rPi.View of inside the box:
The next step I took was to plug everything to a simple power outlet, since every part I'm using is either 5v or 12v an ATX power supply sounded good, also I had a power connector adapter laying around, used it to make this cable with all the required voltages plugged, tried to avoid modding the PSU to get some maintenance possibilities:
I also ditched rune audio in favour of raspbian with mopidy. Mopidy has a HTTP API and some awesome plugins, will try to make my own web front end to run it on the display using Fluxbox Window Manager. I have also worked a little more on the code for controlling the volume and the playback, will try to turn it into a mini keyboard for navigation inside the web client. All it's written in nodejs and mopidy has a JS wrapper for it's API.
All things are wired to ATX and inside of that green box until I get something nice to put them into.
Added a little pot to change alsamixer volume on usb dac using serial communication between raspberry pi and arduino. It works great and it's a first step to a self controlled media player.
I though it would be a good idea to tap audio out of a hard drive enclosure to power up the raspberry pi. It worked well, power to the PI is set to 5.25v per suggestion from @Arsenijs .
Some pictures of the power supply hack:
Neat headers for plugging a usb pc port there:
Messy desk testing:
This way only one wall wart is needed, still have to decide between getting power for the oled and buttons from an arduino connected the same power supply or to drive it from the rPi.
Hi there, very interesting project !
It would be also great to use a surround/multichannel amplifier to realize a multiamp like this:
https://www.instructables.com/Raspberry-Pi-Music-Server-With-Built-in-Crossover-/
Last but not least, check out our collection of open projects:
http://www.forart.it/progetti/ODFAS/index.php?file=kop6.php
Hope that inspires !