1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-27 22:31:24 +01:00
Go to file
2021-04-06 22:02:20 +02:00
.github/workflows yaml syntax 2021-02-15 10:52:19 +01:00
.vscode Add readme add back extensions and settings from Dave and fix gitignore 2020-07-01 09:06:03 -04:00
Release - Architecture Doc Update Prod-Release-Notes.md 2021-01-21 10:19:34 -05:00
.gitattributes do not touch CR or CRLF of svg files 2020-11-26 15:55:52 +01:00
.gitignore Nano every2 (#129) 2021-03-07 15:58:35 -05:00
.travis.yml Initial commit 2020-05-25 01:43:34 -06:00
CommandDistributor.cpp AYSNC prog cmds from Wifi/Ethernet 2021-03-08 10:40:32 +00:00
CommandDistributor.h Passing outbound Ring to Withrottle 2020-10-26 13:31:51 +00:00
CommandStation-EX.ino Change initial value for free memory. 2021-03-09 23:41:33 +00:00
config.example.h Remove redundant option for memory monitoring. 2021-03-09 23:39:25 +00:00
CONTRIBUTING.md Create CONTRIBUTING.md 2020-12-08 07:34:59 -05:00
DCC.cpp clearer binary arith. 2021-03-16 23:20:30 +01:00
DCC.h 28 speed steps as global debug option 2021-03-16 22:51:33 +01:00
DCCEX.h RMFT Hooks (#112) 2021-01-05 13:05:17 -05:00
DCCEXParser.cpp more keywords 2021-04-06 22:02:20 +02:00
DCCEXParser.h AYSNC prog cmds from Wifi/Ethernet 2021-03-08 10:40:32 +00:00
DCCTimer.cpp make generates MAC addr compliant with the IEEE standard by setting the Locally Administered bit and clearing the Group Adress bit 2021-03-14 22:15:48 +01:00
DCCTimer.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
DCCWaveform.cpp Bugfix: Transmit packages of size MAX_PACKET_SIZE (5) as well 2021-03-12 22:12:13 +01:00
DCCWaveform.h Bugfix: Transmit packages of size MAX_PACKET_SIZE (5) as well 2021-03-12 22:12:13 +01:00
defines.h Ban mixed wifi/ethernet 2021-03-11 13:58:58 +00:00
DIAG.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
EEStore.cpp better isprint instead 2020-10-28 23:19:55 +01:00
EEStore.h D EEPROM command 2020-10-04 21:20:13 +02:00
EthernetInterface.cpp make generates MAC addr compliant with the IEEE standard by setting the Locally Administered bit and clearing the Group Adress bit 2021-03-14 22:15:48 +01:00
EthernetInterface.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
freeMemory.cpp Update freeMemory.cpp 2021-03-10 10:33:42 +00:00
freeMemory.h Memory monitoring updates 2021-03-09 22:43:41 +00:00
FSH.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
GITHUB_SHA.h Committing a SHA 2021-03-14 21:17:25 +00:00
I2CManager.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
I2CManager.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LCD_Implementation.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LCD_LCD.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LCD_NONE.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LCD_OLED.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LCDDisplay.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LCDDisplay.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LICENSE Create LICENSE 2020-06-12 22:51:42 -06:00
LiquidCrystal_I2C.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
LiquidCrystal_I2C.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
MotorDriver.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
MotorDriver.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
MotorDrivers.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
objdump.bat Nano every2 (#129) 2021-03-07 15:58:35 -05:00
objdump.sh fix objdump.sh 2020-09-26 22:28:29 +02:00
Outputs.cpp add turnout, sensor and output states to 's'tatus message (#108) 2020-12-27 10:20:11 -05:00
Outputs.h add turnout, sensor and output states to 's'tatus message (#108) 2020-12-27 10:20:11 -05:00
platformio.ini Update platformio.ini 2021-03-08 21:31:48 -05:00
PWMServoDriver.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
PWMServoDriver.h Fix hanging turnouts 2020-07-23 12:48:38 +01:00
README.md Update README.md 2020-11-14 04:24:07 -07:00
release_notes.md Update release_notes.md 2021-03-11 14:54:29 -05:00
RingStream.cpp AYSNC prog cmds from Wifi/Ethernet 2021-03-08 10:40:32 +00:00
RingStream.h AYSNC prog cmds from Wifi/Ethernet 2021-03-08 10:40:32 +00:00
Sensors.cpp no float in Sensor no more 2020-10-26 09:10:45 +01:00
Sensors.h no float in Sensor no more 2020-10-26 09:10:45 +01:00
SSD1306Ascii.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
SSD1306Ascii.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
SSD1306font.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
SSD1306init.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
StringFormatter.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
StringFormatter.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
Turnouts.cpp <T> should send turnout definitions, not just states (#110) 2021-01-04 10:57:03 -05:00
Turnouts.h <T> should send turnout definitions, not just states (#110) 2021-01-04 10:57:03 -05:00
version.h Bugfix: Transmit packages of size MAX_PACKET_SIZE (5) as well 2021-03-12 22:12:13 +01:00
WifiInboundHandler.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
WifiInboundHandler.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
WifiInterface.cpp Nano every2 (#129) 2021-03-07 15:58:35 -05:00
WifiInterface.h Nano every2 (#129) 2021-03-07 15:58:35 -05:00
WiThrottle.cpp Catch up with Steves change 2021-03-12 10:38:30 +00:00
WiThrottle.h ED Drive away from prog track featuire 2021-03-09 20:44:44 +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
  • 128-step speed throttling
  • Activate/de-activate all accessory function addresses 0-2048
  • Control of all cab functions F0-F28
  • 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

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. All sketch files are in the folder named CommandStation-EX and its subforlders.

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
  • WiFi and Ethernet shield support
  • No more jumpers or soldering!
  • Direct support for all the most popular motor control boards
  • I2C Display support
  • 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
  • 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 to you, click HERE.

More information

You can learn more at the DCC++ EX website

  • November 14, 2020