Skip to the content
2 layers99.1 × 99 mmXDuinoRail Debug, the printed circuit board in 3D

The friendly decoder development plattform for model railroad tinkers.

Size
99.1 × 99 mm
Copper layers
2
Thickness
1.6 mm
Parts
170
Nets
208
Pads
681
Tracks, vias
1,599, 83
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
25 Nov 2023
Updated
24 Jan 2025

Overview

XDuinoRail Debug is an open-source printed circuit board by chatelao, from the chatelao/xDuinoRail-Decoder repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 99.1 × 99 mm with 170 parts on 208 nets, routed with 1,599 tracks and 83 vias.

It is built around the ATTINY402-SSN, RP2040 and BDR6133, with the W25Q128JVSIQ, 74HC02 and AMS1117-3.3 among its other parts. Its parts include 53 resistors, 25 diodes, 21 connectors, 14 capacitors and 12 ICs. It belongs with the ESP32, RP2040, AVR (ATmega, ATtiny) and RISC-V boards of this library.

Main components

12

README

README.md

View this project on CADLAB.io.

xDuinoRail-Decoder

The friendly decoder development plattform for model railroad tinkers.

alternative text

Target plattforms

Arduino (UNO R3) formfactor

The primary tinker formfactor is the "Arduino UNO R3":

CPUMCUVendorProduct Name & Page
? Atmega ?Atmega328Arduino & Clones
---Atmega32u4Arduino & Clones
---AtmegaMEGAArduino & Clones
ARM M0+SAMD21AdafruitMetro M0 Express
ARM M0+SAMD21SparkFun
ARM M4SAMD51AdafruitMetro M4 Express
Dual ARM M0+RP2040AdafruitMetro RP2040
ARM M4nRF52840NordicnRF52840 DK
ARM M4nRF52840WavesharenRF52840 Bluetooth 5.0 Evaluation Kit
RV32IMACSiFive RISC-VSparkFunSparkFun RED-V RedBoard
RV32IMAFCWCH RISC-VAliExpressCH32V307V-EVT-R1 CH32V307 Evaluation Board RISC-V

Decoder development for XIAO formfactor

The XIAO formfactor may even fit some H0 locomotives, so COMING SOON:

CPUMCUVendorProduct Name & Page
ARM M0+SAMD21SeeedStudioXIAO SAMD21
Dual ARM M0+RP2040SeeedStudioXIAO RP2040
ARM M4nRF52840SeeedStudioXIAO BLE
Xtensa LX7ESP32-S3SeeedStudioESP32-S3
RV32IMCESP32-C3SeeedStudioESP32-C3
ARM M0+SAMD21AdafruitQT Py SAMD21
Dual ARM M0+RP2040AdafruitQT Py RP2040
RV32IMCESP32-C3AdafruitQT Py ESP32-C3
Xtensa LX7ESP32-S2AdafruitQT Py ESP32-S2
Xtensa LX7ESP32-S3AdafruitQT Py ESP32-S3

Features

Power:

  • It extracts power from the rails.

Data

  • It extracts DCC raw signals from the rails.
  • It provides raw (RailCom) feedback to the rails.

The data pins are X (input) and Y (output) per default (no soldering needed, but can be reassigned to any other GPIO-Pins.

Excluded by purpose

  • It doesn't include any power IO
  • It doesn't include any MCU

Parts

170
QtyValueFootprintReferences
1610kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR304, R305, R404, R405, R1202, R1401, R1402, R1703, R1704, R2106, R2107, R2403, R2404, R2405, R2406, RV1401
13SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1205, JP1206, JP1501, JP1502, JP1503, JP1504, JP1505, JP1506, JP1507, JP1508, JP1509, JP1510, JP1511
12SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP201, JP202, JP203, JP601, JP602, JP603, JP1001, JP1002, JP1003, JP1901, JP1902, JP1903
11LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD301, D402, D1201, D1202, D2001, D2601, D2602, D2701, D2702, D2801, D2802
610RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR301, R302, R303, R401, R402, R403
61kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR803, R804, R1201, R1203, R1701, R2304
63k3Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2601, R2602, R2701, R2702, R2801, R2802
41N5819WSDiode_SMD:D_SOD-323D1301, D1302, D1303, D1304
4470RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2001, R2901, R2902, R2903
4MountingHoleMountingHole:MountingHole_2.2mm_M2H101, H102, H103, H104
4SS54Diode_SMD:D_SMA-SMB_Universal_HandsolderingD2401, D2402, D2403, D2404
3100RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR306, R406, R1204
3220RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1702, R2301, R2302
3Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ2601, J2701, J2801
2100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1703, C1704
210uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1705, C1706
21R8Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2401, R2402
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1201, C1202
222nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2902, C2903
233pCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1701, C1702
247uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1203, C2301
26k8Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR801, R802
2BC847BVNPackage_TO_SOT_SMD:SOT-563Q301, Q302
2CFG1Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP1203, JP1204
2Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ301, J401
2Conn_01x07Connector_PinSocket_2.54mm:PinSocket_1x07_P2.54mm_VerticalJ1501, J1502
2Conn_01x13Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_VerticalJ1605, J1606
2Conn_01x15Connector_PinSocket_2.54mm:PinSocket_1x15_P2.54mm_VerticalJ901, J903
2Conn_ARM_SWD_TagConnect_TC2030-NLConnector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ902, J1603
2S8050Package_TO_SOT_SMD:SOT-23Q401, Q404
2S8550Package_TO_SOT_SMD:SOT-23Q402, Q403
2SM4007Diode_SMD:D_SMA-SMB_Universal_HandsolderingD2301, D2302
2SW_PushButton_Switch_THT:SW_PUSH_6mmSW1601, SW1602
2SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP301, JP401
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2901
1100uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1401
1180KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2303
11k5Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2904
133kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2306
147kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2905
174HC02Package_SO:SOIC-14-16_3.9x9.9mm_P1.27mmU2501
1820RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2305
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1202
1ATtiny402-SSPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU901
1Arduino_Nano_EveryModule:Arduino_NanoA901
1AudioJack2_GroundConnector_Audio:Jack_3.5mm_CUI_SJ-3523-SMT_HorizontalJ1401
1BDR6133BDR6133:BDR6133U801
1CFG2Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP1201
1CFG3Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP1202
1Conn_01x01Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ1203
1Conn_02x03_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x03_P2.54mm_VerticalJ1202
1Conn_02x03_Odd_EvenConnector_PinSocket_1.27mm:PinSocket_2x03_P1.27mm_VerticalJ1602
1Conn_02x04_Counter_ClockwiseConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ1101
1Conn_ARM_SWD_TagConnect_TC2030-NLxDuinoRailShield:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_Vertical-WithHolesJ1604
1DRV8874PWPRPackage_SO:HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask2.46x2.31mm_ThermalViasU2901
1LED_GREENLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD2903
1LED_REDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD2901
1LED_YELLOWLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD2902
1LIS3DHPackage_LGA:LGA-16_3x3mm_P0.5mm_LayoutBorder3x5yU702
1LM339Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU2401
1MCP4725xxx-xCHPackage_TO_SOT_SMD:SOT-23-6U501
1MOUDLE-SEEEDUINO-XIAO-ESP32C3xiao ESP32C3_PCB:MOUDLE14P-SMD-2.54-21X17.8MMU1501
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1701
1USB_BConnector_USB:USB_B_OST_USB-B1HSxx_HorizontalJ1701
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_Palconn_UTC16-GJ1201
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU1801
1WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1701
1X322512MSB4SICrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1701
1~Debug-Shield-Lib:CH224KU1201

More from chatelao/xDuinoRail-Decoder

10
  • 2 layersXDuinoRail RailComShield, the printed circuit board in 3D

    XDuinoRail RailComShield

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    59 partsAGPL-3.0
  • 2 layers49.5 × 49.5 mmXDuinoRail Breakout RailcomDetect, the printed circuit board in 3D

    XDuinoRail Breakout RailcomDetect

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    51 partsAGPL-3.0
  • 2 layers100 × 100 mmXDuinoRail Protoboard, the printed circuit board in 3D

    XDuinoRail Protoboard

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    42 partsAGPL-3.0
  • 4 layers34.3 × 19.7 mmXDuinoRailShield, the printed circuit board in 3D

    XDuinoRailShield

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    38 partsAGPL-3.0
  • 2 layersXDuinoRailSwitch, the printed circuit board in 3D

    XDuinoRailSwitch

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    35 partsAGPL-3.0
  • 2 layers27.3 × 37.5 mmXDuinoRail Breakout Motor BDR6133, the printed circuit board in 3D

    XDuinoRail Breakout Motor BDR6133

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    26 partsAGPL-3.0
  • 2 layers24.1 × 15.2 mmXDuinoRail Breakout Railcom8x50, the printed circuit board in 3D

    XDuinoRail Breakout Railcom8x50

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    21 partsAGPL-3.0
  • 2 layersXDuinoRailControl, the printed circuit board in 3D

    XDuinoRailControl

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    20 partsAGPL-3.0
  • 2 layers29.8 × 17.8 mmXDuinoRail Breakout DRV8874, the printed circuit board in 3D

    XDuinoRail Breakout DRV8874

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    13 partsAGPL-3.0
  • 2 layers100 × 50 mmXDuinoRail Backplane Arduino, the printed circuit board in 3D

    XDuinoRail Backplane Arduino

    chatelao/xDuinoRail-Decoder

    The friendly decoder development plattform for model railroad tinkers.

    12 partsAGPL-3.0

Similar boards

  • 6 layers30 × 20.1 mmXDuinoRails Thor M, the printed circuit board in 3D

    XDuinoRails Thor M

    xDuinoRails/xDuinoRails_Thor

    Make a Seeed XIAO board a mtc21 decoder, all the electronics needed is on this little board: - mtc21/plux16 compatible connector - DC Motor - 2x Functions - DCC / DCC-ACK / RailCom

    46 parts1
  • 4 layers25 × 20 mmRP2040-Decoder, the printed circuit board in 3D

    RP2040-Decoder

    gab-k/RP2040-Decoder

    Cost effective DIY DCC Decoder for model railroad locomotives

    68 parts131
  • 2 layers17.5 × 38 mmTps6292, the printed circuit board in 3D

    Tps6292

    ABaboshin/IoTrains

    The existing systems in the market are either with old roots (DCC) or not opensource (Märklin). More then that they were built over 20 years ago and therefore have historical restrictions.

    19 partsMIT
  • 4 layers69.5 × 100 mmSecurity I2CRJ45 210, the printed circuit board in 3D

    Security I2CRJ45 210

    austinscreations/oxrs-security-module

    module 8 port pcb that allows for EOL monitoring of security sensors

    128 partsGPL-3.0
  • 2 layers102.5 × 75 mmK PA Protec, the printed circuit board in 3D

    K PA Protec

    F6ITU/K_PA_Protec

    LA2NI OpenHPSDR Power Amplifier Protection board- kicad port

    91 parts1
  • 2 layers179 × 88.4 mmBMS, the printed circuit board in 3D

    BMS

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    64 parts1
  • 4 layers64 × 30 mmLuluu rounded, the printed circuit board in 3D

    Luluu rounded

    fu5ha/luluu

    A cute and smart arm warmer sleeve ^_^

    71 parts9
  • 2 layers154.7 × 79.5 mmIlluminati, the printed circuit board in 3D

    Illuminati

    Enderman8843/illuminati

    illuminati is a precession drafting triangle with many inbuilt microprocessor and wifi

    66 parts1

Questions

How big is the XDuinoRail Debug PCB?

It measures 99.1 × 99 mm and has 2 copper layers, 1.6 mm thick.

What parts does the XDuinoRail Debug use?

170 parts, built around the ATTINY402-SSN, RP2040, BDR6133 and W25Q128JVSIQ. 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 XDuinoRail Debug KiCad files?

From the chatelao/xDuinoRail-Decoder repository on GitHub, at the commit this page was made from: the board is kicad/xDuinoRailShield/xDuinoRail-Debug.kicad_pcb and its schematic kicad/xDuinoRailControl/control-board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the XDuinoRail Debug design in my own project?

Its repository publishes it under the AGPL-3.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).