

LocoBuffer
Digital Trains
- Size
- 75 × 50 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 48
- Nets
- 56
- Pads
- 230
- Tracks, vias
- 186, 16
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 14 Feb 2019
- Updated
- 2 Mar 2025
Overview
LocoBuffer is an open-source printed circuit board by danielvilas, from the danielvilas/DigitalTrains repository on GitHub, published under the MIT licence. It is a 4-layer board of 75 × 50 mm with 48 parts on 56 nets, routed with 186 tracks and 16 vias.
It is built around the ATMEGA32U4-MU and LM311. Its parts include 18 resistors, 7 capacitors, 6 connectors, 5 diodes and 3 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2ATMEGA32U4-MU
VQFN-44-EP(7x7)-40℃~+85℃ 10bit 16MHz 1KB 2.5KB 2.7V~5.5V 26 32KB 8 Bit AVR Built-in FLASH VQFN-44-EP(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)LM311
SOP-80℃~+70℃ 1 1.7nA 2.4mA 200ns 2mV 36V 45nA 5V~30V TTL、CMOS ±15V SOP-8 Comparators ROHSGcoreComparators
README
README.mdDigitalTrains
Digital Trains is a repository for storing and sharing my DCC/LCC setups
Up to Date this contians Circuits, boards and projects usefull for my model layout. Each folder is a project I started. some are finished, others are Work In Progress
| Folder | Description | Status1 |
|---|---|---|
| ArduinoDCC++ | Board for use whit DCC++ | Deprecated for DccBlocks |
| Breaker | DC breaker board, shorts protections | Frozen, no need on DCC2 |
| dcc-turnout | Board to control a turnout with servo | Alive - prototype phase |
| dcc-turnout-config | Tool to configure the dcc-turnout boards | Alive - conceptual design |
| DccBlocks | Components to create a DCC system whit DCC++. Has subprojects | Stall - currently works, needs update to DCC++EX |
| docs | Different documents may be usefull | Alive - Slow |
| Esp32Lcc | Use an ESP32 as node for LCC | Stall - Reading about |
| Interfaces | Reference Designs to add conectivity | Done - until new needs |
| kibot | Yaml Config for kibot scripts.. | Done - until new needs |
| Libs | KiCad Libraries | WIP |
| MimicPanel | Hardware and software to create Mimic Panels | WIP |
| pcbdraw | PcbDraw Library | WIP |
| STM32103_Devel | STM32F103 Custom board | Depecated for refenece repository |
Versioning
First projects uses a folder per version system, easy to follow, easy to view older versions, but mess the file system.
Current system based on tags, and the creation of doc directories with PDFs of the schematic and the layers.
Tags of projects
- db_dt_VERSION -> DccBlocks/Detection
- dt_VERSION -> DccTurnout
- dt_ms_VERSION -> DccTurnout/Modules/ServoPmosModule
- db_abc_stop_VERSION -> DccBlocks/ABC/AbcStop
- db_pd_VERSION -> DccBlocks/DccPowerDistribution
- i_lb_esp32_VERSION -> Interfaces/LocoBufferEsp32/board/LocoBufferEsp32
- i_lb_esp32_c_VERSION -> Interfaces/LocoBufferEsp32/board/LocoBufferEsp32Craddle
Footnotes
Parts
48| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 470 | Resistor_SMD:R_0805_2012Metric | R6, R8, R14, R15, R18 |
| 5 | LED | LED_SMD:LED_0805_2012Metric | D1, D2, D3, D4, D5 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_ISO7380_Pad | H1, H2, H3, H4 |
| 3 | 100nf | Capacitor_SMD:C_0603_1608Metric | C4, C6, C7 |
| 2 | 10K | Resistor_SMD:R_0805_2012Metric | R1, R13 |
| 2 | 1uf | Capacitor_SMD:C_0805_2012Metric | C3, C5 |
| 2 | 22 | Resistor_SMD:R_0805_2012Metric | R16, R17 |
| 2 | 22pf | Capacitor_SMD:C_0603_1608Metric | C1, C2 |
| 2 | 2N3904 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2 |
| 2 | 4.7K | Resistor_SMD:R_0805_2012Metric | R9, R11 |
| 2 | Conn_01x12 | Connector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_Vertical | J4, J5 |
| 2 | RJ12 | LocoNetInterface:AMPHENOL_RJE0166001 | J2, J3 |
| 1 | 150K | Resistor_SMD:R_0805_2012Metric | R5 |
| 1 | 1K | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 220K | Resistor_SMD:R_0805_2012Metric | R7 |
| 1 | 22K | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 47 | Resistor_SMD:R_0805_2012Metric | R10 |
| 1 | 47K | Resistor_SMD:R_0805_2012Metric | R4 |
| 1 | ATmega32U4-MU | Package_DFN_QFN:QFN-44-1EP_7x7mm_P0.5mm_EP5.2x5.2mm | U2 |
| 1 | Crystal_GND24 | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | ICSP | Connector_IDC:IDC-Header_2x03_P2.54mm_Vertical | J1 |
| 1 | LM311 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | MICROXNJ | LocoNetInterface:SHOUHAN_MICROXNJ | J7 |
| 1 | Polyfuse | Resistor_SMD:R_0805_2012Metric | F1 |
| 1 | ProMicro | LocoNetInterface:ProMicro | U3 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1 |
More from danielvilas/DigitalTrains
12- 2 layers100 × 88 mm

- 2 layers70 × 67.5 mm

- 4 layers95 × 46 mm

- 2 layers100 × 88 mm

- 2 layers100 × 88 mm

- 4 layers84.5 × 92 mm

- 4 layers95 × 30 mm

- 4 layers95 × 30 mm

- 2 layers70 × 52.5 mm

- 4 layers69 × 50 mm

- 2 layers100 × 50 mm

- 2 layers100 × 50 mm

Similar boards
- 2 layers58 × 110 mm

- 2 layers215 × 100 mm

- 4 layers80 × 80 mm

- 2 layers216 × 150 mm

Motherboard-101
artemisamsx/artemisa
Schematics, PCB designs and HDL simulations to build a 8-bits MSX computer
124 parts67 - 2 layers101.6 × 147.3 mm

Karabas pro revER
andykarpov/karabas-pro
FPGA based retrocomputer with FDD and HDD controllers
223 parts37MIT - 2 layers44 × 100 mm

HP45 Standalone V4.02
yvodehaas/HP45-standalone-controller-V4.02
HP45 standalone controller V4.02
90 parts36GPL-3.0 - 4 layers55.9 × 78.7 mm

- 2 layers217.2 × 113 mm

Junior interface
laurent-fr/junior_computer_replica
A replica of the Junior Computer (a KIM-1 clone) published by Elektor in the 80's
120 parts14
Questions
How big is the LocoBuffer PCB?
It measures 75 × 50 mm and has 4 copper layers, 1.6 mm thick.
What parts does the LocoBuffer use?
48 parts, built around the ATMEGA32U4-MU and LM311. 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 LocoBuffer KiCad files?
From the danielvilas/DigitalTrains repository on GitHub, at the commit this page was made from: the board is Interfaces/LocoBuffer/board/LocoBuffer/LocoBuffer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the LocoBuffer design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).