Skip to content

ScottGibb/Train-Driver-Hardware

Repository files navigation

Train Driver Hardware

MegaLinter KiCad

Hardware design files for the Train Driver project.

Overview

This repository currently contains the KiCad project and schematic for a simple MCU-based circuit intended to drive two PWM-controlled trains.

A STM32F103C8T6 Blue Pill is used as the main controller, reading two potentiometers and then running two FET drivers via PWM.

A snippet of the transister driver circuit is shown below:

FET Driver Circuit

A full bridge rectifier is also used, to which a snippet is also shown below:

Power Regulation Circuitry

Falstad Simulation

Falstad was also used to simulate parts of the circuit, the simulations can be found in .txt format in the simulations folder.

We can see the circuits below:

Recitifier Simulation

Rectifier Simulation

PWM Channel Simulation

FET Driver Simulation

Bill of Materials

The Bill of Materials can be found in the GitHub releases, which is created automatically by the Kicad GitHub Actions workflow.

Useful Links

About

Replacement Hardware for a Gauge Master Train Driver

Topics

Resources

Stars

Watchers

Forks

Contributors