This is how I turned a raspberry pi, a touchscreen and some other stuff into a little audio box for my kids.
I was looking for a way to build a little audio box for my kids, where they can listen to all their music and radio plays. The box should be controlled over a touch interface. And it should have integrated speakers.
The build centers around the raspberry pi 3 (Model B) and the 7” touchscreen. They are currently availabe as a set at digitec. The set comes with all the cable and connectors needed.
The power is distributed by an IcyBox IBCH402 which provides 6A of power over 4 USB Ports.
The raspberry pi’s built-in 3.5mm audio jack port is known for his low audio quality. So I went and added a DAC HAT board from just boom.
To power the two speakers (3cm x 7cm – 8 Ohm 5 Watt), I added a small amplifier from Adafruit.
And lot of small parts like cables, USB plugs, screws and a SD card.
After a lot of try and error, I found out that there is only one way to install volumio properly on the given hardware and get the touchscreen working.
- Download Volumio and put it on the sd card. Make sure to download the 2.389 Version. This is important! I found out that newer or older versions just won’t work.
- There are several ways to flash an image on an SD card. I used etcher.
- Put the SD Card back into the raspberry pi (and mount everything together: DAC, touchscreen, etc.)
- Connect the raspberry pi with an ethernet cable to your network
- Boot the raspberry pi (the touchscreen will stay black)
- Browse on your computer to http://volumio.local and run the setup
- During setup configure your your wifi connection
Configuration on the device
- Browse to http://volumio.local/dev and activate ssh
- Ssh to to volumio ( ssh firstname.lastname@example.org pw:volumio)
- Run the following commands on volumion
sudo apt-get update
sudo apt-get install keyboard-configuration(choose EN-US)
- Browse to http://volumio.local/dev and disable ssh (for security reasons)
- Install touchscreen plug-in
- Reboot, the screen should now be working
You can access the filesystem of volumio from windows machines over SMB (\\volumio)