Modified Arduino DCC Servo and Function decoders are available for download via this link.
Please note: using this software is at your own risk … 100% fail safe operation is not guaranteed.
The Arduino DCC Servo Decoder has been ‘streamlined’. It now only contains an ‘on / off’ output function that goes along with a servo. No more flasher and no more analog output. Also the servo angle control code has been simplified. This was all done to make the code lighter and easier to oversee and to configure.
To tune the servo min and max angles, separate Arduino Servo Tune software is included in the download. Find the correct min and max servo angles to switch a junction with this tuning software, then insert those values in the decoder code. I know … I should include tuning in the decoder software … consider that w.i.p..
Then, there now is a separate multi-mode Arduino DCC Function Decoder.
It has max 16 digital outputs, max 6 of which can also be used analog (pwm).
The outputs have 3 different modes of operation:
– mode 0: continuous on / off
– mode 1: one shot with specified pulse length in ms
– mode 2: flasher with separate specified ‘on’ and ‘off’ times in ms
Furthermore an Arduino DCC Solenoid Decoder is in development. This can switch dual coil solenoid junctions that need two separate signals. When a DCC address is switched on, a pulse of specified time in ms is given on an output pin. When the address is switched off, a second pulse is given on another output pin. This software is under test now.
The Software Page has links to 3 videos that function as the user manual.