Skip to the content
2 layers52.5 × 42 mmPico2-test mule, the printed circuit board in 3D

DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)

Size
52.5 × 42 mm
Copper layers
2
Thickness
1.6 mm
Parts
71
Nets
86
Pads
271
Tracks, vias
696, 71
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
11 Jan 2025
Updated
7 Nov 2026

Overview

Pico2-test mule is an open-source printed circuit board by mikesmitty, from the mikesmitty/rp24-dcc-decoder repository on GitHub. It is a 2-layer board of 52.5 × 42 mm with 71 parts on 86 nets, routed with 696 tracks and 71 vias.

It is built around the AP63203WU, MAX98357AEWL+T and MD9927, with the SS8050, DMN2991UDA-7B and LMBR4020H3T5G among its other parts. Its parts include 21 diodes, 14 resistors, 13 transistors, 9 capacitors and 5 ICs. It belongs with the RP2040 and RP2350 boards of this library.

Main components

10

README

README.md

rp24-dcc-decoder

DIY DCC decoder for model railroad locomotives in an E24 form factor suitable for N scale/gauge locomotives

decoder top decoder bottom

decoder on USB programmer Decoder identifying to JMRI

Features

  • 8x MOSFET-switched functions
  • 5x GPIO pins (3.3V input/output)
  • Up to 0.75A motor current
  • E24 form factor (approx 20mm x 9mm)
  • i2s audio speaker output
  • 12V nominal rail voltage (16V max)

USB Programmer/E24 Tester

programmer top

  • USB-C port for easy programming and loading sound files
  • Onboard LEDs for all aux outputs for simple decoder testing
  • Breakout header for most E24 pins, including speaker, motor, rectified rail power, Vcc, plus all five E24 GPIO pins (Aux 3, 4, 10, 11, 12)
  • Programming track input header allows for stationary decoder testing and CV programming

RP24 Decoder Pinout

E24 PinFunctionGPIO Pin
1Speaker-USB D-
2Speaker+USB D+
3GNDGND
4-5Motor-N/A
6-7Motor+N/A
8Cap+GPIO20
9Lamp FrontGPIO6 (MOSFET)
10Lamp RearGPIO7 (MOSFET)
11AUX1GPIO8 (MOSFET)
12AUX2GPIO5 (MOSFET)
13AUX8GPIO4 (MOSFET)
14AUX7GPIO3 (MOSFET)
15AUX6GPIO9 (MOSFET)
16AUX5GPIO2 (MOSFET)
17U+DC Rail Voltage
18Vcc3.3V
19AUX10GPIO10
20AUX4GPIO13
21AUX3GPIO14
22GNDGND
23AUX11GPIO0
24AUX12GPIO1
N/AMotor Driver AGPIO25
N/AMotor Driver BGPIO26
N/ABack EMF AGPIO28
N/ABack EMF BGPIO29
N/ADCC signal Left RailGPIO21
N/ADCC signal Right RailGPIO27
N/ARailCom OutGPIO11
N/AStatus LEDGPIO19
N/Ai2s DINGPIO22
N/Ai2s BCLKGPIO23
N/Ai2s LRCLKGPIO24
N/ACharge external keepalive capacitor (PWM at very low duty cycle only)GPIO20

E24 Receiver/Wire Breakout Board

receiver top receiver bottom

Receiver Board Solder Pads

E24 PinFunctionLabel
1Speaker-SPK
2Speaker+SPK
3GNDG
4-5Motor-- MOTOR +
6-7Motor+- MOTOR +
8External Capacitor+C
9Lamp FrontF LAMP R
10Lamp RearF LAMP R
11AUX11
12AUX22
17DC Rail VoltageRV
18Microcontroller Voltage OutputVcc
19AUX1010
20AUX44
21AUX33
22GNDG
23AUX1111
24AUX1212

Inspired by the rp2040-decoder project by gab-k: https://github.com/gab-k/RP2040-Decoder

Reference:

E24

RailCom

View this project on CADLAB.io.

Parts

71
QtyValueFootprintReferences
76.8Kpico2-test-mule:R_0402_1005MetricR1, R9, R10, R11, R13, R15, R16
5SS8050pico2-test-mule:SOT-23Q2, Q3, Q5, Q6, Q8
41Kpico2-test-mule:R_0402_1005MetricR2, R4, R12, R14
4DMN2991UDA-7Bpico2-test-mule:X2-DFN0806-6_L0.8-W0.6_X2-DFN0806-6Q10, Q11, Q12, Q13
4LMBR4020H3T5Gpico2-test-mule:U-DFN1608-2_L1.6-W0.8-RDD1, D2, D7, D8
3100nFpico2-test-mule:C_0402_1005MetricC1, C3, C10
3R_Pack04pico2-test-mule:R_Array_Concave_4x0402RN1, RN2, RN3
24.7uFpico2-test-mule:C_0402_1005MetricC7, C9
2AP1606pico2-test-mule:Diodes_DFN1006-3Q1, Q4
2BZT52C3V3Spico2-test-mule:D_SOD-323D20, D21
2NST847BPDP6T5Gpico2-test-mule:SOT-963Q7, Q9
2RB161QS-40pico2-test-mule:DIO-SMD_L1.0-W0.6-P0.65-RDD13, D18
1100Rpico2-test-mule:R_0402_1005MetricR7
1100uFpico2-test-mule:C_1206_3216MetricC5
110uFpico2-test-mule:C_0603_1608MetricC2
12.2Kpico2-test-mule:R_0402_1005MetricR3
122Rpico2-test-mule:R_0402_1005MetricR8
122uFpico2-test-mule:C_0603_1608MetricC4
14.7uHpico2-test-mule:IND-SMD_L2.5-W2.0-VLS252012CX-150ML1
147uFpico2-test-mule:C_1206_3216MetricC8
1AP63203WUpico2-test-mule:TSOT-26_L2.9-W1.6-P0.95-LS2.8-BLU2
1AUXpico2-test-mule:PinHeader_1x05_P2.54mm_VerticalJ3
1AUX1pico2-test-mule:LED_0603_1608MetricD5
1AUX10pico2-test-mule:LED_0603_1608MetricD16
1AUX11pico2-test-mule:LED_0603_1608MetricD17
1AUX12pico2-test-mule:LED_0603_1608MetricD19
1AUX2pico2-test-mule:LED_0603_1608MetricD6
1AUX3pico2-test-mule:LED_0603_1608MetricD9
1AUX4pico2-test-mule:LED_0603_1608MetricD10
1AUX5pico2-test-mule:LED_0603_1608MetricD11
1AUX6pico2-test-mule:LED_0603_1608MetricD12
1AUX7pico2-test-mule:LED_0603_1608MetricD14
1AUX8pico2-test-mule:LED_0603_1608MetricD15
1LAMP_FRONTpico2-test-mule:LED_0603_1608MetricD3
1LAMP_REARpico2-test-mule:LED_0603_1608MetricD4
1MAX98357AEWL+Tpico2-test-mule:TQFN-16_L3.0-W3.0-P0.50-BL-EP1.5U4
1MD9927pico2-test-mule:WDFN-8_L2.0-W2.0-P0.50-BL-EPU5
1MOTORpico2-test-mule:PinHeader_1x02_P2.54mm_VerticalJ4
1NCS2220AMUT1Gpico2-test-mule:DFN-8_L1.6-W1.6-P0.40-BL-EPU1
1PICOpico2-test-mule:RaspberryPi_Pico_Common_THTU3
1POWERpico2-test-mule:PinHeader_1x04_P2.54mm_VerticalJ2
1SPEAKERpico2-test-mule:PinHeader_1x06_P2.54mm_VerticalJ1
1VCCpico2-test-mule:PinHeader_1x02_P2.54mm_VerticalJ5

More from mikesmitty/rp24-dcc-decoder

5
  • 6 layers70 × 70 mmRp2350-decoder, the printed circuit board in 3D

    Rp2350-decoder

    mikesmitty/rp24-dcc-decoder

    DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)

    543 parts12
  • 2 layers70 × 70 mmE24-receiver board, the printed circuit board in 3D

    E24-receiver board

    mikesmitty/rp24-dcc-decoder

    DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)

    307 parts12
  • 6 layers19.9 × 8.8 mmRp2350-decoder, the printed circuit board in 3D

    Rp2350-decoder

    mikesmitty/rp24-dcc-decoder

    DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)

    67 parts12
  • 2 layers50 × 25 mmRp24-usb tester, the printed circuit board in 3D

    Rp24-usb tester

    mikesmitty/rp24-dcc-decoder

    DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)

    40 parts12
  • 2 layers24 × 8.6 mmE24-receiver board, the printed circuit board in 3D

    E24-receiver board

    mikesmitty/rp24-dcc-decoder

    DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)

    21 parts12

Similar boards

  • 6 layers32 × 35 mmDreamscape F405-2020, the printed circuit board in 3D

    Dreamscape F405-2020

    sneakylizard123-4/Dreamscape-F405-2020

    a 20x20mm flight controller for 3" fpv drone

    122 parts
  • 4 layers114.6 × 70.2 mmPanelized-4layer, the printed circuit board in 3D

    Panelized-4layer

    openconcepts-ar/accel2d

    This project aims to provide a graphics server system based on hardware accelerated graphics, and a easy way to develop the graphics primitives.

    470 parts1
  • 6 layers36.8 × 16.4 mmIntegrated Debugger, the printed circuit board in 3D

    Integrated Debugger

    PicoballoonLabs/Debug-Boards

    Hardware designs for the integrated debug probe, debug adapter, flex debug cables and RF VNA calibrator

    72 parts1MIT
  • 4 layers65 × 56.5 mmSH RPi, the printed circuit board in 3D

    SH RPi

    hatlabs/SH-RPi-hardware

    Sailor Hat for Raspberry Pi hardware design files

    168 parts56
  • 2 layers10.6 × 18.5 mmAsmartcap xMoto, the printed circuit board in 3D

    Asmartcap xMoto

    xpix/XMOTO_TINYAVR

    This code is designed for a motor controller and has merged the PID code of Josh Kopel with the code of the Makerbot servo-controller board. This code can be used on some boards by changing some values.

    21 parts6
  • 4 layers57 × 56.2 mmRp2040-decoder, the printed circuit board in 3D

    Rp2040-decoder

    mikesmitty/electronics-projects

    599 parts1
  • 2 layers29.8 × 46.2 mmDaisy Board Out, the printed circuit board in 3D

    Daisy Board Out

    williamthayer/DaisyBoards

    A full repo of all the design files for each DaisyBoard

    88 parts1
  • 2 layers59.8 × 96.6 mmFraduino, the printed circuit board in 3D

    Fraduino

    XiangYyang/Fraduino

    A replica of Fraduino (http://yuki-factory.main.jp/moe-pcb.html), with a different microcontroller.

    82 partsGPL-2.0

Questions

How big is the Pico2-test mule PCB?

It measures 52.5 × 42 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pico2-test mule use?

71 parts, built around the AP63203WU, MAX98357AEWL+T, MD9927 and SS8050. 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 Pico2-test mule KiCad files?

From the mikesmitty/rp24-dcc-decoder repository on GitHub, at the commit this page was made from: the board is hardware/pico2-test-mule/pico2-test-mule.kicad_pcb and its schematic hardware/e24-receiver-board/e24-receiver-board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pico2-test mule design in my own project?

Its repository states no licence, so its author keeps all rights: ask mikesmitty before reusing the design.