Skip to content

LEGO Train automation software for PoweredUp

License

Notifications You must be signed in to change notification settings

wcnvessies/brickrail

 
 

Repository files navigation

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!

About

LEGO Train automation software for PoweredUp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GDScript 74.4%
  • Python 25.6%