Raspberry Pi Audio Player




Introduction: Raspberry Pi Audio Player

A minimalistic music player based on Raspberry Pi model B with HifiBerry DAC and ATXRaspi power controller

I made this with the help (also economical) of my father.

Inspired by: http://www.hifiberry.com/forums/topic/small-media-... and http://www.crazy-audio.com/2014/03/a-standalone-st...

Here's my first instructable!

Step 1: Step 1: What I Used

1. A Raspberry Pi (I used the model B because I had one lying around the house);

2. [optional] A DAC (I reccomend HiFiberry DAC, it sounds good);

3. [optional] ATXRaspi power controller (to shut down and power up the Raspi easilly);

4. An enclosure (mine was 200mmx125mmx51mm externally);

5. A power supply (I used a MeanWell RS-15-5 5V 3A power supply from amazon);

6. A power switch (My version has a reed sensor on top of the power led that toggles if I swipe a magnet on front of it);

7. Cables to wire all the devices to the rear panel (I added a HDMI cable to use this project as a media center);

8. [optional] an IR receiver.

9. [optional] A fuse.

Some links:

HiFiBerry DAC: https://www.hifiberry.com/dac/

Power supply (amazon.it): http://www.amazon.it/gp/product/B00MWQD43U?psc=1&r...

Enclosure (ebay.it): http://www.ebay.it/itm/Aluminum-Amplifier-Cases-DA...

Step 2: Step 2: First Prototype

To test and setup the functionalities I made a prototype of the project using a plastic cover. Simple and effective.

Step 3: Step 3: Assembling the Final Version

Assembling higly depends on the enclosure and on the components you choose.

I cutted the rear panel with a dremel and the holes with a drill press. It isn't beautiful but it works.

The enclosure I've chosen had a rail to house a matrix board on wich I placed all the components. There's no electrical contact between the enclosure and the copmponents.

Step 4: Step 4: Software

In the original project I wanted to use runeaudio to power all the stuff but it was buggy and painful to set up (it took me hours to setup the IR receiver), so I decided to use Volumio that is slower (raspbian based vs arch based) and the interface is not as good as runeaudio (not yet) but is more stable and reliable.

Both distros are very good to play webradios, spotify (only premium) and other streaming services, and music from network devices.

Changing distro can be easilly done because I left some space between the Raspi and the power supply to remove the sd card

Here you can find some useful links:

Runeaudio project: http://www.runeaudio.com/

Volumio project: https://volumio.org/

IR receiver setup guide: https://learn.adafruit.com/using-an-ir-remote-with...

Step 5: Final Product

Here are some pictures of it mounted and fully functioning. The audio quality is pleasant and it looks amazing. It only misses the IR receiver at the moment.

Hope you enjoyed. Feel free to ask or suggest anything :)



    • Metalworking Contest

      Metalworking Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Water Contest

      Water Contest

    18 Discussions

    Very nice project.

    Are you having any issues with heat? It seems like the enclosure (from the pictures) don't have any venting.

    Hi, Im trying to build something like this, but as a free standing DAC; to my already existing Gainclone amp. But I want it to be able to stream from my cellphone, and Spotify on my cell. I tried now with OSMC, but it is "just another KODI based" media centre. I already got that for my videos etc, but I want to be able to get the good sound wireless on my amp. Will Volumio do this for me :) ?
    Thank you in advance, and sorry for my stupid questions :)

    2 replies

    Hi! Thanks for the interest. I've got a question for you.

    Do you want to stream audio files directly from your phone or do you want to just control the player from the phone?

    Actually Volumio supports Spotify streaming (Only for premium users, there is no way to bring this to free users), AirPlay and streaming from local or network storage, but Volumio2 is in the works (Checkout their repo, it's awesome https://github.com/volumio/Volumio2) and will include a plugin system that will hopefully bring some new features. I also use an external amplifier (The Marantz you see in the pictures) and I'm very pleased with the quality. Let me know your thoughts!

    Hi Bonny, thank you for the answer :)

    I have already been thinking so much about this issue, that I have found a solution that so far works best for me, and that was to load PiMusicBox on the SD card. No new media centre, or long startups, so now everything works smooth and seemless

    Nice build!

    What is the purpose of the HDMI in your setup? Does it connect to the stereo? I am planning something similar, only mine is going to be a HTPC.

    2 replies

    Hi! Sorry for the very late answer.

    The HDMI was added with a conversion/upgrade to a media center in mind. It's not used with the actual configuration. In the future I may upgrade this project (using a more powerful Raspberry, of course) to a more complete media center with a great sound quality.

    No problem. you may want to now consider actually an Orange Pi. a little more cutting edge, but besides sporting a quad core (faster than Raspi though), you can also get one with 2gb of RAM. It has the same gpio pinout as raspi, only rotated 180. about the same price too I believe.


    3 years ago

    When you would use a good powersupply it would sound a lot better. Not a switch mode, but a linear one with a ring core transforner.

    1 reply

    Actually, finding a power supply with this spect is not that easy and i bet a linear one will cost me more. The actual setup is already great for me so I'm not going to upgrade, for now.

    I think that the bottleneck in quality is the Raspbery, so a Raspberry upgrade might bring some bigger improvements than a new PSU.

    I wonder if I could add a tube amp to it to improve the audio

    1 reply

    That'll be awesome! But the quality is already great and I don't think i will upgrade this anytime soon.

    In one of the pictures it looks like it has a screen was that only for setting it up or does it have a built in screen . great project I am going to try and build one soon thanks for a great Instructable

    1 reply

    Thanks! I think the "screen" you spotted is my TV. The player only has an HDMI output and no screen at all is required for it to work

    My question is what does it do? The turntable the radio, ect I get, but how does it tie in and control the rest or does it only play stored music into the stereo system. I was thinking of something like that with an old computer my brother doesn't use anymore.

    2 replies

    It simply plays music from a LAN shares, streaming services, webradios and USB into the stereo system.

    Well, summing all the most costly things (enclosure, DAC, power supply and ATXRaspi) together gives me ~130€ without the raspi (keep in mind that I live in Italy and shipping costs may vary). With a 35€ raspberry the amount reaches ~160€