Skip to the content
PCBKitNew board
6 layers17 × 10.9 mmD16, the printed circuit board in 3D

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

5

README

README.md

RTB_D16

Real-time Bus (RTB) Kicad_Libs Apache License 2.0

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
User Guides

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

Schematic | Layout | Gerber

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
pcbName of matching hardware (D16)
codeType of code contained (R=rom, B=bootloader, F=flash, U=bld update, P=UPDI factory code)
versionRelease version (####)

Firmware files

Images

topbottom

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
QtyValueFootprintReferences
610kResistor_SMD:R_0402_1005MetricR11, R13, R15, R18, R19, R20
433kResistor_SMD:R_0402_1005MetricR7, R8, R10, R12
32.2kResistor_SMD:R_0402_1005MetricR4, R5, R6
3220kResistor_SMD:R_0402_1005MetricR17, R34, R35
322u/4VCapacitor_SMD:C_0402_1005MetricC1, C3, C13
22.2Resistor_SMD:R_0402_1005MetricR9, R22
23.3kResistor_SMD:R_0402_1005MetricR1, R2
29.1kResistor_SMD:R_0402_1005MetricR36, R37
2dummyResistor_SMD:R_0402_1005MetricR14, R16
1100u/4VCapacitor_SMD:C_0805_2012MetricC2
11kResistor_SMD:R_0402_1005MetricR21
11uCapacitor_SMD:C_0402_1005MetricC6
11u/35VCapacitor_SMD:C_0603_1608MetricC4
122Resistor_SMD:R_0402_1005MetricR3
122u/25VCapacitor_SMD:C_0805_2012MetricC7
1AVR-64DA32Package_DFN_QFN:VQFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mmU1
1BAS3007ARPPE6327HTSA1RTB:BF998215D3
1BC847BDW1Package_TO_SOT_SMD:SOT-666Q2
1BC857BDW1Package_TO_SOT_SMD:SOT-666Q1
1DRV8231ADSGRRTB:SON50P200X200X80-9NIC1
1LEDLED_SMD:LED_0402_1005MetricD1
1NCP730BMT330TBGPackage_SON:WSON-6-1EP_2x2mm_P0.65mm_EP1x1.6mm_ThermalViasIC2
1NEM651Connector_PinHeader_1.27mm:PinHeader_1x08_P1.27mm_HorizontalJ2
1SSM6N55NURTB:CSD87502Q2Q3
1Service IFConnector_PinHeader_1.27mm:PinHeader_2x04_P1.27mm_VerticalJ1

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 mmD24, the printed circuit board in 3D

    D24

    git4dcc/RTB_D24

    DCC / Railcom decoder (NEM651, single sided), WS28xx

    53 partsApache-2.0
  • 6 layers14 × 8 mmD20, the printed circuit board in 3D

    D20

    git4dcc/RTB_D20

    DCC / Railcom decoder (NEM651, double sided)

    51 parts1Apache-2.0
  • 6 layers15.3 × 11.4 mmD22, the printed circuit board in 3D

    D22

    git4dcc/RTB_D22

    DCC / Railcom decoder (Plux16, double sided)

    48 parts1Apache-2.0
  • 4 layers50.9 × 15.5 mmD12, the printed circuit board in 3D

    D12

    git4dcc/RTB_D12

    DCC Railcom Decoder FLM V100

    72 partsApache-2.0
  • 4 layers76 × 11 mmD15, the printed circuit board in 3D

    D15

    git4dcc/RTB_D15

    Minitrix V160 N-Scale Locomotive Decoder (DCC/RailCom)

    83 partsApache-2.0
  • 6 layers15.2 × 9.5 mmD21, the printed circuit board in 3D

    D21

    git4dcc/RTB_D21

    DCC / Railcom decoder (Next18, double sided)

    48 parts1Apache-2.0
  • 4 layers160.8 × 12 mmD13, the printed circuit board in 3D

    D13

    git4dcc/RTB_D13

    DCC/RailCom Function Decoder for Minitrix Passenger Cars

    153 partsApache-2.0
  • 4 layers17.3 × 15.3 mmEngine, the printed circuit board in 3D

    Engine

    Lambosaurus/Train-Controller-HW

    39 parts