This is the official firmware for our DragonRailway Project. TrainControl_BLE allows wireless control of a DragonRailway locomotive via Bluetooth (BLE).
-
Compatible with upto 2 motor drivers and 6 leds.
-
Realistic LED fade on/off.
-
BLE remote control from Android/IOS device to locomotive control board.
-
Intuitive App interface designed in RemoteXY.
The TRACKLINK board is our custom designed control board for DragonRailway. It comes with the necessary components for your convenience:
- 2 DC Motor Drivers: control the train's drive motors.
- 6 LED Drivers: control lights on the train (headlights, tail lights, cablight, walkwaylight, ditchlight etc.)
- Voltage sensor: Detects the battery voltage - for low battery warning
- 1 MAX98357 Amplifier: Audio output playing train horn sounds or other effects (Not implemented yet).
This project will still work with standard dev boards. However, you will need to manually connect external motor drivers. Below are some recommended modules:
- DC Motor Control: Connect external motor drivers (like L298N or TB6612FNG)
- LEDs: Use resistors with LEDs and connect them to available GPIO pins.
- Voltage sensor: Use voltage divider circuit to detect battery voltage.
- RemoteXY app Android/IOS - https://remotexy.com/en/download/
- VSCode with PlatformIO extension
- Download VScode https://code.visualstudio.com/
- Install PlatformIO directly from VSCode
2024 DragonRailway - 100% open source