1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-05-06 19:14:56 +02:00
Asbelos 277431e84c NeoPixel support
commit 2bbb5c111907cab37e5c068dc18e084f404f2a2e
Author: Asbelos <asbelos@btinternet.com>
Date:   Fri Sep 20 12:13:21 2024 +0100

    EXRAIL use neopixel range instead of loop

commit 3aabb51888d61d88c3c26a3617eccaa74e3f64d4
Author: Asbelos <asbelos@btinternet.com>
Date:   Wed Sep 18 17:06:00 2024 +0100

    Neopixel signals with blue-tint

    See Release Notes file

commit 8e6fe6df21bc758ee1b715d97c254a4c1488ffe2
Author: Asbelos <asbelos@btinternet.com>
Date:   Thu Sep 12 08:35:26 2024 +0100

    HAL write range

commit 66e57b5ab2e7938bf5f97960ab73017749d8fc4b
Author: Asbelos <asbelos@btinternet.com>
Date:   Sun Sep 8 09:26:37 2024 +0100

    Killblink on neopixel set.

commit 360c42667500fdd93e35e688c7461731bc8dc50d
Merge: dd16e0d b026417
Author: Asbelos <asbelos@btinternet.com>
Date:   Sat Sep 7 16:45:29 2024 +0100

    Merge branch 'devel' into devel-pauls-i2c-devices

commit dd16e0da972a414cac66755b61b6922691f88030
Author: Asbelos <asbelos@btinternet.com>
Date:   Sat Sep 7 13:00:26 2024 +0100

    Notes

commit e823db3d244919f5529d22c71de8f4de834e21dd
Author: Asbelos <asbelos@btinternet.com>
Date:   Sat Sep 7 11:16:30 2024 +0100

    Neopixel change to 8,8,8

commit d3d6cc97fb68ee2314a3d4a3e10f92542044c124
Author: Asbelos <asbelos@btinternet.com>
Date:   Fri Sep 6 13:25:44 2024 +0100

    Neopixel <o> cmd

commit 03d8d5f93d477246e8ceecf6500133845a0d5129
Author: Asbelos <asbelos@btinternet.com>
Date:   Fri Sep 6 08:08:18 2024 +0100

    Its working!!

commit 235f3c82b5c8e94106bc63dfd5f2957b423f1601
Author: Asbelos <asbelos@btinternet.com>
Date:   Thu Sep 5 22:02:29 2024 +0100

    Update IO_NeoPixel.h

commit 530b77bbab4605a3fdfdec735ef01d0b56ef543c
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Sep 3 15:04:40 2024 +0100

    NEOPIXEL driver and macros

commit 2a895fbbd531e3ee778962eec59144a602cba9bc
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Sep 3 11:26:17 2024 +0100

    First compile neopixel driver

commit c6f2db79094d3b0a0c5322c859868e9025bcb6eb
Merge: a7df84b 7395aa4
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Sep 3 10:07:12 2024 +0100

    Merge branch 'devel' into devel-pauls-i2c-devices

commit a7df84b01cc474c31356456bc1db220c800743cb
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Sep 3 09:56:05 2024 +0100

    NEOPIXEL EXRAIL

commit ead6e5afa11d526d9a366eeb6013e7eaa16bcb76
Author: Asbelos <asbelos@btinternet.com>
Date:   Tue Sep 3 09:55:36 2024 +0100

    NEOPIXEL EXRAIL

commit 0cb175544e4771415c22d6bdc5ed0c331ce76f95
Author: pmantoine <pma-github@milleng.com.au>
Date:   Sat Feb 24 17:29:10 2024 +0800

    More TCA8418

commit 208205180193aec382fcc25423fb6a81a078e407
Author: pmantoine <pma-github@milleng.com.au>
Date:   Sat Feb 24 13:02:34 2024 +0800

    TCA8418 initial HAL driver scaffolding
2024-09-22 12:37:38 +01:00
2024-09-22 12:37:38 +01:00
2023-10-10 12:11:49 +01:00
2020-05-25 01:43:34 -06:00
2020-12-08 07:34:59 -05:00
2024-08-08 10:45:44 +02:00
2024-08-08 10:45:44 +02:00
2024-01-10 12:11:14 +00:00
2024-09-22 12:37:38 +01: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
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-09-22 12:37:38 +01:00
2024-09-22 12:37:38 +01:00
2024-09-22 12:37:38 +01:00
2024-09-22 12:37:38 +01:00
2024-09-22 12:37:38 +01:00
2024-04-13 10:16:26 +01:00
2024-09-22 12:37:38 +01:00
2024-09-12 14:22:36 +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
2024-09-22 12:37:38 +01: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
2024-01-20 22:15:47 +01:00
2024-02-24 17:24:55 +01:00
2024-04-12 17:25:00 +08:00
2024-09-22 12:37:38 +01:00
2023-09-23 16:10:16 +01:00
2024-03-23 13:31:34 +10:00
2024-09-22 12:37:38 +01:00
2023-11-26 12:31:41 +00:00
2024-09-22 12:37:38 +01:00
2024-09-22 12:37:38 +01:00
2024-06-13 16:09:28 +01: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-06-11 23:10:18 +02: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-09-22 12:37:38 +01:00
2022-10-28 10:52:12 -04: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
2024-07-10 09:57:03 +01:00
2023-11-14 19:41:05 +00:00
2024-03-18 21:17:51 +01:00
2024-04-22 08:12:08 +02:00
2024-02-20 15:13:22 +01:00
2023-10-12 13:42:14 +10:00
2024-09-22 12:37:38 +01:00
2024-09-05 13:01:54 +02: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 32 MiB
Languages
C++ 84.4%
C 13.5%
PowerShell 1.6%
Shell 0.4%
Batchfile 0.1%