RP2040-Decoder

gab-k·RP2040-Decoder·KiCad/USB/RP2040-Decoder.kicad_pcb

RP2040-Decoder PCB layout, top view — open source RP2040/RP2350 board by gab-k
Simulate this board

About the RP2040-Decoder PCB

RP2040-Decoder is an open source RP2040/RP2350 PCB design by gab-k, published on GitHub under the CERN-OHL-P-2.0 license. It is a 4-layer board measuring 25 × 20 mm, with 47 components from 20 distinct parts.

Its main chip is the MIC5200-3.3YS, from the RP2040/RP2350 family. Other key parts include the W25Q64JVSSIQ, RP2040 and BDR6133. By type, the board carries 18 capacitors, 14 resistors, 5 transistors, 4 ICs, 3 diodes and 1 crystal.

From the project

Cost effective DIY DCC Decoder for model railroad locomotives

Designed to be a low-cost, open-source alternative to commercial DCC decoders, it utilizes the Raspberry Pi RP2040 dual-core microcontroller. The decoder features DCC protocol decoding and command interpretation alongside motor control in a compact 25x20 mm form factor.

Core 0: Signal Processing & Management DCC edge detection and packet decoding. Configuration Variable (CV) management using persistent flash storage. Service Mode (Programming Track) logic and acknowledgment pulse generation. Core 1: Motion Control PID Controller: A discrete-time PID motor controller implementation utilizing…

RP2040-Decoder, from the project README
From the project README

Main components on the RP2040-Decoder

RP2040-Decoder bill of materials (BOM)

47 components, 20 distinct parts.

QtyPartRefs
1
MIC5200-3.3YS
U1
1
W25Q64JVSSIQ
U2
1
RP2040
U3
1
BDR6133
U4
5
Si1308EDL
Q1, Q2, Q3, Q4, Q5
1
X322512MSB4SI
Y1
1
USB_C_Receptacle_USB2.0_16P
J3
1
YTS1T0162AWJ00
SW1
1
1N5819WS
D1
1
KMB24F
D2
1
LED
D3
2
10p
C1, C4
9
100n
C2, C6, C7, C10, C11, C12, C14, C15 +1
4
10u
C3, C5, C17, C18
3
10u
C8, C9, C13
2
5k1
R2, R3
5
1k
R4, R5, R10, R13, R15
2
27
R6, R7
4
6k8
R8, R9, R12, R14
1
200
R11

RP2040-Decoder design files

The KiCad project lives in the gab-k/RP2040-Decoder repository on GitHub; these links point at the commit this page was built from.

RP2040-Decoder: common questions

What microcontroller does the RP2040-Decoder use?

The RP2040-Decoder is built around the MIC5200-3.3YS, from the RP2040/RP2350 family.

How big is the RP2040-Decoder PCB?

The RP2040-Decoder measures 25 × 20 mm, has 4 copper layers and is 1.6062 mm thick.

How many components are on the RP2040-Decoder?

47 components, from 20 distinct parts. The full bill of materials is listed on this page.

Where can I download the RP2040-Decoder design files?

From the gab-k/RP2040-Decoder repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the RP2040-Decoder design in my own project?

Yes, under the terms of its CERN-OHL-P-2.0 license, which gab-k chose for the repository.

Can I test firmware for the RP2040-Decoder without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug RP2040/RP2350 firmware against it before you order a PCB.

Similar boards