Documentation > nControl > Getting Started
This article explains how to control LEGO® trains (PF motor) with nControl using a WiFi train controller.
Configuring the train controller
The first step is to configure the train controller for your WiFi network and computer you're running nControl on. A detailed description on how to do that can be found here.
Creating the train control tile
Trains can be piloted with train control tiles. To create one: switch to Configuration Mode by clicking the button in the main toolbar and select the train control tile in the panel on the left-hand side.
This will open the Edit Train Control Properties dialog window: The two most important settings are Label and Motor Position:
Controlling trains from nControl
To control your train, switch to Operational Mode by clicking on the icon.
You can now control the train with your train control tile:
Controlling trains with mobile devices
You can control the trains with a phone of tablet as well. To do this, you need to:
Automating trains
You can automate the train by, for example, making them respond to train detection sensor feedback.
You can do this with Python scripts in tiles of the devices to which the train has to respond.
The API functions to control the train can be found here.
Troubleshooting
If your train does not respond:
|