/orange-pi-hi-fi-hat

Orange Pi Hat with Hi-Fi audio capabilities

GNU General Public License v2.0GPL-2.0

Orange Pi Hi-Fi Hat

Open Source Hardware Open Source Software

Orange Pi Hi-Fi Hat adds Hi-Fi audio capability to your Pi. It uses native I2S output of Orange Pi together with Texas Instruments' fantastic PCM5100 Hi-Fi DAC.

image

Why did I build it

I want to bring modern hobbyist technologies to the world of classic speakers and amps gear. I build systems that keep that old-school ish look, but add online streaming and smart remote capabilities. I build this project as a possible core of such solution, where small but much capable box with Orange Pi in it drives large Pro-sized and Pro-sounded audio

Why Hi-Fi Hat?

It is a simple yet powerful solution that adds audio capabilities to your Orange Pi based project. Audio quality complies with Hi-Fi standards, which means it is suitable for high quality audio streaming, just like Big Pi

Why Orange Pi?

It's capable and reasonably priced, and great value for money. But most notably, Raspberry's availability is nil at the moment of writing. Orange Pi is not a perfect alternative, not nearly as good support level as Big Pi. But in terms of audio quality it is no compromise, and that what matters most

Key features

  • PCM5100A 32bit DAC
  • Up to 384 kHz sampling rate
  • -100 dB typical noise level
  • Triple ultra-low-noise voltage regulator for audio interface
  • Single mini-jack output
  • Dual RCA output

How to use

Orange Pi runs Armbian, Volumio and Mopidy, but before any of then can utilize Hi-Fi DAC, it needs to be configured.

Setting up an external DAC is not a trivial task, therefore some examples were provided in firmware section.

Automated deployment using Ansible

Ansible is an automation suite that allows you to configure systems remotely using redistributable configurations called playbooks.

Few playbooks were created to allow 2-clicks deployment for Orange Pi Hi-Fi Hat. Those are based on Armbian Ubuntu Focal images, can be download here: Orange Pi PC and Orange Pi One

Below steps are run on your laptop or PC, all configurations will be delivered remotely via ssh

  • Write downloaded Armbian image onto a cd-card of your choice. Start your Orange Pi and find its IP address. Next steps will assume that the IP address of each node stays the same after reboot. You might need to configure your router to lease static IP to Orange Pi to make it stable.
  • Open firmware folder in vscode. In case you don't want to install vscode, you can run commands in plain terminal as well. Please use tasks.json file for reference
  • Prepare hosts file. Add your node's IP address and name
  • Run 0. install prerequisites task. It will install necessary tools on your laptop/PC, like Ansible client and such
  • Run 1. apply with root password task. It will ask for the root password, which is 1234 by default on Armbian. This task will install and update packages, as well as create new user and configure ssh on your Pi
  • Open 2-audio-hardware.yml file and run 2. apply ${file} without password task. It will build and configure kernel module for PCM510X DAC as well as configure Device Tree overlay to inform Linux about new DAC is has
  • (Optional) Do the same with 3-pulseaudio.yml, 4-mopidy.yml, 5-libre-spotify.yml playbooks. That will install Pulseaudio network node, Mopidy and Libre-Spotify smart speaker software accordingly

Manual installation steps

All above can be done manually, basically following instructions created before for another Orange Pi board with the same DAC.

Hardware

Design files can be found in hardware section.

Where to buy

Available at Tindie

Look

Orange Pi One

image image

Orange Pi PC

image image