RAILPIC / RAILDECO

railDECOrc

Add RailCom address feedback and three configurable lighting outputs alongside a locomotive decoder.

Read the manual Download PDF

Manual revision 1.0 · English · Firmware v1.0.0 · PIC12F629 only

Feedback and functions without replacing the motor decoder

railDECOrc receives the DCC signal in parallel with the locomotive decoder. It does not drive the motor. Its primary address handles function, speed and direction commands and is announced over RailCom channel 1.

Locomotive identity

Set the primary address to match the locomotive decoder. RailCom requires a suitable cutout-generating command station/booster and detector.

Three outputs

Map FL, RL and BL to F0–F68, with direction filters and steady-light or braking-sparks effects. Use suitable LED resistors and observe electrical limits.

Separate PoM address

Configure railDECOrc through its secondary address. Its CV replies describe its own settings, not the CVs inside the motor decoder.

Start with the right settings

The v1.0.0 defaults are primary short address 3, secondary long address 9000 and steady outputs mapped to F29, F30 and F31. Read the CV examples before programming a model containing more than one decoder.

Preserve the PIC’s calibration. When flashing the PIC12F629, preserve its individual oscillator calibration at 0x03FF and program the complete release image, including EEPROM. The image is not intended for PIC12F675 or PIC12F683.

The firmware is DCC-only. A successful CH1 address display does not prove that a detector supports CH2 PoM readback. See the manual for programming methods, wiring and recovery.

Manuals and circuit reference

Check the actual PCB, components and release compatibility before building or installing a decoder. A schematic alone is not manufacturing validation.

Acknowledging the foundation

Special thanks to Paco Cañadas, creator of DCC-Rail, and to the modellers who contributed over the years. The hardware circuit is the same DCC-Rail design, and the firmware has direct lineage from that work. RailPIC does not claim authorship of the original circuit. The full acknowledgements are preserved in the manual.