RAILPIC / RAILDECO

railDECOacc

DCC accessory control for the layout: eight low-side outputs, four configurable pairs and a separate accessory supply.

Read the manual Download PDF

Manual revision 1.0 · English · Firmware references: v6.01 / PIC16F84A and v7.01 / PIC16F628A

One board, four output pairs

Timed accessories

Set a nominal on-time for each pair to operate suitable twin-coil accessories. The shared timing value is configured in approximately 10 ms steps.

Continuous loads

Use a zero timing value for suitable lights or relays. Send explicit off commands; continuous mode is not an automatic two-output interlock.

Stored state

The firmware remembers output state information and restores it at power-up. An accessory may operate immediately when power is applied.

Know the electrical limits

The DCC input carries commands through an optocoupler. The external DC supply powers the board and loads. The ULN2803A outputs sink current; they are not positive-voltage outputs, a motor H-bridge or servo connectors.

Known ACK hardware limitation. With independent accessory power and the isolated DCC input, the retained acknowledgement circuit cannot produce a current ACK detectable by the command station. Automatic CV reading is unavailable. CV writes and the local LED indication are separate capabilities.

Do the first startup and programming tests with coil loads disconnected. The documented v7.01 image initially restores output 8. Verify address isolation, especially before using higher address groups, and do not rely on firmware timing as an independent coil-protection cutoff.

Configuration and firmware

The manual covers accessory CV513–521 and CV541, output-enable masks, per-pair timing and controller address-numbering conventions. Use the HEX for the fitted PIC; the two firmware packages are not interchangeable.

For firmware packages already published by the project, see the accessory decoder project page. This page does not introduce a new firmware release.

Credits

The firmware credits Dean Probst, Mike Bolton, G. Ising and Stefano Curtarolo, with roots in MERG DCC work. The project history also acknowledges Le monde du DCC and Paco Cañadas. See the manual for the full acknowledgements and scope.