Skip to the content
2 layers76.3 × 41.5 mmAudio breakout, the printed circuit board in 3D

Audio breakout

brucemack/sdr2

This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

Size
76.3 × 41.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
46
Nets
41
Pads
152
Tracks, vias
277, 37
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
3 Jan 2025
Updated
2 Jun 2025

Overview

Audio breakout is an open-source printed circuit board by brucemack, from the brucemack/sdr2 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 76.3 × 41.5 mm with 46 parts on 41 nets, routed with 277 tracks and 37 vias.

It is built around the PCM5100PW. Its parts include 19 capacitors, 5 connectors, 2 resistors, 2 ICs and 1 inductor. It belongs with the audio and music and interfaces and adapters boards of this library.

Main components

1

README

README.md

Overview

This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

System Picture

Build/Debug Commands

One-time setup of make process:

text
    git submodule update --init
    mkdir build
    cd build
    cmake -DPICO_BOARD=pico2 ..

Command used to flash code to board:

text
    ~/git/openocd/src/openocd -s ~/git/openocd/tcl -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" -c "rp2350.dap.core1 cortex_m reset_config sysresetreq" -c "program main.elf verify reset exit"

Pico 2 Pinout Notes

text
GP0  - (Reserved for UART0 TX)
GP1  - (Reserved for UART0 RX)

GP2  - 
GP3  - 
GP4  - I2S SCK out to PCM1804 ADC and PCM5100 DAC
GP5  - RST out to PCM1804 ADC

GP6  - I2S DIN in from PC1804 ADC
GP7  - I2S BCK out to PC1804 ADC
GP8  - I2S LRCK out to PC1804 ADC
GP9  - I2S DOUT out to PCM5100 DAC

GP10 - I2S BCK out to PCM5100 DAC
GP11 - I2S LRCK out to PCM5100 DAC
GP12 - User button input 0
GP13 - User button input 1
GP14 - PTT input 
GP15 - 
GP16 - I2C0 SDA for Si5351 (Addr 0x60)
GP17 - I2C0 SCL for Si5351 (Addr 0x60)

GP18 - I2C1 SDA for display and IO expander
GP19 - I2C1 SCL for display and IO expander

IO Expander Notes

text
P0 - User indicator LED output
P1 - Audio amplifier enable (Low=enable output, high=shutdown amplifier)
P2 - ADC Input Select (Low=Microphone preamp out, High=QSD channel out)
P3 - TX band select 0
P4 - TX band select 1
P5 - RX band select 0
P6 - RX band select 1
P7 - Transmit PA enable (active low)

Wiring Notes

  • TXRX board I_PLUS (J4:1) -> Audio Breakout INL_PLUS (J4:1)
  • TXRX board I_MINUS (J4:2) -> Audio Breakout INL_MINUS (J4:2)
  • TXRX board Q_PLUS (J4:3) -> Audio Breakout INR_PLUS (J4:4)
  • TXRX board Q_MINUS (J4:5) -> Audio Breakout INR_MINUS (J4:3)
  • Microphone input is connected to the INL_PLUS/INL_MINUS pins on the audio breakout board.

Hardware Notes

Instrumentation Amplifiers on Receive Board

See Horowitz and Hill (3rd ed, section 5.16, figure 5.88) for a description of the instrumentation amplifier configuration used on the receive board. Gain for this amplifier is controlled determined by 1 + 2 Rf / Rg. Notice that the feedback path is tapped after a 47 ohm resistor to set the output impedance of the stage.

Assuming Rf is 520, Rg is 100, the theoretical gain is about 11.

Random

dBm = 30 + 20 * log(Vrms/sqrt(Z0))

Research

Consider the PCM1863 ADC?

Consider the TS5A4624 analog switch (logic high = 2.4V w/ 5V supply)

Consider PCF8574A IO expander: https://www.ti.com/lit/ds/symlink/pcf8574a.pdf?ts=1728869550852&ref_url=https%253A%252F%252Fwww.mouser.com%252F

RF Transistor: https://www.nxp.com/docs/en/data-sheet/BFU590G.pdf

References

PCM1804 Datasheet PCM5100 Datasheet

Steps to Build CMSIS-DSP

The library gets built once in a parallel project:

text
    cd ~/pico
    mkdir CMSISDSP
    cd CMSISDSP
    git clone https://github.com/ARM-software/CMSIS-DSP.git        
    git clone https://github.com/ARM-software/CMSIS_6.git
    cp $PICO_SDK_PATH/external/pico_sdk_import.cmake .

Then setup the CMakeLists.txt shown below and build:

text
    mkdir build
    cd build
    # IMPORTANT! pico2 build enables the generation of FPU instructions
    cmake -DPICO_BOARD=pico2 ..
    make -j4

What the CMakeLists.txt looks like:

text
cmake_minimum_required (VERSION 3.6)

# Pull in Pico SDK (must be before project)
include(pico_sdk_import.cmake) 

set(HOME $ENV{HOME})
set(CMSISDSP ${HOME}/pico/CMSISDSP/CMSIS-DSP)
set(CMSISCORE ${HOME}/pico/CMSISDSP/CMSIS_6/CMSIS/Core)

# Define the project
project (cmsis-dsp VERSION 0.1)

# Initialise the Pico SDK
pico_sdk_init()

add_subdirectory(${CMSISDSP}/Source bin_dsp)

target_compile_options(CMSISDSP PUBLIC 
    -Wsign-compare
    -Wdouble-promotion
    -Ofast -ffast-math
    -DNDEBUG
    -Wall -Wextra  -Werror
    -fshort-enums 
    #-fshort-wchar
)

Example of referencing the built CMSIS-DSP library in a client project:

text
set(HOME $ENV{HOME})
target_include_directories(main PRIVATE
  ${HOME}/pico/CMSISDSP/CMSIS-DSP/Include
  ${HOME}/pico/CMSISDSP/CMSIS_6/CMSIS/Core/Include
)
target_link_libraries(main
  pico_stdlib
  ${HOME}/pico/CMSISDSP/build/bin_dsp/libCMSISDSP.a
)

License

SDR2 Rig - Copyright (C) Bruce MacKinnon KC1FSZ, 2025

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

FOR AMATEUR RADIO USE ONLY. NOT FOR COMMERCIAL USE WITHOUT PERMISSION.

Parts

46
QtyValueFootprintReferences
10SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP1, JP2, JP3, JP4, JP8, JP9, JP10, JP11, JP12, JP13
40.1uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC11, C14, C17, C19
40.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C4, C7
410uCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC10, C13, C16, C18
4MountingHoleMountingHole:MountingHole_3.5mmH1, H2, H3, H4
3SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP5, JP6, JP7
21uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC12, C15
22.2nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC8, C9
22.2uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C5
2470Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4, J5
110uFCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC6
147uInductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolderL1
1Conn_01x03Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ1
1Conn_01x04Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ2
1Conn_01x05Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ3
1PCM1804DBRPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU2
1PCM5100Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU1

More from brucemack/sdr2

6
  • 4 layers70 × 100 mmTxrx-1, the printed circuit board in 3D

    Txrx-1

    brucemack/sdr2

    This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

    98 partsGPL-3.0
  • 2 layers68 × 41 mmTx-1, the printed circuit board in 3D

    Tx-1

    brucemack/sdr2

    This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

    55 partsGPL-3.0
  • 2 layers60.3 × 46.5 mmKc1fsz rx6, the printed circuit board in 3D

    Kc1fsz rx6

    brucemack/sdr2

    This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

    54 partsGPL-3.0
  • 2 layers50 × 80 mmUtil-1, the printed circuit board in 3D

    Util-1

    brucemack/sdr2

    This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

    46 partsGPL-3.0
  • 2 layers25 × 70 mmBpf-1, the printed circuit board in 3D

    Bpf-1

    brucemack/sdr2

    This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

    31 partsGPL-3.0
  • 2 layers34.8 × 29 mmKc1fsz rx7, the printed circuit board in 3D

    Kc1fsz rx7

    brucemack/sdr2

    This is a homebrew SDR rig with no dependency on external computers/soundcards/etc.

    18 partsGPL-3.0

Similar boards

  • 4 layers102.9 × 96.7 mmPicoGUS chipdown, the printed circuit board in 3D

    PicoGUS chipdown

    polpo/picogus

    Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support

    99 parts805
  • 4 layers56 × 87.8 mmPicogus104, the printed circuit board in 3D

    Picogus104

    UzixLS/picogus104

    PicoGUS sound card for PC/104 interface

    114 parts23
  • 4 layers47.1 × 33.5 mmGamePad I2S audio, the printed circuit board in 3D

    GamePad I2S audio

    intergalaktik/Extension_Boards_for_Olimex_GateMate

    Simple extension boards for Olimex GateMate FPGA Board

    85 parts20
  • 2 layers71.8 × 26 mmDac attack, the printed circuit board in 3D

    Dac attack

    saybur/dac-attack

    S/PDIF to line-level audio board for use with retro computer device emulators, such as ZuluSCSI and friends.

    69 parts5CERN-OHL-S-2.0
  • 4 layers49.8 × 106.5 mmWaves, the printed circuit board in 3D

    Waves

    marangisto/Waves

    Cordic Accelerated Voltage Controlled Oscillator

    154 parts4MIT
  • 4 layers125.8 × 48 mmBLUETOOTH SPEAKER, the printed circuit board in 3D

    BLUETOOTH SPEAKER

    mbeayou/esp32-hifi-bluetooth-speaker-pcb-board

    A custom high-fidelity Bluetooth speaker PCB featuring the ESP32 (I2S), PCM5100 DAC, and TPA3116D2 Class D Amplifier. Includes Schematics, Gerber files, and BOM.

    115 parts3MIT
  • 2 layers250 × 116 mmMIDI Board, the printed circuit board in 3D

    MIDI Board

    arghya-v/Mini-MIDI-Magic

    A midi controller I made using KICad

    55 parts

Questions

How big is the Audio breakout PCB?

It measures 76.3 × 41.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Audio breakout use?

46 parts, built around the PCM5100PW. 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 Audio breakout KiCad files?

From the brucemack/sdr2 repository on GitHub, at the commit this page was made from: the board is hw/audio-breakout/audio-breakout.kicad_pcb and its schematic hw/audio-breakout/adc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Audio breakout design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).