1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-04-20 20:21:18 +02:00
Asbelos 5ea6feb11a Squashed commit of the following:
commit 8987d622e60fb27174203ce47b49462a01ecb61c
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Apr 9 20:44:47 2024 +0100

    doc note

commit 8f0a5c1ec0fde18dbb262311a1ef5ef79d571807
Author: Asbelos <asbelos@btinternet.com>
Date:   Thu Apr 4 09:45:58 2024 +0100

    Exrail notes

commit 94083b9ab8a2322c39b7087c522730569194b732
Merge: 72ef199 02bf50b
Author: Asbelos <asbelos@btinternet.com>
Date:   Thu Apr 4 09:08:26 2024 +0100

    Merge branch 'devel' into devel_chris

commit 72ef199315d1c7717331864abb11730890fd3162
Author: Asbelos <asbelos@btinternet.com>
Date:   Thu Apr 4 09:06:50 2024 +0100

    TOGGLE_TURNOUT

commit e69b777a2f62104dd8b74ba688b950fa92919d54
Author: Asbelos <asbelos@btinternet.com>
Date:   Wed Apr 3 15:17:40 2024 +0100

    BLINK command

commit c7ed47400d5d89c0b8425ec12b1828e710fb23ec
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Apr 2 10:12:45 2024 +0100

    FTOGGLE,XFTOGGLE

commit 7a93cf7be856afd30f6976a483b1db4bfc4073a1
Author: Asbelos <asbelos@btinternet.com>
Date:   Fri Mar 29 13:21:35 2024 +0000

    EXRAIL STEALTH_GLOBAL
2024-04-09 20:45:28 +01:00
2022-03-29 11:59:40 -04:00
2023-10-10 12:11:49 +01:00
2020-05-25 01:43:34 -06:00
2024-03-08 20:33:11 +00:00
2020-12-08 07:34:59 -05:00
2024-04-06 23:49:26 +01:00
2024-04-06 23:41:25 +01:00
2024-04-06 13:19:56 +01:00
2024-04-06 13:19:56 +01:00
2024-01-10 12:11:14 +00:00
2024-04-06 23:41:25 +01:00
2024-02-20 15:06:07 +01:00
2024-02-20 15:06:07 +01:00
2024-02-20 15:06:07 +01:00
2024-02-20 15:06:07 +01:00
2023-11-15 19:29:24 +00:00
2023-02-23 10:36:42 +00:00
2022-07-30 23:08:42 +02:00
2022-05-17 18:06:08 +08:00
2024-04-09 20:45:28 +01:00
2024-04-09 20:45:28 +01:00
2023-11-21 21:14:54 +00:00
2024-04-06 19:48:02 +02:00
2023-02-10 18:21:06 +00:00
2024-01-20 23:35:30 +01:00
2023-02-25 11:43:36 +00:00
2023-04-11 10:26:15 +10:00
2022-02-16 12:02:11 -05:00
2023-04-11 10:26:15 +10:00
2023-03-31 17:58:30 +01:00
2023-04-05 23:19:43 +01:00
2023-02-23 20:23:08 +00:00
2024-01-20 22:15:47 +01:00
2024-02-24 17:24:55 +01:00
2023-03-09 15:59:52 +00:00
2023-09-23 16:10:16 +01:00
2024-03-23 13:31:34 +10:00
2023-11-26 12:31:41 +00:00
2024-01-14 20:20:22 +00:00
2024-01-14 20:20:22 +00:00
2024-01-10 16:08:11 +00:00
2023-02-12 20:38:03 +01:00
2022-01-07 02:28:35 +01:00
2020-06-12 22:51:42 -06:00
2024-03-18 21:17:51 +01:00
2022-06-18 13:58:46 +01:00
2020-09-26 22:28:29 +02:00
2022-01-07 02:28:35 +01:00
2022-01-07 02:28:35 +01:00
2024-02-11 23:19:51 +01:00
2022-02-17 15:00:59 -05:00
2022-12-16 13:14:48 +00:00
2024-02-07 22:11:27 +00:00
2024-02-07 22:11:27 +00:00
2022-06-10 12:22:28 +01:00
2023-02-25 11:42:43 +00:00
2023-02-16 16:41:13 +00:00
2022-06-10 12:22:28 +01:00
2022-12-16 13:14:48 +00:00
2023-11-14 19:41:05 +00:00
2024-03-18 21:17:51 +01:00
2023-05-07 23:58:47 +02:00
2024-02-20 15:13:22 +01:00
2023-10-12 13:42:14 +10:00
2024-04-06 23:49:26 +01:00
2022-12-16 13:14:48 +00:00
2022-12-16 13:14:48 +00:00
2022-12-16 13:14:48 +00:00

What is DCC++ EX?

DCC++ EX is the organization maintaining several codebases that together represent a fully open source DCC system. Currently, this includes the following:

  • CommandStation-EX - the latest take on the DCC++ command station for controlling your trains. Runs on an Arduino board, and includes advanced features such as a WiThrottle server implementation, turnout operation, general purpose inputs and outputs (I/O), and JMRI integration.
  • exWebThrottle - a simple web based controller for your DCC++ command station.
  • BaseStation-installer - an installer executable that takes care of downloading and installing DCC++ firmware onto your hardware setup.
  • BaseStation-Classic - the original DCC++ software, packaged in a stable release. No active development, bug fixes only.

A basic DCC++ EX hardware setup can use easy to find, widely avalable Arduino boards that you can assemble yourself.

Both CommandStation-EX and BaseStation-Classic support much of the NMRA Digital Command Control (DCC) standards, including:

  • simultaneous control of multiple locomotives
  • 2-byte and 4-byte locomotive addressing
  • 28 or 128-step speed throttling
  • Activate/de-activate all accessory function addresses 0-2048
  • Control of all cab functions F0-F28 and F29-F68
  • Main Track: Write configuration variable bytes and set/clear specific configuration variable (CV) bits (aka Programming on Main or POM)
  • Programming Track: Same as the main track with the addition of reading configuration variable bytes
  • And many more custom features. see What's new in CommandStation-EX?

Whats in this Repository?

This repository, CommandStation-EX, contains a complete DCC++ EX Commmand Station sketch designed for compiling and uploading into an Arduino Uno, Mega, or Nano.

To utilize this sketch, you can use the following:

  1. (beginner) our automated installer
  2. (intermediate) download the latest version from the releases page
  3. (advanced) use git clone on this repository

Not using the installer? Open the file "CommandStation-EX.ino" in the Arduino IDE. Please do not rename the folder containing the sketch code, nor add any files in that folder. The Arduino IDE relies on the structure and name of the folder to properly display and compile the code. Rename or copy config.example.h to config.h. If you do not have the standard setup, you must edit config.h according to the help texts in config.h.

What's new in CommandStation-EX?

  • WiThrottle server built in. Connect Engine Driver or WiThrottle clients directly to your Command Station (or through JMRI as before)
  • WiFi and Ethernet shield support
  • No more jumpers or soldering!
  • Direct support for all the most popular motor control boards including single pin (Arduino) or dual pin (IBT_2) type PWM inputs without the need for an adapter circuit
  • I2C Display support (LCD and OLED)
  • Improved short circuit detection and automatic reset from an overload
  • Current reading, sensing and ACK detection settings in milliAmps instead of just pin readings
  • Improved adherence to the NMRA DCC specification
  • Complete support for all the old commands and front ends like JMRI
  • Railcom cutout (beta)
  • Simpler, modular, faster code with an API Library for developers for easy expansion
  • New features and functions in JMRI
  • Ability to join MAIN and PROG tracks into one MAIN track to run your locos
  • "Drive-Away" feature - Throttles with support, like Engine Driver, can allow a loco to be programmed on a usable, electrically isolated programming track and then drive off onto the main track
  • Diagnostic commands to test decoders that aren't reading or writing correctly
  • Support for Uno, Nano, Mega, Nano Every and Teensy microcontrollers
  • User Functions: Filter regular commands (like a turnout or output command) and pass it to your own function or accessory
  • Support for LCN (layout control nodes)
  • mySetup.h file that acts like an Autoexec.Bat command to send startup commands to the CS
  • High Accuracty Waveform option for rock steady DCC signals
  • New current response outputs current in mA, overlimit current, and maximum board capable current. Support for new current meter in JMRI
  • USB Browser based EX-WebThrottle
  • New, simpler, function control command
  • Number of locos discovery command <#>
  • Emergency stop command <!>
  • Release cabs from memory command <-> all cabs, <- CAB> for just one loco address
  • Automatic slot (register) management
  • Automation (coming soon)

NOTE: DCC-EX is a major rewrite to the code. We started over and rebuilt it from the ground up! For what that means, you can read HERE.

More information

You can learn more at the DCC++ EX website

  • November 14, 2020
Description
No description provided
Readme GPL-3.0 31 MiB
Languages
C++ 84.4%
C 13.5%
PowerShell 1.6%
Shell 0.4%
Batchfile 0.1%