JMRI, DCC++, and relay powered turnouts

Jared Apr 30, 2019

  1. Jared

    Jared New Member

    Hi all-

    First post!

    I've gotten JMRI up and going on my Raspberry Pi. I use DCC++ on an Arduino Mega with an Arduino motor shield. My loco runs great. I've just gotten wired up my first Peco PL-11 side-mount turnout switch. I have it hooked to a 2 channel relay board. Each relay is mapped to a pin on the Arduino Mega and the pins are stored in the DCC++'s EEPROM and everything. They're set as BSOUTPUT in JMRI's turnout table.

    The trouble is that essentially each relay is its own turnout in the turnout table. I have to close/throw each relay to cycle the PL-11 in each direction. Basically, two buttons to work one turnout motor.

    Is there a way to combine these in JMRI so the two relays are one turnout entry on the turnout table? Thanks!
  2. Keith Ledbetter

    Keith Ledbetter TrainBoard Member


Share This Page