Control your Lego Powered Up Trains from your PC or phone! You can even do so with a gamepad (or more than one!) Try it out at https://ronnyporsch.github.io/TrainController
- Control speed and Light
- Gamepad Support: use your Xbox Gamepad to drive your trains
- Control multiple trains at the same time: When using a Gamepad, you can select multiple trains to control at once
- Multiplayer: Use multiple Gamepads simultaneously at the same time to control different trains
- Download the latest Release (Windows and Android only)
- Run the application:
- Windows:
- Unzip the TrainController.zip
- Run TrainController.exe
- Android: Install and run the TrainController.apk
- Browser: Open https://ronnyporsch.github.io/TrainController
- Windows:
- (Optional) Connect up to four Gamepads
- Turn on your Lego Trains
- Enjoy!
- Clone the repository
- Run the app on your target platform:
- Windows:
.\gradlew composeApp:run - Android:
- connect your Android device
- install the app using
.\gradlew composeApp:installDebug
- Browser::
.\gradlew wasmJsBrowserProductionRun
- Windows:
- This program only works with the Lego City Powered Up Hubs (found for example in the current Passenger and Freight Trains )
- The program expects the Motor to be on Port A of the train hub, the light (if available) on Port B
- Gamepad Support was only tested with Xbox One Gamepads. Others may or may not work properly
- The Browser version requires support for the Web Bluetooth API
This software was inspired by the amazing Brick Automation Project