Arsigdec 3.0 is released
- The Arduino pin numbers 3 up to 19 are replaced by port numbers 1 up to 16. So it is now optimized for the DCCNext.
- New French and Swiss signals in database
NOTE: because the storage of the configuration in EEPROM is changed Arsigdec must be reconfigured after updating.
What is Arsigdec
ArSigDec is an Arduino sketch that acts as a DCC signal decoder for all light signals.
You can create all light signals with a maximum of 8 leds and 10 aspects per signal.
It also contains a database with pre-configured signals of some European countries.
Two modes of operation
ARSIGDEC runs in two different modes. A configure mode and a run time mode.
In configure mode you configure the signals that you want to use.
The Arduino is connected via USB to your computer. With only your keyboard and monitor you can easily, with a simple question and answer ‘game’, specify all the settings that you want for your signals. Therefore ARSIGDEC uses one-character commands. See the manual for examples. It communicates with you by using a terminal emulator program called Putty.
No complex puzzling with CV’s!
With the E-command (Exit) you change to run time mode.
In run time mode ARSIGDEC ‘listens’ to the DCC signals on your track.
If an address passes by that you have configured for one of the signals, ARSIGDEC will set the signal according its configuration.
All ARSIGDEC features one by one:
- Controlling a maximum of 8 signals per UNO or 30 on MEGA
- Controlling 16 leds per UNO or 65 on MEGA
- A signal may contain upto 8 leds. Parallel connected leds count for one led.
- A signal can have upto 10 different aspects
- A signal can be configured manually. You can specify for each aspect and for each led its action: on , off or flashing.
In this way you can configure almost all signals in the world.
- Support of Dutch ‘P-signals’ (red-green change with automatic intermediate yellow)
- Contains a database with the most important signals. You don’t need to configure these signals. Just select a signal numner from the database.
- Configurable on/off times when flashing.
- Configurable on/off fading time per signal.
- Configurable maximum brightness per led.
- Suitable for signals with common anode and common kathode.
- Interactive, via screen and keyboard, configuring of the signals. That is independant of your DCC Central and no puzzling with complex CV’s.
- No need to use the Arduino IDE (development environment)
- Assign a random DCC base address (1-2000) for each signal.
- One(1) DCC address controls two different aspects.
Subsequent addresses are used for more aspects.
- A test option. All signals are showed
- A documentation option shows all settings.
- Assign an alpha numeric administrative code to a signal
- A reset option that clears all settings from memory.
- Option to correct the address offset of a Roco cental (MM, z/Z21)
- A help options shows all commands.
- A log option in which all configuration sessions are saved.
- Independant of used bus structure (S88, LocoNet, XpressNet)
But in operation mode it uses only DCC
The standard DCC signal can’t be used directly to an Arduino.
A small electronic circuit is required to adapt the DCC signal for the Arduino:
You can make this circuit yourself on a piece of veroboard.
But it is much more convenient to use a dedicated shield for the Arduino UNO:
This shield contains the DCC-circuit and also a 9 Volt power supply for the Arduino and an additional 5 Volt for e.g. the leds in the signals.
The same shield is used for the Mardec
And of course you need an Arduino: Get your Arduino’s here
How to connect: