SPCoast
Railroading on the Southern Pacific Coast

Turtle LocoIO Configuration

From SPCoast

Jump to: navigation, search

[edit] LocoIO PIC Firmware Programming with MicroChip's ICSP

The Detector board has a Microchip-compatible ICSP interface for updating the firmware programming on the PIC. This interface works with Microchip's ICD, CCS's own programmer and other ICD clones.

Hans DeLoof's LocoIO firmware works unchanged on this board.

[edit] LocoIO SV Configuration with DeLoof's LocoIO programmer

Each of the four turnouts controlled by the Turtle appears as a set of 4 LocoIO ports:

PortPinDescriptionDirectionDetails
A1Motor ControlOutputNormal=5v and Diverging=gnd
A2!NormalInputGnd = Points Normal, +5v="Not Normal"
A3!DivergingInputGnd = Points Diverging, +5v="Not Diverging"
A4!OccupiedInputGnd = Occupied, +5v=empty
PortPinDescriptionDirectionDetails
B1Motor ControlOutputNormal=5v and Diverging=gnd
B2!NormalInputGnd = Points Normal, +5v="Not Normal"
B3!DivergingInputGnd = Points Diverging, +5v="Not Diverging"
B4!OccupiedInputGnd = Occupied, +5v=empty
PortPinDescriptionDirectionDetails
C1Motor ControlOutputNormal=5v and Diverging=gnd
C2!NormalInputGnd = Points Normal, +5v="Not Normal"
C3!DivergingInputGnd = Points Diverging, +5v="Not Diverging"
C4!OccupiedInputGnd = Occupied, +5v=empty
PortPinDescriptionDirectionDetails
D1Motor ControlOutputNormal=5v and Diverging=gnd
D2!NormalInputGnd = Points Normal, +5v="Not Normal"
D3!DivergingInputGnd = Points Diverging, +5v="Not Diverging"
D4!OccupiedInputGnd = Occupied, +5v=empty


[edit] LocoIO SV Configuration with JMRI

The LocoIO programmer in JMRI will also program these cards. Choose

  • "Output: Steady State, single output, On at Power up"
  • "Input: Turnout Feedback, dual sensor, #1"
  • "Input: Turnout Feedback, dual sensor, #2"
  • "Input: Block Detector, Active Low"

for each of the 4 subsections.