Microcontroller Boards

CommandStation-EX currently is designed for Arduino and select microcontollers. Out of the box, it is compatible with the following boards:

  • Arduino Mega [RECOMMENDED]

  • Mega+Wifi (Tinkerer Level)

  • Arduino Uno

  • Arduino Nano

  • Nano Every

  • Teensy 3.x & 4.x

Why do you recommend the Mega?

  • When compiled, our code just barely squeezes onto an Arduino Uno. A mega allows you to add more features like networking and displays because it has more memory.

  • The Mega has many more GPIOs (General Purpose Input/Outputs) available to you for constructing control panels and controlling turnouts, signals and other accessories.

  • The Mega has more hardware serial ports. You can connect a WiFi board and something else like Bluetooth at the same time.

  • The mega is only modestly more expensive than an Uno, with clones available for less than $10 USD.

  • See the special note about the Mega+WiFi board below for a board that has the microcontroller and WiFi already on one board.

Arduino Mega Microcontroller

If you already have an Uno, or will use JMRI to control your trains, then by all means use an Uno.

What about the Nano?

The Arduino nano shares the same processor with the Arduino Uno, so we support it. The nano has a different form factor than the Uno or Mega, so motor driver shields will usually need to be attached with jumper wires. There is a carrier board with an Arduino Motor Shield compatible circuit you can plug your Nano into. Other than having to solder and size, the Nano is in every way as capable as an Arduino Uno.

See our section on Using a Nano

A Special Note about the WiFi+Mega

Tinkerer level

Do you know you are going want WiFi connectivity to connect your Throttle directly to your Command Station? Are you ok with having to throw a few switches and upload a bit of firmware onto the built-in ESP8266 WiFi chip? The process is easy, but since in involves having to use another bit of software and requires a couple of more steps, we labelled this option for Tinkerers, but it doesn’t involve any soldering or jumper wiring.

See our section on Using the WiFi+Mega Page

Will you support other microcontrollers in the future?

Yes, that is on our roadmap.

Click here for a complete Shopping List

Boards that will NOT work

WAVGAT Uno clone - This board is NOT 100% Uno compatible. It uses a LGT8F328P processor from a company in China called “Logic Green”. It has no EEPROM and requires a bit of configuration in the Arduino IDE to get it to be seen corretly and compile skethes. It is, however, a good board for developing other applications on because it can be switched to run at 32mHz instead of 16. It also has 12 bit analog pins instead of 10 bit. That means higher resolution readings, 0-4096 instead of 0-1024. It could potentially work as a CS with more testing and some code changes, but we will leave that to someone else to attempt. Megas and Mega clones offer more memory, more serial ports and more GPIO pins and are just a better way to go for the future.

ESP32 - Great little board, however it is a completely different architecture so the same code will not work on it. It is made by Expressif. We currently support only the Atemel family of processors and the PJRC Teensy. It also is a smaller board so shields would have to be connected with jumpers.

Click here for a complete Shopping List