NanoSound DAC software support for Volumio


Method 1 – Install NanoSound plug-in on existing Volumio installation (Recommended)

Use this way if you already have an existing Volumio 2 installation or you prepare to use the official volumio distribution

  • Download and install Volumio if not already done so. See here for full instructions on how to install Volumio.
  • After connected to Pi (Via Ethernet Cable or Wifi), go to http://volumio.local , go to the PLUGINS -> Search Plugin -> Accessories.  Install the “NanoSound By Nanomesher” plug-in

  • Wait patiently for the Plugin install to finish. It might take 10-15mins depending on your internet connection.

  • Enable the Plugin.  OLED Display should be on if you have one

  • In Volumio, configure the DAC.  In Playback options, set the following options. Remember to set MPD Client Volume Control to On

  • In DAC Model and Output Device, Select “NanoSound DAC” (Available after Volumio version 2.298) or “HifiBerry DAC Plus”

  • Reboot the Raspberry Pi after installation.

Method 2 – Using Pre-configured Volumio Image

This is an out of the box working volumio image with NanoSound & Spotify Connect (volspotconnect)

  1. Download pre-configure Volumio image with NanoSound plug-in installed here
  2. Find a computer with a SD card drive
  3. Use software such as win32diskimager , unzip and write the image downloaded onto an MicroSD card
  4. Insert the MicroSD into the Raspberry Pi
  5. Plug the Raspberry Pi using Ethernet network cable (or use the Built-in Wifi Hotspot after power up as detailed in here). You Do Not need to connect the HDMI port to a monitor
  6. Power up by using the power switch on NanoSound DAC.
  7. Go to http://volumio.local or check your ip address using this method and start enjoying Volumio.

Method 3 – Manual Installation – For Experts

For whatever reason, you do not want to NanoSound plug in.  You can perform the below manual installation.

  • Install LIRC
sudo apt-get -y install lirc
  • Setup DAC and LIRC hardware in /boot/config.txt – The important lines are in bold
initramfs volumio.initrd

# For NanoSound DAC
#### Volumio i2s setting below: do not alter ####
  • Setup ALSA hardware mixer in /etc/asound.conf 
pcm.!default {
 type hw card 0
ctl.!default {
 type hw card 0

  • Setup for i2c communications with display and LIRC for infrared in /etc/modules

# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
lirc_rpi gpio_in_pin=17

  • Install python libraries for OLED display
sudo apt-get -y install python-dev python-pip libfreetype6-dev libjpeg-dev
sudo pip install -U pip
sudo -H pip install --upgrade luma.oled
sudo -H pip install --upgrade python-mpd2
  • Download required program, driver and configuration files from here
  • From download, copy all files in nanosound_lirc/ into /etc/lirc/
  • Copy the nanosound_oled software for the OLED display. From downloaded files, copy nanosound_oled folder into /home/volumio
  • Set up the nanosound_oled service. From downloaded files, copy nanosound_oled.service into /lib/systemd/system/
  • Auto start the  lirc and nanosound_oled service
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable nanosound_oled
sudo /bin/systemctl enable lirc
  • Reboot to reload the hardware modules
  • To get the GPIO buttons to work without using NanoSound plugin, the “GPIO Buttons” plug in for Volumio can be used.  Configure the GPIO Pin as below. **Note that the GPIO Button plug-in is only needed if you are not using NanoSound plugin