Connect your EX‑CommandStationhardware to your computer via USB. Make sure your USB Cable is connected from your computer to the EX-CommandStation. Make sure no other programs (like the Arduino IDE) are using the same USB port.
Antivirus Software You may need to turn off your antivirus software before you try to install. Sometimes our software gets blocked by antivirus apps. If you see any errors on the install screen, this is usually the issue.
Find the folder in which the EX-Installer-Win64.exe or EX-Installer-Win32.exe was saved. Generally this will default to downloading to the downloads folder but your browser may be configured differently.
Note: depending on the configuration of your computer the ‘.exe’ may or may not appear. This is not of concern.
For Apple macOS:
Open a terminal window and navigate to the that folder that you downloaded the file to. e.g.: cdDownloads
Enter the following command to tell the OS that it is an executable: chmod+xEX-Installer-macOS
Run the installer with the following command: ./EX-Installer-macOS
For Linux:
Right-click on the file, go to Properties, then the Permissions tab, and check “Allow executing file as program”
Open a terminal window and navigate to that folder
Run the installer with the following command: ./EX-Installer-Linux64
Warning
EX-Installer creates then maintains a folder (<home>\ex-installer) to hold the information it needs. Do not directly modify anything in this folder as it may be overwritten or deleted by the installer at any time.
This screen provides some basic information about the process of loading the Software.
There is a debugging option on this page. If enabled this provides additional information about what is happening during the loading process. Unless you are having difficulties, or have been requested to enable this by one of our team, you do not need to select this.
This screen allows you to install or update the Arduino Command Line Interface (CLI).
We use the Arduino Command Line Interface (CLI) to upload the DCC-EX products to your Arduino. The CLI eliminates the need to install the more daunting Arduino IDE. EX-Installer is able to manage the installation and updating of the Arduino CLI for you at the click of a button.
If you have not installed the CLI previously you will see a Install Arduino CLI button.
If have previously installed the CLI you will see a Refresh Arduino CLI button.
Note
Enabling additional platforms will take more space on your hard drive and is likely to add several minutes to the installation process. Maybe grab a cup of tea or a coffee!
If you are using an Espressif or STMicroelectronics device, as opposed to the more common Uno or Mega based Arduinos, you will need to enable support for these by selecting the appropriate additional platform option.
You must have Arduino CLI installed to proceed, simply click the Install Arduino CLI button if it is showing.
If you already have the Arduino CLI installed, it is recommended that you refresh it periodically (e.g. weekly) to ensure support for the various device details are kept up to date. To refresh the CLI, simply click the Refresh Arduino CLI button.
Once the CLI is installed, To proceed, click the Select your device button.
On this screen you will need to a) select the type of device you wish to load the EX‑CommandStation software onto, and b) the USB port you have connected the device to on your computer.
EX‑Installer will attempt to work out both of these for you, but it may need assistance.
When navigating to this page, a scan for devices will start automatically.
If you see No devices found it means that you either a) have not connected the device to the computer, or b) the device was not recognised by the computer.
No Devices Found
If you have not connected the device, connect it now then click the Scan for Devices button again.
If the device is connected but not found refer to the Diagnosing Basic Problems page for assistance.
EX‑Installer will attempt to work out what type of Arduino you have connected, but in some cases it will not be able to do so. (This is especially common with cheap clone devices.)
Check and select the appropriate board from the drop down list.
Once you have a port and device type selected, to proceed, click the Select product to install button.
Currently, EX‑CommandStation, EX‑IOExpander, and EX‑Turntable can be installed by the EX‑Installer, however this page will focus only on EX‑CommandStation. For the other products, refer to the relevant documentation section.
Figure 96 EX-Installer - EX-CommandStation version screen
On this screen you need to select:
Which version of the EX-CommandStation software you wish to load
How you wish to configure the software
Which version
Select which version of the EX‑CommandStation software to load onto your hardware. If you are unsure, or unless you have been otherwise directed by the support team, we recommend you select LatestProduction.
Options are:
Latest Production - Recommended!
Latest Development
Select a specific version
How to configure
Select how you wish to configure your EX‑CommandStation. Unless you are updating a previous version that you manually configured, or want to manually make advanced configuration changes, select Configureoptionsonthenextscreen
If you select Usemyexistingconfigurationfiles you will be prompted to find the folder where the configuration files are located:
Click the Browse button and navigate through your computer’s folders and files to select the location containing your existing configuration files
Select one of the files in the folder and click the Open button to select it
The chosen folder will be displayed
If you have selected Configureoptionsonthenextscreen, to proceed, click the Configure EX-CommandStation button.
If you have selected Usemyexistingconfigurationfiles, to proceed, click the Advanced Config button. In this case you will be presented with the ‘Advanced Config’ screen.
You must select the motor driver type that you have installed. The installer can’t detect this, so you must select the correct board or the EX‑CommandStation may not work.
These options are determined from the chosen version of EX‑CommandStation, and may include:
STANDARD_MOTOR_SHIELD
EX8874_SHIELD
POLOLU_MOTOR_SHIELD
FIREBOX_MK1
FIREBOX_MK1S
FUNDUMOTO_SHIELD
IBT_2_WITH_ARDUINO
YFROBOT_MOTOR_SHIELD
ORION_UNO_INTEGRATED_SHIELD
NANOEVERY_EXAMPLE
This list will change over time as new motor drivers are added, and any older ones no longer supported are removed.
If you have installed and optional oLED or LED display, enable the Ihaveadisplay option, which will present you with a drop down list to select the type of display you have.
If you have installed and optional WiFi board, or are using a microcontroller board with integrated WiFi, enable the IhaveWiFi option, which will enable the WiFi Options tab, allowing you to configure the WiFi settings.
You can configure the WiFi for EX-CommandStation two ways:
Access Point mode You can configure for EX-CommandStation to have its own, completely isolated, WiFi Network. This is referred to as Access Point Mode. (Most useful if your layout is away from the house, or you transport your layout frequently, or do not want to give guests access to your home WiFi.) To enable, select UsemyEX-CommandStationasanAccessPoint
Station mode The EX-CommandStation can be setup so that it connects to your existing home WiFi Network. This is referred to as Station Mode. To enable, select ConnectmyEX-CommandStationtomyexistingwirelessnetwork
If possible, choose a channel that is unused (or least used) by other WiFi networks around your location.
There are numerious phone apps that can help you determine which channels are being used by other networks. For Android, ‘Wifi Analyzer’ is one that works. For iOS ‘Netspot’ is suitable (you don’t need to purchase WiPry device they mention).
If UsemyEX-CommandStationasanAccessPoint is selected, two additional options are presented:
WiFi Password
WiFi Channel
WiFi Password is optional. If this field is left blank the password will default to ‘PASS_xxxxx’ where ‘xxxxx’ will be the same as the SSID name that will be automatically configured.
WiFi Channel can be any value from 1-11.
Connect my EX-CommandStation to my existing wireless network
Figure 103 EX-Installer - Configure Wifi - Station Mode
If ConnectmyEX-CommandStationtomyexistingwirelessnetwork is selected, two additional options are presented:
Wifi SSID
WiFi Password
Both are required.
Wifi SSID is the name of your home network.
WiFi Password is the password for your home network.
Additionally, if you choose, you may customise the WiFi hostname, or leave it as the default “dccex”.
Note
See the WiFi Configuration page for more detailed information on the the WiFi options.
If you have selected an appropriate version of EX‑CommandStation, you will be able to enable the option to configure TrackManager. If the ConfigureTrackManager switch is disabled, you have not selected a version that includes the TrackManager feature.
Enabling this option will enable the TrackManager Config tab.
If you wish to edit the ‘config’ files directly, select this option. An additional screen will be presented for to edit the main config files.
Note there is an additional option CreatemyAutomation.h that allows a blank myAutomation.h file to be created, which you can edit on the following Advanced Config screen. Leaving this option disabled means a myAutomation.h file will not be generated if it is not required, which saves memory on your EX‑CommandStation device.
Unless you have selected Advanced Config, to proceed, click the Compile and Load button. See iv below.
If you have selected Advanced Config, to proceed, click the Advanced Config button. See iii below.
Figure 109 EX-Installer - Advance Config - more than two files
If you have selected AdvancedConfig on the previous screen, or if you chose to copy your existing configuration files, you will be presented with this screen.
On this screen you can edit the configuration files. If you have more than two files to edit, they will be separated into tabs as shown in the second figure above.
Note that if you did not enable any options requiring myAutomation.h, and did not enable CreatemyAutomation.h, you will only be able to edit config.h on this screen.
To proceed, click the Compile and Load button. See iv below.
After loading the software onto your device, you can optionally copy the generated configuration files to a folder of your choice as a backup by clicking the Backup config files button.
You will be prompted to select a folder, and if the chosen folder already contains config files, you can overwrite these, or you can select an alternative location.
The programming track is for programming only. Make sure you are on the main track if you expect your loco to move or respond to light or sound commands.
Click here or click the “next” button to learn how to test and use your EX‑CommandStation.