This is a Raspberry Pi Media/Musicplayer case, which also can be used for general purpose (for example building a thin client).
It is designed to use it with a Raspberry Pi 3 and a IQaudio PiDAC+ (http://iqaudio.co.uk/audio/8-pi-dac-0712411999643.html ; the small plastic ring on top of the cinch connectors has to be removed to close the cover. This 5mm space would totally wasted in my optinion.).
Other soundcards can probably be installed if the dimensions and the connector positions are nearly the same.
If you want to use the same parts, here is my bill of materials, including article numbers of the German electronic parts store “Conrad Electronik”: https://www.dropbox.com/s/zka5diwjgptpeqg/BOM_Conrad_Electronic.pdf?dl=0
The USB connectors are common panel mounted USB connectors with male plugs.
In order to redirect the HDD activity to a front mounted LED, you have to add a “Device Tree Overlay” (please google what this is). This is pretty simple, if you use a RasPi 3 – Just add the following line to your “config.txt”:
Replace xxx with the pin the LED is connected to.
To use the encoder to control the volume, there is a simple piece of C code available from iqaudio.co.uk. However, it needs to be slightly modified depending on your music player distribution or audio config in general (soundcard device name).
Compile it (the wiringpi library needs to be installed!) and make it starting while boot (take a look at the PiDAC+ manual!).
Happy printing! 🙂
Notice: With this stand (https://www.thingiverse.com/thing:2397515), you can place your music player without wasting any space!
Every Thursday is #3dthursday here at Adafruit! The DIY 3D printing community has passion and dedication for making solid objects from digital models. Recently, we have noticed electronics projects integrated with 3D printed enclosures, brackets, and sculptures, so each Thursday we celebrate and highlight these bold pioneers!
Have you considered building a 3D project around an Arduino or other microcontroller? How about printing a bracket to mount your Raspberry Pi to the back of your HD monitor? And don’t forget the countless LED projects that are possible when you are modeling your projects in 3D!
The Adafruit Learning System has dozens of great tools to get you well on your way to creating incredible works of engineering, interactive art, and design with your 3D printer! If you’ve made a cool project that combines 3D printing and electronics, be sure to let us know, and we’ll feature it here!