Documentation > nControl > Getting Started
Controlling SBrick Trains
For nControl™ 2019.2 or higher
This page explains how to control SBrick trains from nControl™.
Introduction
To control an SBrick with our nControl™ automation software you need:
  • A BLE112 Bluetooth dongle. The dongle will make the Bluetooth connection with the SBrick and allows our software to communicate with your train. You really need a BLE112 dongle, the standard Bluetooth board in you computer or a generic Bluetooth dongle will not work.
  • Am SBrick license of subscription for nControl™.
  • A computer that runs our nControl™ software. Additionally you can use a mobile device to remote control your SBrick trains.
Once you're set-up you'll be able to:
  • Control your SBrick trains with Python™ programs and integrate them into an automated layout.
  • Control multiple trains with the same mobile device.
License
nControl™ requires a license to connect non 4DBrix™ devices. For the SBrick trains you either needs:
  • an SBrick License
  • a nControl™ subscription
For this tutorial we'll use a free SBrick trial license.
The first step is to create a 4DBrix account, as the account is used to manage the licenses. Go to www.4dbrix.com/user and click the Sign Up button if you don't have an account.
If you have a 4DBrix account, go to www.4dbrix.com/user and log in. Click on Open your license management panel in the Licenses tile.

Then click on the Start Trial License button to start your 30 days free trial license. After accepting the trial license by clicking the Yes button in the dialog window it should be activated:

You're now all set to connect your Brick train to nControl™.
Login Credentials
nControl™ needs the log in credentials of your 4DBrix account in order to find your SBrick license, so the first step is to enter them and restart the software. The video below shows how to do that.



After restarting, nControl™ should be connected to our web server and see your license. You can check that in the About dialog box.

Registering the SBrick
The first step in connecting to a new SBrick is to register it. This step only have to be done the first time you use this particular SBrick with nControl™. Make sure your BLE112 dongle is connected before starting the scan. Once the SBrick is found, give it an alias; that's the name that will be used for this brick in nControl™.

Connecting to the SBrick
Once the SBrick is registered you can connect to it as shown below.

Piloting the Train
To pilot your SBrick train you have to make a train control tile. Make sure the Label of the tile corresponds with the Alias of the SBrick, as the Label of the tile determines to which SBrick the control signals are sent.


Now that your SBrick train is connected you can control it with the train control tile, control it with Python™ scripts or export the project to a web interface and control it with a mobile device.