

Base board
Banana pi cm4io class D amp board based on MAX98397
- Size
- 76.2 × 50.8 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 23
- Nets
- 157
- Pads
- 313
- Tracks, vias
- 293, 146
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 5 Oct 2026
- Updated
- 7 Nov 2026
Overview
Base board is an open-source printed circuit board by AMuszkat, from the AMuszkat/bpi_amp_platform repository on GitHub. It is a 2-layer board of 76.2 × 50.8 mm with 23 parts on 157 nets, routed with 293 tracks and 146 vias.
It is built around the TPD1E10B06QDPYRQ1, 10152803-00011LF and C0402C102J5GAC. Its parts include 10 capacitors, 5 diodes, 4 connectors and 2 resistors. It belongs with the audio and music boards of this library.
Main components
3TPD1E10B06QDPYRQ1
DFN1006-2-55℃~+125℃ 12.5V 15pF 500nA 5V 6V 80W@8/20us ESD IEC 61000-4-2、IEC 61000-4-5 DFN1006-2 ESD and Surge Protection (TVS/ESD) ROHSLeiditechESD And Surge Protection (TVS/ESD)10152803-00011LF
SMDSMD USB Connectors ROHSAmphenolUSB ConnectorsC0402C102J5GAC
04021nF 50V C0G ±5% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHSKEMETMultilayer Ceramic Capacitors MLCC - SMD/SMT
README
README.mdBPI AMP Platform


The BPI AMP Platform is an autonomous, agentic platform for audio streaming, loudspeaker tuning and digital signal processing (DSP). It is an open hardware and software stack for building and tuning custom active loudspeakers, and its software is developed, tested and deployed by a team of AI agents working under the direction of a person.
Each loudspeaker contains a BananaPi BPI-CM4 compute module on two purpose-built boards. The speaker receives music over the network, applies its own tuning in real time, and drives a woofer and a tweeter through two MAX98397 class-D amplifiers. Two speakers form a stereo pair, tuned together from a single desktop application.
Autonomous development
The platform is built by specialised AI agents, each responsible for one part of the stack:
the audio plugins, the speaker's audio engine, the controller application, the board
software, and the pictures of the project. A person sets the goal and approves the result. An
orchestrator agent plans the work, runs the specialists in parallel, merges their changes and
has a reviewer agent read them; a failed test or a review comment goes back to the agent that made the change. Every change is tested on two virtual speakers running on one
computer before it is published, and again by continuous integration. A board operations agent
installs the result on the real speakers and checks them. Safeguards apply throughout: no
private data enters the repository, nothing reaches the main branch without review, and a lab
lock keeps the agents away from the boards while they are on the bench. The agents, their
rules and their tools are described in CLAUDE.md and
docs/autonomous-development.md.
Overview
Music is played as usual, from a computer or a phone; the speakers take care of the rest.

- Network streaming. Snapcast streams the music to both speakers in sync. AirPlay is also supported, through shairport-sync.
- Processing in each speaker. Each speaker processes its own channel. Its audio engine,
speakerd, runs a chain of plugins: a correction filter, a crossover that divides the signal between the woofer and the tweeter, and a loudness contour. A speaker keeps playing from the settings stored on it, with no network or controller connected. - Tuning from a computer. The controller application works like a familiar plugin host:
plugins are added, connected and adjusted in their own editors, and both speakers follow
within milliseconds. The settings are kept on the speakers, not in the application. The
ampdservice on the left speaker acts as the hub that keeps the pair in step; the right speaker applies what the hub sends. Level meters are read directly from each speaker. - Filters from measurements. A set of Python tools measures each driver and designs the crossover and correction filters, which are then built into the plugins.
Inside a speaker
Each speaker runs a layered stack: the platform's applications and PipeWire in user space, the Linux audio drivers in the kernel, and the hardware beneath them.

The diagrams on this page are generated from docs/diagrams/.
Software modules
| Module | Purpose | Runs on | Location |
|---|---|---|---|
| Measurement and tuning tools | Measure a speaker's drivers, design its filters and export them for the plugins | the development computer (Python) | dsp/python_dsp_tools |
| Audio plugins | crossover, firConv (correction), loudness and ampScope. The first three are each built in three variants from one source: complete, control (the editor only) and headless (the signal processing only) | the speakers (headless), the controller (control) | dsp/juce_plugins |
speakerd | The speaker's audio engine: hosts the plugin chain inside PipeWire, from the settings stored on the speaker | each speaker | dsp/juce_apps/speakerd |
ampd | The speaker's network service: stores and applies its settings; on the left speaker, also the hub of the pair | each speaker | firmware/ampd |
| Controller | The desktop application for tuning the pair through the hub | the listener's computer | dsp/juce_apps/controller |
| PipeWire and Snapcast | The speaker's audio server, and the network stream that feeds it | each speaker | firmware/pipewire, firmware/snapcast-setup.sh |
| Kernel support | Device tree, kernel configuration, and the amplifier and sound-card drivers | each speaker | firmware |
| Installers | setup.sh installs the audio software of a speaker, one component at a time | the development computer, or the speaker | firmware/setup.sh |
The controller, ampd and speakerd communicate through the protocol described in
docs/protocol.md. The overall design is described in
docs/remote-plugin-host.md.
![]() | ![]() |
| Tuning tool: driver responses, the crossover sum and the corrected output, with every filter parameter adjustable live. | The loudness plugin in the controller: the plugin's own editor, acting as a remote control for both speakers. |
Project status
The first three steps of the roadmap are complete and tested: the plugins in their three
variants, the speakerd audio engine, and the controller with the hub. Every test run checks
them against a pair of virtual speakers. On 1 November 2026 the platform was first installed
on a real board, which now starts speakerd at boot and plays the music Snapcast streams to it.
Running ampd and the controller on real boards is the next stage of that installation. Step 4
of the roadmap (oscilloscope data, a catalogue of the plugins on each speaker, and several
controllers at once) is next. tools/roadmap.py reports the current state.
Hardware
The platform uses two boards joined by a board-to-board connector: a base board that
carries the BPI-CM4 module, with a USB-C port and a debug serial port, and a speaker amp
board with the two MAX98397 amplifiers, a boost converter for their supply and a 5 V
regulator for the rest of the system. The KiCad projects and their details are in
hardware/.
The picture alternates between a render of the KiCad projects
(hardware/render/) and a photograph of the boards as built
(all.jpeg).
Firmware
The board runs Armbian Linux with this repository's device tree, kernel configuration and
amplifier drivers, and PipeWire as its audio server. firmware/setup.sh installs the audio
software of a speaker, either from the development computer or on the board itself. The
bring-up procedure and the installers are described in firmware/.
Development
All development and testing, apart from work on the boards themselves, takes place on a Linux x86_64 computer with no board attached. Only Podman and git are required: the builds and the tests run in a development container with the same PipeWire version as the boards.
git clone --recurse-submodules https://github.com/AMuszkat/bpi_amp_platform
cd bpi_amp_platform
tools/test.sh all # the complete test suite
tools/test.sh changed # while working: the checks that cover the files changed
tools/build.sh loudness # build one plugin or application into build/
tools/container.sh # open a shell in the development containerThe first run builds the container image and the JUCE framework, which takes a few minutes.
A focused check then takes between a few seconds and two minutes, and the complete suite about
two minutes. For a board, tools/build.sh speakerd aarch64 cross-compiles into
build/aarch64/, and firmware/setup.sh --mode target-remote installs the result. Run
tools/test.sh all before installing on a board: nothing enforces it.
The Python measurement and tuning tools have their own quick start in
dsp/README.md. The development process, including the test levels, the
development agents and continuous integration, is described in CLAUDE.md and
docs/autonomous-development.md.
Repository layout
| Directory | Contents |
|---|---|
hardware | KiCad projects: the base board and the amplifier board |
firmware | Device tree, kernel configuration, amplifier drivers, PipeWire configuration, the installers and ampd |
dsp | Measurement and tuning tools, the JUCE plugins, speakerd, the controller and the plugin test tool |
docs | The system design, its protocol, the block FIR filter, the development setup and the diagrams |
tests/vpair | Two virtual speakers on one computer, for development and testing without boards |
tools | Build, test, container and board scripts |
License
The software under dsp/ is free software, licensed under the GNU Affero General Public
License v3.0; see dsp/LICENSE.
Parts
23| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 100nF | speaker_global_library:C_0402_1005Metric | C1, C4, C7 |
| 3 | 1uF | speaker_global_library:C_0603_1608Metric | C2, C5, C8 |
| 3 | 22uF | speaker_global_library:C_0805_2012Metric | C3, C6, C9 |
| 3 | ~ | speaker_global_library:SOD-523 | D1, D4, D5 |
| 2 | 4.7k | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | ~ | Package_SON:Texas_DPY0002A_0.6x1mm_P0.65mm | D2, D3 |
| 1 | speaker_global_library:CONN_DF40HC-100DS_HIR_v1_1 | J2 | |
| 1 | 10152803-00011LF | speaker_global_library:AMPHENOL_10152803-00011LF | J5 |
| 1 | 1nF | speaker_global_library:C_0402_1005Metric | C10 |
| 1 | CONN_2x23PIN | speaker_global_library:SAMTEC_SSW-123-01-T-D | J_MAIN1 |
| 1 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_Vertical | J3 |
| 1 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J_LIN_DEB1 |
| 1 | ~ | speaker_global_library:CONN_DF40HC-100DS_HIR_v1_1 | J1 |
More from AMuszkat/bpi_amp_platform
1- 4 layers76.2 × 50.8 mm

Similar boards
- 4 layers40 × 40 mm

Tmc5160-usb
janelia-kicad/tmc5160-usb
A stepper controller and driver board combining a TMC5160 and RP2040.
103 parts - 4 layers65 × 100 mm

- 2 layers18.3 × 5 mm

StrainGauge
m0tei/StrainGauge
A very small analog amplifier board for a full-bridge strain gauge on a carbon rod. It powers the bridge, amplifies the tiny bridge signal by about 151, filters it, and sends one analog voltage to an ADC.
22 parts - 2 layers65 × 56 mm

- 2 layers14 × 100 mm

Yunomi
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
23 parts3kApache-2.0 - 2 layers50.8 × 52.2 mm

- 2 layers138.8 × 89.8 mm

- 2 layers32.9 × 53.3 mm

Questions
How big is the Base board PCB?
It measures 76.2 × 50.8 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Base board use?
23 parts, built around the TPD1E10B06QDPYRQ1, 10152803-00011LF and C0402C102J5GAC. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Base board KiCad files?
From the AMuszkat/bpi_amp_platform repository on GitHub, at the commit this page was made from: the board is hardware/base_board/base_board.kicad_pcb and its schematic hardware/base_board/base_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Base board design in my own project?
Its repository states no licence, so its author keeps all rights: ask AMuszkat before reusing the design.

