Aw st
Published © MIT

Pure-Path Audio Bridge: Bit-Perfect Hi-Fi Streamer on UNO Q

Spotify/UPnP streamer with a CRC-proven bit-exact I2S path and an AI mode where YAMNet picks the EQ. UNO Q + a $5 DAC.

AdvancedWork in progress20 hours65
Pure-Path Audio Bridge: Bit-Perfect Hi-Fi Streamer on UNO Q

Things used in this project

Hardware components

Arduino UNO Q
Arduino UNO Q
QRB2210 (Debian) + STM32U585; 13×8 LED matrix used as VU meter
×1
PCM5102A I2S DAC module (GY-PCM5102)
jumpers FLT=L, DEMP=L, XSMT=H, FMT=L; SCK tied to GND
×1
Jumper wires (generic)
Jumper wires (generic)
keep under 10 cm
×6
Breadboard (generic)
Breadboard (generic)
just holds the module
×1
USB Cable, USB Type C Plug
USB Cable, USB Type C Plug
powers board and DAC
×1
Headphones / amp with line-in
volume is set here, not in software
×1

Software apps and online services

Zephyr RTOS
Zephyr Project Zephyr RTOS
STM32 firmware: SAI2 master, LPUART1 DMA, matrix; board arduino_uno_q/stm32u585xx
Debian Linux
13 (trixie) on the QRB2210
librespot
0.8.0, Spotify Connect → pipe backend, MIT
Music Player Daemon (MPD)
FIFO output 44100:16:2, soxr, GPL-2.0
upmpdcli
UPnP/DLNA renderer for MPD, GPL-2.0
Python 3
3.13; NumPy 2.2.4, SciPy 1.15.3
TensorFlow Lite / LiteRT (ai-edge-litert)
2.2.0, runs YAMNet
YAMNet
audio classifier, Apache-2.0 — picks the EQ preset
Spotify
source (Connect)
BubbleUPnP (Android)
UPnP control point for FLAC casting
OpenOCD + GDB
flashing over bit-banged SWD via arduino-debug and adb

Hand tools and fabrication machines

Phone tuner app
confirmed 440 Hz test tone → clock accuracy
Multimeter
continuity check on the six wires

Story

Read more

Schematics

PCM5102A ↔ UNO Q wiring (SAI2 Block A, 6 wires)

Wiring photo

Code

pure-path-audio-bridge

A Hi-Fi network audio streamer on the Arduino UNO Q: Spotify Connect, UPnP/DLNA and local FLAC on the Linux side (Qualcomm QRB2210), a custom Zephyr firmware on the STM32U585 driving a PCM5102A DAC over I2S, and a CRC-32 at both ends of the link that proves the path is bit-exact.

Credits

Aw st
2 projects • 0 followers

Comments