Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.18 KB

README.md

File metadata and controls

19 lines (11 loc) · 1.18 KB

Brickrail

Work in progress LEGO train automation software for PoweredUp

anim

Intended to be used with LEGO PoweredUp trains and LEGO PoweredUp/Control+ hubs as stationary controllers (for motorized switches) with easy to install and uninstall pybricks firmware.

This project contains microphython programs running on the LEGO hardware, a python server that handles BLE communication with the devices, and a GUI running in Godot game engine that also handles the Train route and scheduling logic. Communication between GUI and python server is done through websockets.

As of now, trains detect their location via a Boost Color and Distance Sensor pointed dowwards onto the track. Colored markers signal the bounds of block sections.

GUI screenshot

Here's a video of Brickrail in action with a multi-layered layout.

Head to the Wiki to learn more about how to run Brickrail with your LEGO train layout.

Watch this quick guide for a minimal setup of PoweredUp devices with Github!