• 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: Metal Case Raspberry Pi Camera MPS2280D Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2280 ESP32 C3 Jetson RTL8822CE 5GHz WiFi Wireless Bluetooth5 Card NGFF-M.2 RTL8822CE-CG Core OPS Computer X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board ESP32 S3 Development Board 2.8 inch B LCD 2.8inch Display 480x640 TouchScreen QMI8658 Sensor / Battery Port LVGL/HMI For Arduino Raspberry Pi 7 inch DSI MIPI LCD TouchScreen Display 7inch 720x1280 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 Raspberry Pi Pico 2 RP2350B RP2350-PiZero Development Board PSRAM DVI For HDMI Raspberry Pi PICO LuckFox Raspberry Pi UGV Beast ROS2 PT AI OpenCV Robot Car MediaPipe EyeLink-RC-S1 Industrial Edition 5.5 inch Touchscreen Camera R1M Card Recording Flight Controller FPV Drone ground station image transmission remote Industrial RS485 Modbus RTU Relay ESP32 C3 1.44inch LCD Luckfox PicoKVM KVM NanoKVM RV1106 Pico Remote Control /Power /Desktop Maintenance Server HDMI USB For PiKVM Raspberry Pi Sipeed RISCV LicheeRV Nano Super-Mini SG2002 AI RAM-256MB Raspberry Pi Pico 2 RP2350 1.43 inch AMOLED TouchScreen Development Board 466x466 1.43inch Display QMI8658 6-Axis | PCF85063 RTC | SD | Battery Port Raspberry Pi 5 Cooling