• sales

    +86-0755-88291180

RPI ZERO DAC Aduio User Guide

Notes
Note that our installer, linked above, does all of the below for you, but if you're an intrepid hacker then you might need to know this stuff!

The DAC can be configured by adding dtoverlay=hifiberry-dacplus to the /boot/config.txt file.
The buttons are active low, and connected to pins BCM 5, 6, 16, and 20
The display uses SPI, and you'll need to enable SPI through the Raspberry Pi configuration menu.
Software compatible Pirate Audio software
(https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-pirate-audio)

 git clone https://github.com/pimoroni/pirate-audio
 cd pirate-audio/mopidy
 sudo ./install.sh

Hardware
st7789 display - https://github.com/u-geek/st7789-python
four buttons, active low connected to BCM 5, 6, 16, and 20 (A, B, X, Y respectively)
IR remote, IR receive GPIO use BCM4 and IR send GPIO use BCM17
 
Installation DAC
You'll need to add the following lines to /boot/config.txt to get audio up and running:

dtoverlay=hifiberry-dacplus

You can also disable onboard audio if you're not going to use it, this sometimes helps applications find the right audio device without extra prompting:

dtparam=audio=off

 

Installation Display
If you're planning to build your own application you'll find some inspiration in examples.

But first you'll need some dependencies:

sudo apt-get update

sudo apt-get install python-rpi.gpio python-spidev python-pip python-pil python-numpy

And then you'll need the st7789 library:

sudo pip install st7789

 

For more display examples see:     https://github.com/u-geek/st7789-python/tree/master/examples

TAG: ESP32 C6 Development Board 1.28 inch LCD Display Screen 240x240 GC9A01A SD card slot Raspberry Pi DSI LCD Spotpear Industrial USB HUB USB3.2 Gen1 One-To-4U Onboard 7~36V DC power port For Multi Systems Raspberry Pi Pico Buzzer ESP32-S3 Relay 6-Channel IOT WiFi Bluetooth RS485 Pico Protection Circuits VGA to TTL DeepSeek AI Voice Chat ESP32 C6 Development Board 2.06-inch AMOLED Display 410×502 2.06inch TouchScreen Programmable Watch Core3566004032 MPS2280 POE Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board HAT Pi5 2280/2242/2230 DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 3.5 inch LCD N16R8 Touchscreen Display 6-Axis /Camera /SD ESP32 C3 LCD Development Board 1.3 inch Display Screen ST7789 240x240 3D Transparent Refractive Prism Mini TV For Arduino Raspberry Pi5 PCIe TO M.2 MINI Support Gen2 and Gen3 SSD Compatible 2230 2242 UART To WiFi ESP32-C6 Zero B Mini Wide Voltage Board Supports WiFi 6 and Bluetooth 5 XIAO RA4M1 Tiny SuperMini Board For Arduino Uno IDE For SeeedStudio R7FA4M1 1.5inch LCD ESP32-S3 AI RLCD Total Reflection Screen 4.2 inch Development Board Deepseek Changeable Photo Raspberry Pi ZERO Camera