

DCC Railcom Decoder FLM V100
- Size
- 50.9 × 15.5 mm
- Copper layers
- 4
- Thickness
- 0.8 mm
- Parts
- 72
- Nets
- 53
- Pads
- 185
- Tracks, vias
- 570, 73
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 24 Oct 2023
- Updated
- 29 Jun 2026
Overview
D12 is an open-source printed circuit board by git4dcc, from the git4dcc/RTB_D12 repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board of 50.9 × 15.5 mm with 72 parts on 53 nets, routed with 570 tracks and 73 vias.
It is built around the AVR64DA32-E/PT, SM5819L2-TP and PMZB200UNEYL, with the BC847BDW1 and BC857BDW1 among its other parts. Its parts include 26 resistors, 21 connectors, 9 capacitors, 9 diodes and 4 transistors.
Main components
5AVR64DA32-E/PT
TQFP-32(7x7)-40℃~+125℃ 1.8V~5.5V 10bit 12bit 24MHz 27 512Byte 64KB 8 Bit 8KB AVR Built-in FLASH TQFP-32(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)SM5819L2-TP
DFN1006-2-55℃~+150℃ 1 Independent 10A 1A 40V 600mV@1A 60uA@40V DFN1006-2 Schottky Diodes ROHSMicro Commercial ComponentsSchottky DiodesPMZB200UNEYL
SOT-883-3-55℃~+150℃ 1 N-channel 1.4A 2.7nC@4.5V 250mΩ@4.5V 30V 350mW 89pF 950mV 9pF SOT-883-3 MOSFETs ROHSNexperiaMOSFETsBC847BDW1
SOT-363-55℃~+150℃ 100MHz 100mA 150 2 NPN 250mV 380mW 45V 5uA 6V NPN SOT-363 Bipolar (BJT) ROHSonsemiBipolar (BJT)BC857BDW1
SOT-363-55℃~+150℃ 100MHz 100mA 2 PNP 220 250mW 45V 4uA 5V 650mV PNP SOT-363 Bipolar (BJT) ROHSonsemiBipolar (BJT)
README
README.mdRTB_D12
My Homebrew D12 decoder is a drop in replacement for the original analog FLM (#7230) PCB. The decoder is designed to integrate into the RTB digital control infrastructure.
See also
- RTB_D13 - custom (Minitrix coach)
- RTB_D15 - custom (Minitrix V160)
- RTB_D16 - NEM651
- RTB_D20 - NEM651
- RTB_D21 - Next18
- RTB_D22 - Plux16
- RTB_D23 - NEM652
User Guides
- User Guide - DE
- User Guide - EN
Decoder features
- Fleischmann V100 PCB decoder
- DCC
- DCC-A automatic logon
- DCC-R protocol extension
- Service Mode Programming
- Railcom
- Channel 1/2
- POM, xPOM
- DYN: Speed, QoS, Track-voltage, Motor-current, AUX-current, Temp, Distance travelled
- 7-18V track voltage
- heartbeat LED
- adjustable max motor current (default 250mA)
- adjustable max AUX current (default 250mA)
- over temp protection
- Function output: LF/LR (dimmable, 1.4kHz), LED on PCB
- Function output: AUX1/AUX2 (dimmable, 1.4kHz) logic level (3.3V)
- Function output: AUX3/AUX4 open drain
- Function output: AUX5 cabin light, LED on PCB
- buffer capacitor 2x330uF
- <10mA idle power consumption
- Firmware update over main tracks via DCC-R protocol
Hardware
The current PCB layout uses SMD footprints with 0.5mm pitch and mainly 0603 parts. Reflow soldering is recommended whereas handsoldering will be difficult.
PCB
- 4-layer PCB, FR4, 0.8mm
- CPU: AVR64DA32
- Motor bridge: DRV8231
- Inrush limiter: R/D combination
Kicad
The BOM is tailored to JLCPCB part#.
Dependency
:yellow_circle: Requires my Kicad project library RTB_SamacSys in the same directory tree.
Firmware
Filename structure: { pcb }{ code }{ version }.hex
Example: D12F0001.hex
| Description | |
|---|---|
| pcb | Name of matching hardware (D12) |
| code | Type of code contained (R=rom, B=bootloader, F=flash, U=bld update, P=UPDI factory code) |
| version | Release version (####) |
Images
YouTube
See the D12 decoder in action.

This project is intended for hobby use only and is distributed in accordance with the Apache License 2.0 agreement.
Parts
72| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | SM5819L2-TP | RTB:SM5819L2TP | D1, D2, D4, D6, D7, D8, D9 |
| 6 | Conn_01x01 | TestPoint:TestPoint_Pad_1.0x1.0mm | J1, J5, J8, J9, J20, J21 |
| 5 | 33k | Resistor_SMD:R_0402_1005Metric | R5, R6, R10, R12, R21 |
| 4 | 10k | Resistor_SMD:R_0402_1005Metric | R15, R18, R19, R20 |
| 4 | 2.2k | Resistor_SMD:R_0402_1005Metric | R2, R4, R24, R25 |
| 4 | Conn_01x01 | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | J2, J3, J4, J6 |
| 3 | 220k | Resistor_SMD:R_0402_1005Metric | R9, R34, R35 |
| 2 | 10u/6.3V | Capacitor_SMD:C_0402_1005Metric | C11, C13 |
| 2 | 12k | Resistor_SMD:R_0402_1005Metric | R11, R13 |
| 2 | 3.3k | Resistor_SMD:R_0402_1005Metric | R22, R23 |
| 2 | 330u/20V | Capacitor_Tantalum_SMD:CP_EIA-7361-38_AVX-V | C2, C3 |
| 2 | 9.1k | Resistor_SMD:R_0402_1005Metric | R36, R37 |
| 2 | Conn_01x01 | RTB:Solder 0.8 x 0.8 | J18, J19 |
| 2 | LED | LED_SMD:LED_0402_1005Metric | D3, D5 |
| 2 | PMZB200UNEYL | RTB:PMZB200UNEYL | Q3, Q4 |
| 2 | Vtrk | RTB:Solder 0.8 x 0.8 | J12, J14 |
| 1 | 1 | Resistor_SMD:R_0603_1608Metric | R7 |
| 1 | 100n | Capacitor_SMD:C_0402_1005Metric | C5 |
| 1 | 100n/50V | Capacitor_SMD:C_0402_1005Metric | C1 |
| 1 | 1k | Resistor_SMD:R_0402_1005Metric | R1 |
| 1 | 1u | Capacitor_SMD:C_0402_1005Metric | C22 |
| 1 | 22 | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | 4.7u/25V | Capacitor_SMD:C_0402_1005Metric | C4 |
| 1 | 47uF/6.3V | Capacitor_SMD:C_0805_2012Metric | C12 |
| 1 | 68 | Resistor_SMD:R_0402_1005Metric | R8 |
| 1 | AUX3.od | RTB:Solder 0.8 x 0.8 | J15 |
| 1 | AUX4.od | RTB:Solder 0.8 x 0.8 | J13 |
| 1 | AVR-64DA32 | Package_DFN_QFN:VQFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm | U1 |
| 1 | Aux1 | RTB:Solder 0.8 x 0.8 | J16 |
| 1 | Aux2 | RTB:Solder 0.8 x 0.8 | J17 |
| 1 | BC847BDW1 | Package_TO_SOT_SMD:SOT-666 | Q2 |
| 1 | BC857BDW1 | Package_TO_SOT_SMD:SOT-666 | Q1 |
| 1 | DRV8231ADSGR | RTB:SON50P200X200X80-9N | IC1 |
| 1 | Motor A | RTB:Solder 2.0 x 0.8 | J10 |
| 1 | Motor B | RTB:Solder 2.0 x 0.8 | J11 |
| 1 | NCP730BMT500TBG | Package_SON:WSON-6-1EP_2x2mm_P0.65mm_EP1x1.6mm_ThermalVias | IC2 |
| 1 | UDPI | RTB:Solder 0.8 x 0.8 | J7 |
Questions
How big is the D12 PCB?
It measures 50.9 × 15.5 mm and has 4 copper layers, 0.8 mm thick.
What parts does the D12 use?
72 parts, built around the AVR64DA32-E/PT, SM5819L2-TP, PMZB200UNEYL and BC847BDW1. 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 D12 KiCad files?
From the git4dcc/RTB_D12 repository on GitHub, at the commit this page was made from: the board is D12.kicad_pcb and its schematic D12.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the D12 design in my own project?
Its repository publishes it under the Apache-2.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).
Similar boards
- 6 layers15.3 × 11.4 mm

- 4 layers76 × 11 mm

- 6 layers17 × 10.9 mm

- 6 layers17 × 10.9 mm

- 6 layers14 × 8 mm

- 6 layers15.2 × 9.5 mm

- 4 layers160.8 × 12 mm

- 4 layers50 × 15.2 mm
