Skip to the content
2 layers64.2 × 26.7 mmDiscrete hbridge, the printed circuit board in 3D

Discrete hbridge

slonket/c92-decoder

An MM1/MM2/Lenz decoder for classic Märklin locomotives and the pre-mfx digital systems.

Size
64.2 × 26.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
62
Nets
31
Pads
178
Tracks, vias
199, 86
Pours
22
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 Aug 2026
Updated
16 Oct 2026

Overview

Discrete hbridge is an open-source printed circuit board by slonket, from the slonket/c92-decoder repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 64.2 × 26.7 mm with 62 parts on 31 nets, routed with 199 tracks and 86 vias.

It is built around the TPS70933DBVR-MS, DSK34 and MMBT3904, with the DMC3071LVT-7 and BZD27C27P among its other parts. Its parts include 19 resistors, 12 capacitors, 9 connectors, 6 transistors and 5 diodes.

Main components

5

README

README.md

c92-decoder

An MM1/MM2/Lenz decoder for classic Märklin locomotives and the pre-mfx digital systems.

The c92 decoder was spawned out of a passion for the classic (pre-mfx) Märklin digital systems. The controllers of this era operated with three different protocols:

  • MM1 (6020, 6021, 6022, 6023)
  • MM2 (6021)
  • Lenz (6027, 6029)

However, no single decoder from this era can operate on all three protocols, nor with all of their capabilities. Furthermore, there is a matrix of incompatibility between different controllers and combinations of decoders using MM1 and MM2. The c92 decoder is a superset of all decoder capabilities and their respective protocols; a universal classic decoder.

c92 decoder back view.

Cloning

This project uses slonket-footprints as a submodule for all PCB designs. All KiCAD projects within this repository are configured to use the submodule libraries with local paths. Run the following to clone the repository with its submodule:

text
git clone --recurse-submodules https://github.com/slonket/c92-decoder.git

Parts

62
QtyValueFootprintReferences
610kResistor_SMD:R_0603_1608MetricR5, R8, R9, R12, R13, R16
4100nCapacitor_SMD:C_0603_1608MetricC1, C4, C5, C6
41kResistor_SMD:R_0603_1608MetricR2, R4, R6, R7
4DSK34Slonket_Footprints:D_SOD-123FD1, D2, D3, D4
347kResistor_SMD:R_0603_1608MetricR10, R11, R14
3MMBT3904Package_TO_SOT_SMD:SOT-23Q3, Q4, Q5
210uCapacitor_SMD:C_1206_3216MetricC2, C3
210uSlonket_Footprints:C_1206C8, C9
21k5Resistor_SMD:R_0603_1608MetricR1, R3
2DMC3071LVTPackage_TO_SOT_SMD:TSOT-23-6Q1, Q2
1100nSlonket_Footprints:C_0603C10
1100uSlonket_Footprints:CP_1210_CASE_BC12
110kSlonket_Footprints:R_0402R17
120mResistor_SMD:R_0603_1608MetricR15
122pSlonket_Footprints:C_0402C7
12N7002Slonket_Footprints:U_SOT-23Q6
133kSlonket_Footprints:R_0402R19
14u7Slonket_Footprints:C_0402C11
16k8Slonket_Footprints:R_0402R18
1BOT_LSlonket_Footprints:TP_LoopTP2
1BOT_RSlonket_Footprints:TP_LoopTP4
1BZD27C27PSlonket_Footprints:D_SOD-123FD5
1COMSlonket_Footprints:TP_LoopTP3
1DIV_LSlonket_Footprints:TP_LoopTP1
1DIV_RSlonket_Footprints:TP_LoopTP5
1GND_SELConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ5
1INA180A2Package_TO_SOT_SMD:SOT-23-5U1
1INPUTConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ7
1L_SELConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1MOTORTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ1
1MOTOR_HConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1OUTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ8
1OUTPUTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1R_SELConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1TPS70933DBVRSlonket_Footprints:U_SOT-23-5U2
1TRACKConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ9

The 58 most common of 62 parts.

More from slonket/c92-decoder

2
  • 4 layers49 × 34 mmC92 decoder A1, the printed circuit board in 3D

    C92 decoder A1

    slonket/c92-decoder

    An MM1/MM2/Lenz decoder for classic Märklin locomotives and the pre-mfx digital systems.

    93 partsCERN-OHL-S-2.0
  • 4 layers49 × 34 mmC92 decoder B1, the printed circuit board in 3D

    C92 decoder B1

    slonket/c92-decoder

    An MM1/MM2/Lenz decoder for classic Märklin locomotives and the pre-mfx digital systems.

    73 partsCERN-OHL-S-2.0

Similar boards

  • 4 layers25 × 25 mmMiniOSCI, the printed circuit board in 3D

    MiniOSCI

    RoseDaggerDev/MiniOscilloscope

    Through-Hole Version: Its been fully tested and works like a charm. Its got a BOM of 87 components and fits on a 50x50mm 2-layer board, manufactured by PCBWay.

    80 parts1MIT
  • 2 layers30 × 84 mmBuffered, the printed circuit board in 3D

    Buffered

    cuteboy0323/1590A

    These are not at all useful, but having done guitar pedal board kit builds, I decided I should try to make something from scratch.

    47 partsGPL-2.0
  • 2 layers65 × 56 mmInterface board, the printed circuit board in 3D

    Interface board

    TrendBit/SMBR-hardware

    Design file for SMBR hardware modules in KiCAD.

    133 partsGPL-3.0
  • 2 layers122 × 88 mmLipo drainer schematic, the printed circuit board in 3D

    Lipo drainer schematic

    mattwach/battery_drainer

    Hardware to safely discharge LIPO batteries to storage levels

    64 parts11Apache-2.0
  • 2 layers24 × 24 mmRemote temp msp430-rs422, the printed circuit board in 3D

    Remote temp msp430-rs422

    peteEH/remote-temp-msp430-rs422

    Remote Temperature Sensor Node - TMP10 - RS-422 or RS-485 based - MSP430G2553

    29 parts1MIT
  • 4 layers65 × 30 mmSonatino, the printed circuit board in 3D

    Sonatino

    luminationlabs/Sonatino

    Audio development board based on ESP32-S3

    129 parts41CERN-OHL-P-2.0
  • 4 layers56 × 43.3 mmStepperServoCAN, the printed circuit board in 3D

    StepperServoCAN

    dzid26/StepperServo-hardware

    Stepper actuator controller

    155 parts29GPL-3.0

Questions

How big is the Discrete hbridge PCB?

It measures 64.2 × 26.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Discrete hbridge use?

62 parts, built around the TPS70933DBVR-MS, DSK34, MMBT3904 and DMC3071LVT-7. 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 Discrete hbridge KiCad files?

From the slonket/c92-decoder repository on GitHub, at the commit this page was made from: the board is tools/discrete_hbridge/discrete_hbridge.kicad_pcb and its schematic hardware/c92_decoder_A1/c92_decoder_A1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Discrete hbridge design in my own project?

Its repository publishes it under the CERN-OHL-S-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).