

Mtb led
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
6ATMEGA328PB-AU
TQFP-32(7x7)-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 27 2KB 32KB 8 Bit AVR Built-in FLASH Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Watchdog reset、External pin reset (NRST)、Built-in general-purpose timer、Programmable watchdog、Touch function TQFP-32(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)MAX487EPA+
PDIP-8-40℃~+85℃ 1 1 250Kbps 4.75V~5.25V Transceiver PDIP-8 RS-485 / RS-422 ICs ROHSMaxim Integrated (Analog Devices)RS-485 / RS-422 ICsTLC5940PWP
HTSSOP-28-EP-40℃~+85℃ 120mA 16 30MHz 3V~5.5V 8% Over-Temperature Protection (OTP)、LED open-circuit protection PWM HTSSOP-28-EP LED Drivers ROHSTexas InstrumentsLED DriversBZX84C18
SOT-23Zener DiodeshongjiachengSM712
SOT-23-55℃~+125℃ 12A 16V、26V 1uA、2uA 2 300W 7.5V、13.5V 75pF 7V、12V Bidirectional ESD IEC 61000-4-2、IEC 61000-4-5 SOT-23 ESD and Surge Protection (TVS/ESD) ROHShongjiachengESD And Surge Protection (TVS/ESD)SS34
SMA(DO-214AC)-55℃~+125℃ 3A 40V 500uA@40V 550mV@3A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky Diodes
README
README.mdMTB-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.
$ makeParameters
- 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.
- Check module communicates on MTBbus.
- Check all LEDs are working.
- Check button is working.
- Calibrate
TS_OFFSET, check diagnostic including temperature measurement is working. - 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 100n | Capacitor_SMD:C_0805_2012Metric | C1, C2, C7, C8, C9, C10, C11, C13 |
| 8 | 10k | Resistor_SMD:R_0805_2012Metric | R2, R5, R7, R10, R12, R13, R14, R15 |
| 4 | ~ | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 4 | ~ | Connector_Phoenix_MC:PhoenixContact_MC_1,5_10-G-3.5_1x10_P3.50mm_Horizontal | J3, J4, J5, J6 |
| 3 | 1k | Resistor_SMD:R_0805_2012Metric | R6, R9, R11 |
| 3 | ~ | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | TP2, TP3, TP4 |
| 2 | 1N5819 | Diode_SMD:D_SOD-123 | D1, D9 |
| 2 | 22p | Capacitor_SMD:C_0805_2012Metric | C5, C6 |
| 2 | 22u/25V | Capacitor_SMD:C_0805_2012Metric | C3, C12 |
| 2 | 2k | Resistor_SMD:R_0805_2012Metric | R3, R4 |
| 2 | 2k2 | Resistor_SMD:R_0805_2012Metric | R1, R8 |
| 2 | AO3400/BSS138 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 2 | TLC5940PWP | Package_SO:HTSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP3.4x9.5mm_Mask2.4x6.17mm_ThermalVias | U3, U4 |
| 2 | ~ | Connector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_4-G_1x04_P5.00mm_Horizontal | J1, J2 |
| 2 | ~ | Connector_PinHeader_2.54mm:PinHeader_2x01_P2.54mm_Vertical | J8, JP1 |
| 1 | |||
| 1 | 14.7456 MHz | Crystal:Crystal_HC49-4H_Vertical | Y1 |
| 1 | 1A/2A | Fuse:Fuse_1812_4532Metric_Pad1.30x3.40mm_HandSolder | F2 |
| 1 | 200/400mA | Fuse:Fuse_1812_4532Metric_Pad1.30x3.40mm_HandSolder | F1 |
| 1 | 22u | Capacitor_SMD:C_0805_2012Metric | C4 |
| 1 | 50/100mA | Fuse:Fuse_1206_3216Metric | F3 |
| 1 | 78M05 | Package_TO_SOT_SMD:TO-252-2 | U2 |
| 1 | ATmega328PB-A | Package_QFP:TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | AVR-ISP-6 | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J7 |
| 1 | BLUE | LED_SMD:LED_0805_2012Metric | D7 |
| 1 | BT148 | Package_TO_SOT_SMD:SOT-223 | D3 |
| 1 | BZX84C18 | Package_TO_SOT_SMD:SOT-23 | D2 |
| 1 | DEBUG | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J9 |
| 1 | GREEN | LED_SMD:LED_0805_2012Metric | D6 |
| 1 | KK-254 | Connector_Molex:Molex_KK-254_AE-6410-05A_1x05_P2.54mm_Vertical | J10 |
| 1 | MAX487E | Package_DIP:DIP-8_W7.62mm_LongPads | U5 |
| 1 | RED | LED_SMD:LED_0805_2012Metric | D8 |
| 1 | RING | TestPoint:TestPoint_Loop_D1.80mm_Drill1.0mm_Beaded | TP1 |
| 1 | SM712 | Package_TO_SOT_SMD:SOT-23 | D4 |
| 1 | SS34 | Diode_SMD:D_SMA | D5 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1 |
The 69 most common of 70 parts.
Similar boards
- 4 layers100 × 70 mm

- 4 layers53.5 × 53 mm

- 2 layers99.1 × 69.9 mm

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 mm

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 mm

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 mm

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 mm

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 mm

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).