Skip to content

Boombox documentation ​

Boombox is a Bluetooth speaker built on a Radxa ZERO 3W. A phone streams audio over Bluetooth, and the speaker plays it through an I2S DAC, a MAX98306 stereo class-D amplifier (or a TPA2012) and two 3-inch 4 Ω full-range drivers.

The speaker is set up and controlled from a web interface, which is a TYPO3 site running on the board itself. If the speaker cannot join a known Wi-Fi network, it opens its own setup network with a captive portal.

flowchart LR
    phone["📱 Phone"] -- "Bluetooth A2DP / AVRCP" --> radxa["Radxa ZERO 3W<br/>BlueZ · bluez-alsa · TYPO3"]
    radxa -- "I2S (digital)" --> dac["UDA1334A<br/>I2S DAC"]
    dac -- "line level (analog)" --> amp["MAX98306<br/>2 × 3 W class D into 4 Ω"]
    amp -- "bridge-tied" --> spk["2 × 4 Ω / 5 W<br/>3-inch full-range drivers"]
    browser["💻 Browser"] -- "Wi-Fi · http://boombox.local" --> radxa

Contents ​

The releases list every version with the files to download and what changed.

Hardware ​

DocumentWhat it covers
Bill of materialsEvery part, why it was chosen, alternatives
WiringPin-by-pin wiring with diagrams, jumper and gain settings, power budget
Assembly and first power-onBuild order, enclosure, the checks to run before the speaker plays
3D modelsThe printed parts and the FreeCAD document, in a 3D viewer

Software ​

DocumentWhat it covers
ArchitectureHow the parts fit together: agent, web app, Mercure, captive portal, security model
Device setupFlashing Armbian, the Debian package, install.sh, first boot
ConfigurationEvery setting on the device and in the web interface
DevelopmentDDEV, the simulated speaker, tests, the emulated device
StorageSD cards, USB sticks and servers (SMB, SFTP, WebDAV, FTP, S3) for the music and the recordings
BackupWhat a backup holds, scheduled backups, and restoring onto a new image
AccessibilityThe WCAG 2.2 AA target, what the specs check, patterns for new controls
Using the speakerFirst setup, pairing, Wi-Fi, settings, factory reset, the live log
Home AssistantAdding the speaker to Home Assistant, its entities, announcements, security
RecordingRecording what phones play: settings, the Recordings page, how the tap never holds up the music
MQTTThe speaker on an MQTT broker, ESPHome style: topics, entities, security
SpotifySpotify Connect, and your Spotify playlists under Playlists: connecting your account, what works, security
Backend modulesInsights (this documentation in the backend) and the Model viewer for 3D models, with Bambu Studio
Prometheus metricsThe web server, the board and the speaker for Prometheus: addresses, metrics, security, a Grafana dashboard
Advanced customizationYour own extensions on the speaker: the composer overlay, what a release does with it, when it fails, what an extension can reach
TroubleshootingSymptoms, causes and fixes, from no sound to no Wi-Fi

The short version ​

  1. Build the hardware. Follow Wiring exactly, and set the amplifier's gain to 12 dB before you connect the speakers.
  2. Flash the Boombox image (Armbian with the package installed) onto a microSD card, edit boombox.txt on it and boot the Radxa. See Device setup.
  3. Install the Debian package: sudo bash boombox-setup.sh ./boombox_<version>_all.deb on the board, or make install HOSTS=root@boombox.local from a checkout.
  4. Join the Boombox-XXXX Wi-Fi with the setup secret printed by the installer, log in, and pick your home Wi-Fi.
  5. Open http://boombox.local, choose Pair a new device, and pair your phone.