
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)

DIY DCC decoder for model railroad locomotives in an E24 form factor, powered by an RP2350 (Raspberry Pi Pico 2)
Rp2350-decoder is an open-source printed circuit board by mikesmitty, from the mikesmitty/rp24-dcc-decoder repository on GitHub. It is a 6-layer board of 19.9 × 8.8 mm with 67 parts on 82 nets, routed with 991 tracks and 171 vias.
It is built around the RP2350A, AP63203WU and DRV8220DRL, with the MAX98357AEWL+T, W25Q128JVPIQ and DMN2991UDA-7B among its other parts. Its parts include 19 resistors, 18 capacitors, 9 diodes, 8 transistors and 6 ICs. It belongs with the RP2350 boards of this library.
DIY DCC decoder for model railroad locomotives in an E24 form factor suitable for N scale/gauge locomotives


| E24 Pin | Function | GPIO Pin |
|---|---|---|
| 1 | Speaker- | USB D- |
| 2 | Speaker+ | USB D+ |
| 3 | GND | GND |
| 4-5 | Motor- | N/A |
| 6-7 | Motor+ | N/A |
| 8 | Cap+ | GPIO20 |
| 9 | Lamp Front | GPIO6 (MOSFET) |
| 10 | Lamp Rear | GPIO7 (MOSFET) |
| 11 | AUX1 | GPIO8 (MOSFET) |
| 12 | AUX2 | GPIO5 (MOSFET) |
| 13 | AUX8 | GPIO4 (MOSFET) |
| 14 | AUX7 | GPIO3 (MOSFET) |
| 15 | AUX6 | GPIO9 (MOSFET) |
| 16 | AUX5 | GPIO2 (MOSFET) |
| 17 | U+ | DC Rail Voltage |
| 18 | Vcc | 3.3V |
| 19 | AUX10 | GPIO10 |
| 20 | AUX4 | GPIO13 |
| 21 | AUX3 | GPIO14 |
| 22 | GND | GND |
| 23 | AUX11 | GPIO0 |
| 24 | AUX12 | GPIO1 |
| N/A | Motor Driver A | GPIO25 |
| N/A | Motor Driver B | GPIO26 |
| N/A | Back EMF A | GPIO28 |
| N/A | Back EMF B | GPIO29 |
| N/A | DCC signal Left Rail | GPIO21 |
| N/A | DCC signal Right Rail | GPIO27 |
| N/A | RailCom Out | GPIO11 |
| N/A | Status LED | GPIO19 |
| N/A | i2s DIN | GPIO22 |
| N/A | i2s BCLK | GPIO23 |
| N/A | i2s LRCLK | GPIO24 |
| N/A | Charge external keepalive capacitor (PWM at very low duty cycle only) | GPIO20 |

| E24 Pin | Function | Label |
|---|---|---|
| 1 | Speaker- | SPK |
| 2 | Speaker+ | SPK |
| 3 | GND | G |
| 4-5 | Motor- | - MOTOR + |
| 6-7 | Motor+ | - MOTOR + |
| 8 | External Capacitor+ | C |
| 9 | Lamp Front | F LAMP R |
| 10 | Lamp Rear | F LAMP R |
| 11 | AUX1 | 1 |
| 12 | AUX2 | 2 |
| 17 | DC Rail Voltage | RV |
| 18 | Microcontroller Voltage Output | Vcc |
| 19 | AUX10 | 10 |
| 20 | AUX4 | 4 |
| 21 | AUX3 | 3 |
| 22 | GND | G |
| 23 | AUX11 | 11 |
| 24 | AUX12 | 12 |
Inspired by the rp2040-decoder project by gab-k: https://github.com/gab-k/RP2040-Decoder
View this project on CADLAB.io.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 6.8K | rp2350-decoder:R_0201_0603Metric | R1, R6, R7, R8, R12, R13, R16, R18 |
| 6 | 100nF | rp2350-decoder:C_0201_0603Metric | C1, C4, C7, C12, C13, C14 |
| 6 | 1K | rp2350-decoder:R_0201_0603Metric | R2, R4, R5, R15, R17, R19 |
| 5 | 4.7uF | rp2350-decoder:C_0201_0603Metric | C9, C10, C15, C17, C18 |
| 4 | DMN2991UDA-7B | rp2350-decoder:X2-DFN0806-6_L0.8-W0.6_X2-DFN0806-6 | Q5, Q6, Q7, Q8 |
| 4 | LMBR4020H3T5G | rp2350-decoder:U-DFN1608-2_L1.6-W0.8-RD | D1, D2, D3, D4 |
| 3 | 22R | rp2350-decoder:R_0201_0603Metric | R9, R10, R11 |
| 2 | 10pF | rp2350-decoder:C_0201_0603Metric | C8, C11 |
| 2 | 2.2uF | rp2350-decoder:C_0402_1005Metric | C2, C3 |
| 2 | 47uF | rp2350-decoder:C_1206_3216Metric | C6, C16 |
| 2 | AP1606 | rp2350-decoder:Diodes_DFN1006-3 | Q1, Q2 |
| 2 | BZX884C3V3 | rp2350-decoder:DFN1006-2L-RD | D7, D8 |
| 2 | NST847BPDP6T5G | rp2350-decoder:SOT-963 | Q3, Q4 |
| 2 | RB161QS-40 | rp2350-decoder:DIO-SMD_L1.0-W0.6-P0.65-RD | D5, D6 |
| 1 | 2.2K | rp2350-decoder:R_0201_0603Metric | R3 |
| 1 | 22uF | rp2350-decoder:C_0603_1608Metric | C5 |
| 1 | 3.3uH | rp2350-decoder:L_pol_2016 | L2 |
| 1 | 33R | rp2350-decoder:R_0201_0603Metric | R14 |
| 1 | 4.7uH | rp2350-decoder:IND-SMD_L2.5-W2.0-VLS252012CX-150M | L1 |
| 1 | 5052702412 | rp2350-decoder:CONN-SMD_5052702412 | J3 |
| 1 | ABM8-272-T3 | rp2350-decoder:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | AP63203WU | rp2350-decoder:TSOT-26_L2.9-W1.6-P0.95-LS2.8-BL | U2 |
| 1 | BOOT | rp2350-decoder:SW-SMD_4P-L2.6-W1.6-P0.75-LS3.0 | SW1 |
| 1 | Blue LED | rp2350-decoder:LED_0402_1005Metric | D9 |
| 1 | DRV8220DRL | Package_TO_SOT_SMD:SOT-563 | U6 |
| 1 | MAX98357AEWL+T | rp2350-decoder:WLP-9_L1.4-W1.3-P0.40-R3-C3-BR | U5 |
| 1 | NCS2220AMUT1G | rp2350-decoder:DFN-8_L1.6-W1.6-P0.40-BL-EP | U1 |
| 1 | RP2350A | rp2350-decoder:QFN-60_L7.0-W7.0-P0.40-TL-EP3.4 | U4 |
| 1 | SWCLK | rp2350-decoder:Pogo Pad 0.8mm | J2 |
| 1 | SWDIO | rp2350-decoder:Pogo Pad 0.8mm | J1 |
| 1 | W25Q128JVPIQ | rp2350-decoder:WSON-8-1EP_6x5mm_P1.27mm_EP3.4x4.3mm | U3 |

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

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

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

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

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

sneakylizard123-4/Dreamscape-F405-2020
a 20x20mm flight controller for 3" fpv drone


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.

PicoballoonLabs/Debug-Boards
Hardware designs for the integrated debug probe, debug adapter, flex debug cables and RF VNA calibrator


williamthayer/DaisyBoards
A full repo of all the design files for each DaisyBoard

SorenGilkeyJohnson/iCEPico
A custom dev board based on the RP2350 microcontroller and the ICE40UP5K-SG48I FPGA.

It measures 19.9 × 8.8 mm and has 6 copper layers, 0.85 mm thick.
67 parts, built around the RP2350A, AP63203WU, DRV8220DRL and MAX98357AEWL+T. 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.
From the mikesmitty/rp24-dcc-decoder repository on GitHub, at the commit this page was made from: the board is hardware/rp2350-decoder/rp2350-decoder.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.
Its repository states no licence, so its author keeps all rights: ask mikesmitty before reusing the design.