Introduction
This guide contains all the information you will need to run the OSA Electronics DACBerry PRO+.
Summary
- What we need
- Assembly
- Onboard configuration
- SDB™ connector
- Quick install
- Volumio instructions
- moOde instructions
- OSMC instructions
- Retropie instructions
What we need
- Raspberry Pi A+/B+/2/3B/3B+/4B
- DACBerry PRO+ for Pi
- A MicroSD Card
- Set of 4 Nylon M2.5 Screws
- Set of 4 Nylon M2.5*11mm Female to Female Standoffs
- Set of 4 Nylon M2.5*5mm Male to Female Standoffs
Assembly
Use the nylon screws and standoffs to assembly the Raspberry Pi together with the DACBerry PRO+, as shown on the image below:
Onboard Configuration
By default, the DACBerry PRO+ board DAC PCM5242 acts as master device, and the Pi as slave device.
Board layout
This is the board layout:
SDB™ Connector
DACBerry PRO+ is one of the first boards to include this standard created by OSA Electronics. SDB Interface is a mix of Sound and Data signals together in the same Bus.
The A0 and A1 revision uses SDB™ 1.2.
This is the SDB™ connector on PRO+ board:
SDB™ 1.2
GPIO
Quick Install
There is an easy way to install support for DACBerry PRO+ on Raspbian/Raspberry Pi OS.
Just run the following code from your Raspberry Pi with Internet connectivity:
curl https://www.osaelectronics.com/get/dbproplus.sh | bash
You may need to reboot once. After rebooting, everything should work!
*NOTE: If quick install doesn’t work at all, or want to follow step by step instructions, please refer to the Retropie part.
Volumio Instructions
Volumio has already official support for this board, so to get it working you need to use the “OSA DACBerry ONE+” profile, what is fully compatible with PRO+.
*IMPORTANT: In order to make it works properly, is recommended to do a fresh install of Volumio and use lastest version.
Airplay
Volumio is a perfect choice if you want to stream music from your Apple devices.
Step 1
Open Volumio and navigate trought “Network” in Settings Panel, and connect to your WiFi network.
Step 2
Inside “Network” settings, locate “Hotspot Settings” tab and enable it if it’s not. Restart.
Step 3
Go to your desired Apple (or Windows) device and open iTunes if you are using a computer, or open the “control center” if using a phone/tablet. Go to the “Airplay” icon and select “Volumio”.
Step 4
That’s it! Enjoy streaming music!
Adding password to your Airplay device
With the Airplay feature activated, everybody will have access to your device and will be able to play music on it. If you want to add a password to it, follow these instructions.
Step 1
Open an SSH connection to your Pi, if you can’t connect at all, enable it on volumio.local/dev.
Then, type the following line to open up the template for the shairport config file in a text editor:
sudo nano /volumio/app/plugins/music_service/airplay_emulation/shairport-sync.conf.tmpl
Step 2
In the “general” section, add a password, like this:
general = { name = "${name}"; log_verbosity = 0; password = "<your airplay password here>"; };
Save the file as usual and reboot.
Step 3
Connect to your device, you should be prompted for a password when airplaying to it.
moOde Instructions
moOde Audio Player is one of a range of audio playback solutions that supports DACBerry boards. You can follow these instructions in order to install and configure it.
It does not offer a “ready to use” image like other distributions. Instead it uses an image of the operating system (Raspbian) as basis and then a script for automatic installation.
*IMPORTANT: In order to make it works properly, is recommended to do a fresh install of moOde and use lastest version.
Installation
The following command executes the script. If you have not been connected to the internet two commands earlier, than simply NOTHING will happen here. If you had been online the installation wizard will be started.
sudo ./mosbuild.sh
Now a wizard will help you to do some setup:
Make the following choices:
- Write OS build directly to the boot SDCard? -> y
- Do you have a backup of your boot SDCard? -> y
- Enter Current Date (YYYY-MM-DD) -> enter date
- Make corrections -> n
- Use a proxy server for Internet access -> n
- Use a WIFI instead of Ethernet? -> n (Switching to WIFI should be done later when moOde is running.)
- Proceed with build -> y
- Power off the Pi -> y
- Wait for about 10 seconds until the green LED on Pi stops blinking. Then unplug the power cable and replug it.
All you have to do now is to wait. The Pi is downloading and compiling, so how long you have to wait is mostly depending on the CPU speed of your Pi. This may be several hours.
Configuration
Step 1
Direct your web browser to http://moode, http://moode.local or the device’s IP address. Then, click the menu icon in the top right corner and select Configure.
Step 2
Now, select the Audio icon. Choose the HiFiBerry DAC+ board from the I2S audio device drop-down list and click SET.
Step 3
Restart the device and enjoy your music!
OSMC Instructions
KODI OSMC team is already working to add official support on next release, but meanwhile, you can follow these steps to make it work:
*IMPORTANT: In order to make it works properly, is recommended to do a fresh install of OSMC and use lastest version.
To get it working using the RCA Output and Optical/Coax at same time, you need to use the “Hifiberry DAC Plus” profile.
Retropie Instructions
As for Raspbian Jessie, just run the following code from your Raspberry Pi with Internet connectivity:
curl https://www.osaelectronics.com/get/dboneplus.sh | bash
The next step is to edit the raspi modules list with:
sudo nano /etc/asound.conf
This file should be blank! Just copy and paste the following text into the file:
pcm.dacberry { type softvol slave.pcm "plughw:0" control.name "PCM" control.card 0 } pcm.!default { type plug slave.pcm "dacberry" } ctl.!default { type hw card 0 }
Save the file as usual and reboot:
sudo reboot
Now to check everything is as expected, just type:
amixer aplay -l
You should see something like that:
pi@retropie:~ $ amixer Simple mixer control 'DSP Program',0 Capabilities: enum Items: 'FIR interpolation with de-emphasis' 'Low latency IIR with de-emphasis' 'High attenuation with de-emphasis' 'Fixed process flow' 'Ringing-less low latency FIR' Item0: 'Low latency IIR with de-emphasis' Simple mixer control 'Analogue',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 1 Mono: Front Left: Playback 1 [100%] [0.00dB] Front Right: Playback 1 [100%] [0.00dB] Simple mixer control 'Analogue Playback Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 1 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Auto Mute',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'Auto Mute Mono',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Auto Mute Time Left',0 Capabilities: enum Items: '21ms' '106ms' '213ms' '533ms' '1.07s' '2.13s' '5.33s' '10.66s' Item0: '21ms' Simple mixer control 'Auto Mute Time Right',0 Capabilities: enum Items: '21ms' '106ms' '213ms' '533ms' '1.07s' '2.13s' '5.33s' '10.66s' Item0: '21ms' Simple mixer control 'Clock Missing Period',0 Capabilities: enum Items: '1s' '2s' '3s' '4s' '5s' '6s' '7s' '8s' Item0: '1s' Simple mixer control 'Deemphasis',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Digital',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 207 Mono: Front Left: Playback 207 [100%] [0.00dB] [on] Front Right: Playback 207 [100%] [0.00dB] [on] Simple mixer control 'Max Overclock DAC',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 40 Mono: 0 [0%] Simple mixer control 'Max Overclock DSP',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 40 Mono: 0 [0%] Simple mixer control 'Max Overclock PLL',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 20 Mono: 0 [0%] Simple mixer control 'Volume Ramp Down Emergency Rate',0 Capabilities: enum Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate' Item0: '1 sample/update' Simple mixer control 'Volume Ramp Down Emergency Step',0 Capabilities: enum Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step' Item0: '4dB/step' Simple mixer control 'Volume Ramp Down Rate',0 Capabilities: enum Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate' Item0: '1 sample/update' Simple mixer control 'Volume Ramp Down Step',0 Capabilities: enum Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step' Item0: '1dB/step' Simple mixer control 'Volume Ramp Up Rate',0 Capabilities: enum Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate' Item0: '1 sample/update' Simple mixer control 'Volume Ramp Up Step',0 Capabilities: enum Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step' Item0: '1dB/step' pi@retropie:~ $ pi@retropie:~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [] Subdevices: 0/1 Subdevice #0: subdevice #0 pi@retropie:~ $
And voilà! Enjoy playing retro games!