Skip to the content
2 layers120 × 50 mmMtb led, the printed circuit board in 3D

Hardware of MTB-LED module

Size
120 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
70
Nets
87
Pads
366
Tracks, vias
633, 188
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 May 2026
Updated
7 Oct 2026

Overview

Mtb led is an open-source printed circuit board by kmzbrnoI, from the kmzbrnoI/mtb-led-hw repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 120 × 50 mm with 70 parts on 87 nets, routed with 633 tracks and 188 vias.

It is built around the ATMEGA328PB-AU, MAX487EPA+ and TLC5940PWP, with the BZX84C18, SM712 and SS34 among its other parts. Its parts include 15 resistors, 13 capacitors, 11 connectors, 9 diodes and 5 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

6

README

README.md

MTB-LED PCB

MTB-LED is a 32-output LED driver. It communicates over MTBbus (RS485). The module is designed for controlling street and house lights on model railroad, however is could be used generally in any other application.

This repository contains schematics & PCB layout of MTB-LED PCB. Firmware for main MCU ATmega328p is available here. More information about MTB in available here.

Design

Schematics & PCB are designed in KiCad 9.

Production

PCB is prepared to be automatically assembled in JLCPCB. SMD parts on bootom side should be assembled. Each SMD part has its LCSC attribute set.

bash
$ make

Parameters

  • Input voltage: 7–17 V. Protection: when > 18 V is applied, input is shorted. Afterwards, current is limited by PTC fuse on input to 200 mA. Reverse-polarity protection.
  • Max current consumption: ??? mA.
  • Outputs: 32 constant-current PWM-controlled outputs for LED connection. Connect positive pole of LED to power supply, negative to the MTB-LED module.

Piece check

Following checks should be performed to mark each manufactured piece as QC PASS.

  1. Check module communicates on MTBbus.
  2. Check all LEDs are working.
  3. Check button is working.
  4. Calibrate TS_OFFSET, check diagnostic including temperature measurement is working.
  5. Check all outputs are working.

Authors

MTB-LED v4 module is designed by Jan Malina, Model Railway Club Brno.

License

Content of the repository is provided under Creative Commons Attribution-ShareAlike 4.0 License as openhardware project. You may download any data, contribute to the project, create PCB yourself or even sell it yourself.

Parts

70
QtyValueFootprintReferences
8100nCapacitor_SMD:C_0805_2012MetricC1, C2, C7, C8, C9, C10, C11, C13
810kResistor_SMD:R_0805_2012MetricR2, R5, R7, R10, R12, R13, R14, R15
4~MountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3, H4
4~Connector_Phoenix_MC:PhoenixContact_MC_1,5_10-G-3.5_1x10_P3.50mm_HorizontalJ3, J4, J5, J6
31kResistor_SMD:R_0805_2012MetricR6, R9, R11
3~Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP2, TP3, TP4
21N5819Diode_SMD:D_SOD-123D1, D9
222pCapacitor_SMD:C_0805_2012MetricC5, C6
222u/25VCapacitor_SMD:C_0805_2012MetricC3, C12
22kResistor_SMD:R_0805_2012MetricR3, R4
22k2Resistor_SMD:R_0805_2012MetricR1, R8
2AO3400/BSS138Package_TO_SOT_SMD:SOT-23Q1, Q2
2TLC5940PWPPackage_SO:HTSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP3.4x9.5mm_Mask2.4x6.17mm_ThermalViasU3, U4
2~Connector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_4-G_1x04_P5.00mm_HorizontalJ1, J2
2~Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_VerticalJ8, JP1
1
114.7456 MHzCrystal:Crystal_HC49-4H_VerticalY1
11A/2AFuse:Fuse_1812_4532Metric_Pad1.30x3.40mm_HandSolderF2
1200/400mAFuse:Fuse_1812_4532Metric_Pad1.30x3.40mm_HandSolderF1
122uCapacitor_SMD:C_0805_2012MetricC4
150/100mAFuse:Fuse_1206_3216MetricF3
178M05Package_TO_SOT_SMD:TO-252-2U2
1ATmega328PB-APackage_QFP:TQFP-32_7x7mm_P0.8mmU1
1AVR-ISP-6Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ7
1BLUELED_SMD:LED_0805_2012MetricD7
1BT148Package_TO_SOT_SMD:SOT-223D3
1BZX84C18Package_TO_SOT_SMD:SOT-23D2
1DEBUGConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ9
1GREENLED_SMD:LED_0805_2012MetricD6
1KK-254Connector_Molex:Molex_KK-254_AE-6410-05A_1x05_P2.54mm_VerticalJ10
1MAX487EPackage_DIP:DIP-8_W7.62mm_LongPadsU5
1REDLED_SMD:LED_0805_2012MetricD8
1RINGTestPoint:TestPoint_Loop_D1.80mm_Drill1.0mm_BeadedTP1
1SM712Package_TO_SOT_SMD:SOT-23D4
1SS34Diode_SMD:D_SMAD5
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1

The 69 most common of 70 parts.

Similar boards

  • 4 layers100 × 70 mmMtb rc, the printed circuit board in 3D

    Mtb rc

    kmzbrnoI/mtb-rc

    RailCom detector

    166 parts1
  • 4 layers53.5 × 53 mmHwexla, the printed circuit board in 3D

    Hwexla

    kmzbrnoI/hWexla

    Turnout controller

    93 parts
  • 2 layers99.1 × 69.9 mmAtoomnetmarc IoT12 IoT12 Control Board, the printed circuit board in 3D

    Atoomnetmarc IoT12 IoT12 Control Board

    punkfab/pcb-corpus

    235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark

    73 parts1
  • 4 layers100 × 100 mmA SGSS cskpin routed, the printed circuit board in 3D

    A SGSS cskpin routed

    ThatguyCplus/throttleECU

    STM32F411CE Throttle ECU — PID position control with AS5048A encoder, H-bridge motor, safety module

    571 parts1
  • 2 layers132 × 56 mmDashboard, the printed circuit board in 3D

    Dashboard

    marcutudor79/electronic-module-for-the-dashboard-of-upbdrive-racing-car

    My Bachelor's degree that consists of the electronic module for the Formula Student race car and it's testing module

    127 partsApache-2.0
  • 2 layers55 × 55 mmDevice-1, the printed circuit board in 3D

    Device-1

    erdemcanaz/MODBUS

    The goal of this project is to design a hardware implementation that enables wireless Modbus communication using the LoRa protocol.

    64 parts1
  • 4 layers130 × 150 mmCampervan management V2, the printed circuit board in 3D

    Campervan management V2

    akladnig/CamperVan

    - CamperVan Design and Arduino Circuit Design - Campervan Design Overview - Dashboard App - Electrical System - Sensors - Circuit Design - Battery and voltage monitoring - Voltage Divider Design - Low Pass Filter - TODO

    183 parts
  • 2 layers166 × 60 mmCase Subt, the printed circuit board in 3D

    Case Subt

    ayuusweetfish/Tuengel

    (🚧✔️ Docs to-do) 《图恩格尔》· 多媒体舞台敲击装置部分 · Multimedia stage, robotic mallets component · 北京艺术与科技双年展 BATB 2024

    118 parts

Questions

How big is the Mtb led PCB?

It measures 120 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mtb led use?

70 parts, built around the ATMEGA328PB-AU, MAX487EPA+, TLC5940PWP and BZX84C18. 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 Mtb led KiCad files?

From the kmzbrnoI/mtb-led-hw repository on GitHub, at the commit this page was made from: the board is mtb-led.kicad_pcb and its schematic example/mtb-led-example/mtb-led-example.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mtb led design in my own project?

Its repository publishes it under the CC-BY-SA-4.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).