Skip to content

Bill of materials ​

Core parts ​

#PartQtyNotes
1Radxa ZERO 3W, 2 GB RAM or more1RK3566. Wi-Fi 6 and BT 5.4 come from an AIC8800 module on recent revisions. eMMC versions work too.
2Adafruit UDA1334A I2S stereo decoder (#3678; pins VIN, 3VO, GND, WSEL, DIN, BCLK, LOUT, AGND, ROUT)1Turns the Radxa's digital I2S output into a line-level analog signal for the amplifier, and has a 3.5 mm jack for headphones or active speakers, switched in the web interface. Required: the Radxa ZERO 3W has no analog audio output. Install with --dac=uda1334a.
3MAX98306 stereo class-D amplifier, Adafruit #987 ("Stereo 3.7W Class D Audio Amplifier")13.7 W/channel into 3 Ω at 5 V (about 3 W into 4 Ω), analog inputs, one shutdown pin SD (high = on), gain 6–18 dB by jumper (ships at 9 dB; 12 dB with the UDA1334A).
3bor TPA2012 stereo class-D amplifier, e.g. Adafruit #15521Still works, with the same wiring otherwise: 2.1 W/channel into 4 Ω at 5 V, analog differential inputs, gain 6/12/18/24 dB set by pins G0/G1, shutdown pins SDL/SDR. See Wiring.
4ANGGREK full-range drivers ("Breitbandlautsprecher"), 3 inch, 4 Ω, 5 W (Amazon B0FVR8PDLH)23-inch (about 76 mm) drivers, rated 5 W at 4 Ω: more than either amplifier delivers at 5 V, so the drivers are never overdriven by power alone. Measure the drivers, or check the listing, for the cutout and depth before you design the enclosure.
5microSD card, 16 GB or more, A1/A2 class1Holds Armbian. A fast card noticeably shortens boot and deploy times. On a board with eMMC, see Booting from eMMC.
65 V / 3 A USB-C power supply1It feeds the Radxa and, through the header, the DAC and the amplifier. See the power budget in Wiring.

Optional parts ​

PartQtyNotes
Waveshare 2.13" e-Paper HAT (board Rev2.1, 250 × 122)1Shows what plays, the volume and the knob's menu. Stacks on the header (SPI3, three GPIOs), next to the DAC. Install with --epaper= and the version printed on the back of the panel (ours is a V3: --epaper=v3). It keeps its picture without power. See Wiring.
KY-040 rotary encoder module (with push switch), or a bare EC11 encoder1Works the display: turn for the volume, press to play or pause, hold for the menu. Needs the display. "+" to 3.3 V, never 5 V. Install with --knob=on (--knob-steps=2 for an encoder that clicks twice per cycle). See Wiring.
Momentary push button (Back)1Optional with the knob: goes back in the menu with one press. Between header pin 32 and GND.
2.4/5 GHz antenna with a U.FL connector1Helps inside a box. Install with --antenna=external, and only with an antenna attached: without one, Wi-Fi and Bluetooth go deaf.
Micro-HDMI to HDMI cable1To play through a TV and show the speaker's pages on it. Install with --hdmi=always --tv=on, with the TV on. See Device setup.

Wiring and small parts ​

PartQtyNotes
Dupont jumper wires, female–female, 10–15 cm~12Header to DAC and to amplifier; about 6 more for the encoder and the Back button.
Speaker wire, 0.5 mm² (20 AWG), red/black~1 mAmplifier to drivers. Keep the runs short.
Electrolytic capacitor, 470–1000 µF / 10 V1Across the amplifier's VDD/GND, right at the board. It catches the current peaks of loud bass so the Radxa does not brown out.
Ceramic capacitor, 100 nF1Across the DAC's VIN/GND (optional; most modules have one).
Pin headers, 0.1"as neededFor the DAC and amplifier boards if they come unsoldered.
Solder, flux, a soldering iron with a fine tipFor the pin headers and the amplifier's gain jumper or pins.
Heat-shrink tubingFor the speaker wire joints.
Ceramic capacitors, 10 nF2Optional, with long encoder wires: from the encoder's A and B to GND, to calm the contacts.

Enclosure ​

PartNotes
Box with two sealed chambers, one per driverA full-range driver needs a sealed volume behind it, or the bass cancels itself out. 3-inch full-range drivers usually want somewhat more than the 0.3–0.5 l per chamber that suited smaller drivers: check the driver's data, if the seller gives it, before you fix the size. 3D-printed, MDF or plywood all work.
Acoustic damping material (polyester wadding)Fill each chamber loosely.
Gasket tape or siliconeSeal the drivers airtight against the front panel.
A separate dry compartment for the electronicsKeep the boards out of the speaker chambers: the air pressure and vibration there are hard on solder joints.
Vent holes or a small slot for the electronics compartmentThe RK3566 gets warm under load.
Antenna clearanceKeep the Radxa's Wi-Fi/BT antenna away from metal and from the speaker magnets. A non-metal enclosure is strongly preferred. An external U.FL antenna (see Optional parts) helps inside a box.
A window for the display, a hole for the knobOnly with the e-Paper HAT and the encoder. The HAT has no pass-through header: the encoder's wires are soldered under the header, or the display goes on its 8-pin cable instead of being stacked.

Booting from eMMC ​

The Radxa reads its microSD card at 50 MHz (about 30 MB/s). Most of the time between power-on and a phone being able to connect goes into reading from it: PHP alone takes half a second from a cold card. The eMMC on boards that have one runs in HS200 mode and is several times faster.

On the same speaker, phones could connect 12.6 s after the kernel started instead of 17.9 s, and the web interface answered at 17.4 s instead of 31.4 s (see the boot order).

Moving Armbian from the card to the eMMC is up to you; this project has no script for it. Armbian's armbian-install does it in its menu: choose "Boot from eMMC - system on eMMC". Without the menu, armbian-config does it (Armbian v25.11's armbian-install takes no options), with the speaker's services stopped so its database copies cleanly:

bash
systemctl stop boombox-frankenphp boombox-agent
armbian-config --api module_partitioner --target /dev/mmcblk0 --boot emmc --fs ext4 --yes

Then power off, remove the card and boot again. findmnt / shows /dev/mmcblk0p1 once the speaker runs from the eMMC. Keep the card: put back in, it boots the old system.

Why this combination ​

  • I2S → UDA1334A → MAX98306. The DAC needs no master clock, no I2C setup and no jumpers, and Linux drives it through the generic pcm5102a codec driver. Its jack lets the speaker play on headphones too. The MAX98306 is a class-D amplifier that runs from the same 5 V. It has one shutdown pin for both channels, which the speaker uses to switch the amplifier off when idle. The TPA2012 does the same job with less power and two shutdown pins.
  • 4 Ω drivers. Both amplifiers give more power into 4 Ω than into 8 Ω: the MAX98306 about 3 W per channel, the TPA2012 2.1 W (1.4 W into 8 Ω). The ANGGREK drivers are rated 5 W, so neither amplifier can overload them by power alone.