Bottom HAT Train Control Circuit

PetervanderMeij·train-controller·kicad/bottom-hat/Bottom HAT.kicad_pcb

Bottom HAT Train Control Circuit layout, top view — open source Raspberry Pi board by PetervanderMeij

About the Bottom HAT Train Control Circuit

Bottom HAT Train Control Circuit is an open source Raspberry Pi PCB design by PetervanderMeij, published on GitHub. It is a 2-layer board measuring 85.6 × 56.5 mm, with 57 components from 19 distinct parts.

Its main chip is the RASPBERRY_PI_B_2, from the Raspberry Pi family. Other key parts include the LTV-847 and MCP3008. By type, the board carries 30 resistors, 10 transistors, 7 connectors, 6 diodes, 2 ICs and 1 jumper.

It belongs with the dev boards & breakouts designs in this gallery.

From the project

Raspberry Pi model train controller

A Raspberry Pi–based model train controller. Automatically runs a train between two platforms, handling acceleration/deceleration, platform stopping, track switching, and safety cutoffs — with a web dashboard for monitoring and manual control.

- Raspberry Pi 2B - Two custom PCBs for level-shifting and motor drive: - Bottom Hat: 3.3V → 5V level shifting (BC337 transistors), with a hardware SR-latch overcurrent safety circuit - Top Hat: 5V → 12V level shifting into an IRF4905 P-channel MOSFET, driving the motor directly - Sensors for slow-zone detection and platform stop detection (Platform A…

Main components on the Bottom HAT Train Control Circuit

Bottom HAT Train Control Circuit bill of materials (BOM)

57 components, 19 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
LTV-847
U1
1
MCP3008
U2
10
BC337
Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8 +2
1
IRDOTs
J1
1
A/B
J2
1
RASPBERRY_PI_B_2
Raspberry_Pi_B_2
J3
1
PBS
J4
1
PBS LED
J5
1
Phone Jack for Setup Potmeter
J6
1
CONN_01X12
Conn_01x12
J7
1
Alt.+5V Supply to RPi
JP1
1
P5 Pi GPIO 030 pin 5
SP1
6
1N5819
1N6857
D1, D2, D3, D4, D5, D6
19
10K
10k
R1, R2, R3, R4, R7, R8, R9, R10 +11
3
1.5K
1.5k
R5, R6, R19
2
1kΩ
R12, R17
1
150Ω/85Ω
R14
4
1k
R18, R24, R27, R30
1
6.8K
6.8k
R22

Bottom HAT Train Control Circuit design files

The KiCad project lives in the PetervanderMeij/train-controller repository on GitHub; these links point at the commit this page was built from.

Bottom HAT Train Control Circuit: common questions

What microcontroller does the Bottom HAT Train Control Circuit use?

The Bottom HAT Train Control Circuit is built around the RASPBERRY_PI_B_2, from the Raspberry Pi family.

How big is the Bottom HAT Train Control Circuit?

The Bottom HAT Train Control Circuit measures 85.6 × 56.5 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Bottom HAT Train Control Circuit?

57 components, from 19 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the Bottom HAT Train Control Circuit design files?

From the PetervanderMeij/train-controller repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Bottom HAT Train Control Circuit design in my own project?

The repository has no license, so all rights stay with PetervanderMeij. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Bottom HAT Train Control Circuit without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug Raspberry Pi firmware against it before you order a PCB.

More boards in train-controller

Similar boards