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

An MM1/MM2/Lenz decoder for classic Märklin locomotives and the pre-mfx digital systems.
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.
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:
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.

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:
git clone --recurse-submodules https://github.com/slonket/c92-decoder.git| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 10k | Resistor_SMD:R_0603_1608Metric | R5, R8, R9, R12, R13, R16 |
| 4 | 100n | Capacitor_SMD:C_0603_1608Metric | C1, C4, C5, C6 |
| 4 | 1k | Resistor_SMD:R_0603_1608Metric | R2, R4, R6, R7 |
| 4 | DSK34 | Slonket_Footprints:D_SOD-123F | D1, D2, D3, D4 |
| 3 | 47k | Resistor_SMD:R_0603_1608Metric | R10, R11, R14 |
| 3 | MMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q3, Q4, Q5 |
| 2 | 10u | Capacitor_SMD:C_1206_3216Metric | C2, C3 |
| 2 | 10u | Slonket_Footprints:C_1206 | C8, C9 |
| 2 | 1k5 | Resistor_SMD:R_0603_1608Metric | R1, R3 |
| 2 | DMC3071LVT | Package_TO_SOT_SMD:TSOT-23-6 | Q1, Q2 |
| 1 | 100n | Slonket_Footprints:C_0603 | C10 |
| 1 | 100u | Slonket_Footprints:CP_1210_CASE_B | C12 |
| 1 | 10k | Slonket_Footprints:R_0402 | R17 |
| 1 | 20m | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 22p | Slonket_Footprints:C_0402 | C7 |
| 1 | 2N7002 | Slonket_Footprints:U_SOT-23 | Q6 |
| 1 | 33k | Slonket_Footprints:R_0402 | R19 |
| 1 | 4u7 | Slonket_Footprints:C_0402 | C11 |
| 1 | 6k8 | Slonket_Footprints:R_0402 | R18 |
| 1 | BOT_L | Slonket_Footprints:TP_Loop | TP2 |
| 1 | BOT_R | Slonket_Footprints:TP_Loop | TP4 |
| 1 | BZD27C27P | Slonket_Footprints:D_SOD-123F | D5 |
| 1 | COM | Slonket_Footprints:TP_Loop | TP3 |
| 1 | DIV_L | Slonket_Footprints:TP_Loop | TP1 |
| 1 | DIV_R | Slonket_Footprints:TP_Loop | TP5 |
| 1 | GND_SEL | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J5 |
| 1 | INA180A2 | Package_TO_SOT_SMD:SOT-23-5 | U1 |
| 1 | INPUT | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | J7 |
| 1 | L_SEL | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J3 |
| 1 | MOTOR | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J1 |
| 1 | MOTOR_H | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | OUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J8 |
| 1 | OUTPUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | R_SEL | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J4 |
| 1 | TPS70933DBVR | Slonket_Footprints:U_SOT-23-5 | U2 |
| 1 | TRACK | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J9 |
The 58 most common of 62 parts.

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

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

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.

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.

TrendBit/SMBR-hardware
Design file for SMBR hardware modules in KiCAD.

mattwach/battery_drainer
Hardware to safely discharge LIPO batteries to storage levels

peteEH/remote-temp-msp430-rs422
Remote Temperature Sensor Node - TMP10 - RS-422 or RS-485 based - MSP430G2553



It measures 64.2 × 26.7 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
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).