

DCC / Railcom decoder (NEM651, single sided)
- Size
- 17 × 10.9 mm
- Copper layers
- 6
- Thickness
- 0.8 mm
- Parts
- 43
- Nets
- 42
- Pads
- 166
- Tracks, vias
- 349, 64
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 24 Oct 2023
- Updated
- 20 Feb 2026
Overview
D16 is an open-source printed circuit board by git4dcc, from the git4dcc/RTB_D16 repository on GitHub, published under the Apache-2.0 licence. It is a 6-layer board of 17 × 10.9 mm with 43 parts on 42 nets, routed with 349 tracks and 64 vias.
It is built around the AVR64DA32-E/PT, BAS3007ARPPE6327HTSA1 and BC847BDW1, with the BC857BDW1 and SSM6N55NU among its other parts. Its parts include 26 resistors, 7 capacitors, 3 ICs, 3 transistors and 2 diodes.
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)BAS3007ARPPE6327HTSA1
Bridge rectifier 30V/900mA in SOT143-4 package.Infineon TechnologiesUncategorisedBC847BDW1
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)SSM6N55NU
UDFN6UDFN6 New Arrivals ROHSToshibaUncategorised
README
README.mdRTB_D16
My Homebrew D16 decoder is a single sided mobile decoder with NEM-651 connector. The decoder is designed to integrate into the RTB digital control infrastructure.
See also
- RTB_D12 - custom (Fleischmann V100)
- RTB_D13 - custom (Minitrix coach)
- RTB_D15 - custom (Minitrix V160)
- RTB_D20 - NEM651
- RTB_D21 - Next18
- RTB_D22 - Plux16
- RTB_D23 - NEM652
User Guides
- User Guide - DE
- User Guide - EN
The decoder has the following features,
- NEM-651 connector
- 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
- Single sided
- Dimension: 17 x 11 mm
- 7-20V track voltage
- heartbeat LED
- adjustable max motor current (default 300mA)
- adjustable max AUX current (default 500mA)
- over temp protection
- Function output: LV/LR (dimmable, 1.4kHz) open drain
- Function output: AUX1/AUX2/AUX3 logic level (3.3V)
- optional external buffer capacitor (max. 1500uF)
- <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 0402 parts. Reflow soldering is recommended, handsoldering will be difficult.

PCB
- 6-layer PCB, FR4, 17 x 11 x 0.8mm (single sided)
- CPU: AVR64DA32
- Motor bridge: DRV8231
- Connector: NEM-651
Kicad
Dependency
:yellow_circle: Requires my Kicad project library RTB_SamacSys in the same directory tree.
Firmware
Filename structure: { pcb }{ code }{ version }.hex
Example: D16F0001.hex
| Description | |
|---|---|
| pcb | Name of matching hardware (D16) |
| code | Type of code contained (R=rom, B=bootloader, F=flash, U=bld update, P=UPDI factory code) |
| version | Release version (####) |
Images
| top | bottom |
|---|---|
![]() | ![]() |
YouTube
Some YouTubes to see the D16 decoder in action.

This project is intended for hobby use only and is distributed in accordance with the Apache License 2.0 agreement.
Parts
43| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 10k | Resistor_SMD:R_0402_1005Metric | R11, R13, R15, R18, R19, R20 |
| 4 | 33k | Resistor_SMD:R_0402_1005Metric | R7, R8, R10, R12 |
| 3 | 2.2k | Resistor_SMD:R_0402_1005Metric | R4, R5, R6 |
| 3 | 220k | Resistor_SMD:R_0402_1005Metric | R17, R34, R35 |
| 3 | 22u/4V | Capacitor_SMD:C_0402_1005Metric | C1, C3, C13 |
| 2 | 2.2 | Resistor_SMD:R_0402_1005Metric | R9, R22 |
| 2 | 3.3k | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | 9.1k | Resistor_SMD:R_0402_1005Metric | R36, R37 |
| 2 | dummy | Resistor_SMD:R_0402_1005Metric | R14, R16 |
| 1 | 100u/4V | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 1k | Resistor_SMD:R_0402_1005Metric | R21 |
| 1 | 1u | Capacitor_SMD:C_0402_1005Metric | C6 |
| 1 | 1u/35V | Capacitor_SMD:C_0603_1608Metric | C4 |
| 1 | 22 | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | 22u/25V | Capacitor_SMD:C_0805_2012Metric | C7 |
| 1 | AVR-64DA32 | Package_DFN_QFN:VQFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm | U1 |
| 1 | BAS3007ARPPE6327HTSA1 | RTB:BF998215 | D3 |
| 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 | LED | LED_SMD:LED_0402_1005Metric | D1 |
| 1 | NCP730BMT330TBG | Package_SON:WSON-6-1EP_2x2mm_P0.65mm_EP1x1.6mm_ThermalVias | IC2 |
| 1 | NEM651 | Connector_PinHeader_1.27mm:PinHeader_1x08_P1.27mm_Horizontal | J2 |
| 1 | SSM6N55NU | RTB:CSD87502Q2 | Q3 |
| 1 | Service IF | Connector_PinHeader_1.27mm:PinHeader_2x04_P1.27mm_Vertical | J1 |
Questions
How big is the D16 PCB?
It measures 17 × 10.9 mm and has 6 copper layers, 0.8 mm thick.
What parts does the D16 use?
43 parts, built around the AVR64DA32-E/PT, BAS3007ARPPE6327HTSA1, BC847BDW1 and BC857BDW1. 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 D16 KiCad files?
From the git4dcc/RTB_D16 repository on GitHub, at the commit this page was made from: the board is D16.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the D16 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 layers17 × 10.9 mm

- 6 layers14 × 8 mm

- 6 layers15.3 × 11.4 mm

- 4 layers50.9 × 15.5 mm

- 4 layers76 × 11 mm

- 6 layers15.2 × 9.5 mm

- 4 layers160.8 × 12 mm

- 4 layers17.3 × 15.3 mm


