Page 1
IQaudIO Product Guide This document covers the installation, software configuration and usage of IQaudIO audio accessories with the Raspberry Pi. If you would like to see additional information within this document please email us at info@iqaudio.com For those who simply need the /boot/config.txt details —>...
IQaudIO user instructions Contents 1. GETTING STARTED 2. WHICH IQAUDIO BOARD IS BEST FOR ME? 3. CONFIGURING LINUX FOR THE IQAUDIO SOUND CARD 4. HEADLESS SOFTWARE 5. HOW DO I INSTALL SOFTWARE ON THE PI? 6. THE PI-DAC PRO 7. THE PI-DAC+ 8. THE PI-DIGIAMP+ 9. THE PI-CODEC+ 10.THE PI-CODECZERO 11.THE PI-DACZERO / DACZERO HEADPHONE 12.COSMICCONTROLLER 13.IQAUDIO KITS 14.ADDING THE IQAUDIO SOUND CARD TO YOUR RASPBERRY PI 15.BUILDING THE IQAUDIO ACRYLIC CASE 16.CONFIGURING LINUX TO SUPPORT IQAUDIO SOUND CARD 17.CHECK AUDIO IS WORKING 18.PI-CODEC+ / PI-CODECZERO CONFIGURATION 19.CONTROLLING THE PI-DIGIAMP+’S MUTE / UN-MUTE 20.RASPBERRY PI AUDIO APPLICATIONS 21.ROONLABS SETUP 22.ADVANCED INFORMATION 23.ADDING A ROTARY ENCODER 24.FAQ (FREQUENTLY ASKED QUESTIONS) WITH ANSWERS! v32 24-Nov-2019...
1. Getting Started Thank you for choosing an IQaudIO sound card. Next you need to play music, but first you may need to configure the Raspberry Pi’s and software package you want to use. The IQaudIO product family. The IQaudIO sound cards are all designed to work with the current Raspberry Pi and those that have a 40way male GPIO pin header.
2. Which IQaudIO board is best for me? Each IQaudIO sound cards has a specific purpose and has been designed to integrate with your existing HiFi / audio or Raspberry Pi equipment. BEST audio playback is from our Pi-DAC PRO, Pi- DAC+ and Pi-DigiAMP+ boards.
Raspberry Pi operating system configuration yourself. This is done by editing the Pi’s boot configuration file (found at /boot/config.txt) and ensuring the correct settings for your IQaudIO is included. The onboard audio of the Pi is also disabled through the same config.txt file.
Pi into a Roon Certified end-point. The Pi is then controlled form the RoonLabs PC/Mac application which connects to and plays music through the IQaudIO sound card on your Raspberry Pi. No screen needs to be attached to the Pi itself.
5. How do I install software on the Pi? The Raspberry Pi normally loads its software from the micro-SD card. Most audio applications assume they are the only thing running on the Pi so most require a dedicated SD card. The applications are normally distributed as a compressed .img file (likely a .zip or .gz file) and this .img file will need to be written to the Pi’s SD card to allow the Pi to boot.
6. The Pi-DAC PRO The Pi-DAC PRO is a HAT compliant add-on accessory for the Raspberry Pi. The Pi-DAC PRO users the Texas Instruments PCM5242 to deliver outstanding Signal to Noise Ration and supports Balanced / Differential out in parallel to Phono / RCA line level output. It also includes a dedicated headphone amplifier.
7. The Pi-DAC+ The Pi-DAC+ is a HAT compliant add-on accessory for the Raspberry Pi A+/B+/RPi2/RPi3 or PRi4. The Pi-DAC+ uses the Texas Instruments PCM5122 DAC to deliver analogue audio to the Pi-DAC+’s Phono connectors. The PI-DAC+ also supports a dedicated headphone amplifier. The Pi-DAC+ can be connected to the Raspberry Pi’s 40way pin header without any additional soldering.
8. The Pi-DigiAMP+ The Pi-DigiAMP+ is a HAT compliant add-on accessory for the Raspberry Pi. The Pi-DigiAMP+ uses theTexas Instruments TAS5756M PowerDAC to deliver direct connection to PASSIVE stereo speakers at up to 2x35wpc with variable output. Ideal for a Pi based HiFi. The Pi-DigiAMP+ can be connected to the Raspberry Pi A+/B+/RPi2/RPi3 or RPi4's 40way pin header without any additional soldering.
9. The Pi-Codec+ The Pi-Codec+ is a HAT compliant add-on accessory for the Raspberry Pi and can be connected to the Raspberry Pi A+/B+/RPi2/RPi3 or RPi4's 40way pin header without any additional soldering. The Pi-Codec+ delivers bi-directional digital audio signals (I2S) between the Raspberry Pi and onboard Dialog Semiconductor DA7212 codec.
10. The Pi-CodecZero The Pi-CodecZero is a Raspberry Pi Zero sized board but it also includes the HAT’s EEPROM allowing for auto configuration of the Linux environment if needed. The Pi-CodecZero delivers bi-directional digital audio signals (I2S) between the Raspberry Pi and onboard Dialog Semiconductor DA7212.
11. The Pi-DACZero / DACZero Headphone The Pi-DACZero is a smaller version of the IQaudIO Pi-DAC+ which is designed to be used with the Raspberry Pi-Zero. The Pi-DACZero delivers audio Line Out and uses the same Linux drivers as the Pi-DAC+.
3x Super bright White LEDs, 1x Rotary Encoder with push button, optional IR sensor and optional I2C based OLED display. The CosmicController is supported by Bob Rathbone’s radio software, and sample usage code is also available on out GitHub page (www.github.com/iqaudio) Button1 (GPIO 4)
13. IQaudIO KITS Many of the IQaudIO boards are available in KIT form. These allow users to use alternative GPIO pin headers, hard wire cables to replace Phono/RCA sockets etc. Other kits (Cosmic Controller / XLR kit) add additional functionality to the Pi or IQaudIO sound cards.
RASPBERRY PI BEFORE ATTEMPTING THIS PROCEDURE. The IQaudIO range of sound cards attach to the Raspberry Pi’s 2x20 way pin header (GPIO header). They are designed to be supported on the Pi using the supplied PCB standoffs and screws. In general no soldering is required to the IQaudIO boards for normal operation.
Page 17
Pi-CASE+, the 4 screws are then used to secure the bottom of the case to the short PCB spacers beneath the Pi. Other IQaudIO boards Building the smaller Pi-Zero sized boards to the Raspberry Pi-Zero follows the same process, as does adding the optional Pi-DAC Zero Headphone or Pi-DAC PRO XLR daughter cards.
There are a number of project cases available for the Raspberry Pi, the addition of accessory boards, such as the IQaudIO sound cards, requires a specific case. We have the following cases available in a range of colours and finishes: Pi3-CASE •...
Page 19
- 1x Top Plate - 1x Bottom Plate - Several sides (There are normally 3 sides which are used for all IQaudIO boards and a set of sides specific to the IQaudIO board being used.) A. Lay out the CASE+ sides corresponding to the Raspberry Pi & the specific IQaudIO board B.
Page 20
C. Add the base (with text outwards) and screw the case to the Raspberry Pi D. Pi-CASE+ top in place Now add the 4 nuts and bolts – Do not over tighten, finger tight is OK E. Completed Pi-CASE+ with Raspberry Pi and Pi-DAC+ inside v32 24-Nov-2019...
Page 21
F. Now apply the small transparent bumper stickers to the base of each Bolt. G. Now to complete screw the remaining 4 screws from the bottom of the case into the 5mm spacers inside. v32 24-Nov-2019...
16. Configuring Linux to support IQaudIO sound card Generally the full size IQaudIO boards auto configure Linux as they have the necessary EEPROM data flashed at production, therefore no user configuration is necessary. The below information may however help with any diagnostics and also to support the configuration of legacy boards or Pi-Zero boards that don’t have an on-board EEPROM (Pi-DAC Zero for...
Page 23
Once restarted SSH into the Pi and check that the audio drivers / card is available to ALSA. pi@raspberrypi ~ $ aplay -l If the IQaudIO board and drivers have been installed correctly you should see something similar to: pi@iqaudio ~ $ aplay -l...
Once support is active using “devicetree”, and that the underlying Linux ALSA sound system is configured you should now be able to listen to music. After the Raspberry Pi boots, log in and check that the IQaudIO board is visible as an ALSA audio card by running “...
Page 25
Please note that there are now, from the Feb 2015 Raspbian releases, 3 volume controls for the Pi- DAC+ / Pi-DigiAMP+. This can be confusing but for simplicity just ensure that the Analogue and Analoge Playback Boost volume controls are set to Maximum (100%) “Digital”...
Page 26
Dialog Semiconductor based IQaudIO boards Our Dialog Semiconductor based boards (Pi-Codec+ / Pi-CodecZero) are general purpose sound cards, playing back stereo audio but also recording audio too. As it’s a general purpose audio card with multiple inputs and output options and several volume controls the basic configuration is more complicated than our standard playback only products.
Page 27
Enable Digital Analogue Convertor (DAC) & Mixer level Set MONO output Test that audio can be heard through the Pi-CODEC+. Use the ALSA speaker-test utility and listen for “Front Left / Front Right”. Make sure your AUX OUT and SPEAKER volume levels are not at 100% before doing this.
18. Pi-Codec+ / Pi-CodecZero Configuration The IQaudIO Pi-Codec boards uses the Dialog Semiconductor DA7212 codec. The DA7212 allows the recording of audio from the board’s built in MEMS microphone, from stereo Phono sockets (AUX IN), 2x mono external Electret microphones and playback through stereo Phono sockets (AUX OUT) and mono speaker connector.
19. Controlling the Pi-DigiAMP+’s Mute / Un-mute The DigiAMP+’s MUTE state is toggled by GPIO22 on the Raspberry Pi. The latest IQaudIO device tree supports the unmute of the DigiAMP+ through additional parameters (from Raspbian 4.4.14+ onwards) … dtoverlay=iqaudio-dacplus,unmute_amp "one-shot" unmute when kernel module loads.
Max2Play IQaudIO Special Edition IQaudIO Special Edition - (https://www.max2play.com/en/max2play-image/) support is built in - you can install all IQaudIO cards with just one click. IQaudIO Max2Play Image First Steps After connecting the Raspberry Pi to the power supply, you can choose to connect to Max2Play in three different ways: Connect an ethernet cable to the Raspberry Pi.
Page 31
YouTube video on the IQaudIO Plugin by Max2Play. Volumio (https://volumio.org/get-started/) From a fresh distribution of Volumio you will find that IQaudIO support is built in. Write SD card image and boot Pi. connect from web browser to volumio.local Select the top right hand side (burger) menu and select PLAYBACK OPTIONS.
Page 32
Within the Audio section select the IQaudio device you have (such as Pi-DAC+) and press SET Within the same selection make sure you set the volume to around 20% (not 100%) and press SET Select reboot Once reconnected….
Page 33
From a fresh distribution you will find that QaudIO Pi-DAC+ support is built in. Write SD card image, boot Pi. ssh into the Pi as root (password rune) and edit /boot/config.txt to select the IQaudio Pi-DAC+ devicetree overlay. Save and reboot connect from web browser to runeaudio.local...
Page 34
- reboot OSMC (https://osmc.tv) IQaudIO Pi-DAC+ support is configurable. Pre configured versions are available at www.iqaudio.com/downloads Others If you know of others please let us know by emailing us at info@iqaudio.com v32 24-Nov-2019...
21. RoonLabs setup As a RoonLabs certified partner we have pre-generated sd card images for the Raspberry Pi and our IQaudIO sound cards. To date the following devices are certified: RASPBERRY PI3 and: • Pi-DAC+ • Pi-DAC PRO • Pi-DigiAMP+ •...
Page 36
Configure Roon to use your IQaudIO device Roon Labs software should be installed and running on your host PC or Apple Mac. To configure the music application to use the IQaudIO board please see below… Start the Roon application and login.
Page 37
You will find any new IQaudIO Roon device listed under “Networked”. You should then Enable this device and give it a descriptive Zone Name. You can select the settings cog to adjust the IQaudIO board’s internal Device settings if needed or just leave as default.
Page 38
This allows the volume of the IQaudIO board to be adjusted from the Roon application, each zone can have a different volume as needed. Useful if the IQaudIO board is feeding directly into a Power amplifier or you are using a Pi-DigiAMP+...
Page 39
Now the IQaudIO board has been configured and given a Zone Name within Roon, you can start to playback music to the device. First select the Zone you want to control (such as Lounge). From then on you can select music to play and adjust the Zone’s volume from the line-art at the bottom of the screen.
GPIO usage / Pin headers) The IQaudIO range of sound cards for the Raspberry Pi take advantage of a number of Pi signals in order to operate successfully. Some of these signals are solely for the use of the IQaudIO board and some can be shared with other peripherals, sensors, etc.
Page 41
The Pi-DAC PRO, Pi-DAC+, Pi-DigiAMP+ and Pi-Codec+ re-exposes the Raspberry Pi signals allowing additional sensors etc to be added easily. Please note that some signals are for exclusive use (I2S and EEPROM) for some of our boards, others such as I2C can be shared across multiple boards.
The following section shows the recommended pins / GPIO to use when adding a Rotary Encoder (physical volume control). Sample software is available on our GitHub page: www.github.com/ iqaudio/tools) that converts physical rotation to ALSA audio volume commands. With the rotary encoder shaft facing you and pins facing downwards: RIGHT Pin...
ALSA mixer name. This can be achieved by ensuring the'Audio Output' section of /etc/mpd.conf has the 'mixer_control' line. Below is an example for the Texas Instruments based IQaudIO sound cards (Pi-DAC PRO/Pi- DAC+/Pi-DigiAMP+/Pi-DACZERO) audio_output { type "alsa"...
Page 44
4. Useful data (screw sizes / part numbers / wire gauge size etc.) The full range of IQaudIO sound cards and accessories are available directly from IQaudIO Limited (www.iqaudio.com) or through various Worldwide distribution channels. Useful Data: o PCB screws are all m2.5...
Need help?
Do you have a question about the Pi-DAC PRO and is the answer not in the manual?
Questions and answers