Programming Track, DCC++ on Arduino

ChuckB Dec 31, 2019

  1. ChuckB

    ChuckB TrainBoard Member

    15
    1
    3
    I have DCC++ running on an Arduino Mega with internet shield and motor shield. I can program locos on the programming track (connected to the "B" output of the motor shield) but I can't command the loco to move on the programming track. The loco works fine on the main track ("A" output).
    With the DCC++ software, are you supposed to be able to run locos on the programming track. Maybe it is for programming only. Maybe I need to install a toggle switch. If there's an output for enabling programming, I could drive a relay with a mosfet, like I did for track power.
     
  2. Pieter

    Pieter TrainBoard Member

    152
    46
    10
    With DCC++ programming track is only for programming. If you want it to do test runs on your test track use a toggle switch. If I remember correctly there is a slight difference in the settings for service and programming track. You should be able to POM on the service track.
     
  3. RCMan

    RCMan TrainBoard Member

    271
    132
    12
    The programming track is only for programming according to NMRA standards for DCC. All Command stations work this way to be compliant.
     
  4. ChuckB

    ChuckB TrainBoard Member

    15
    1
    3
    Thanks both of you for your reply. So the diy base station I used before had it wrong. He had the same signal going to both but turned off the main track while programming. I will wire a special little isolated track for programming. I noticed it creates a short circuit condition if you slide the loco across the gap so I need a loco-length piece of dead track to prevent shorts.
     
  5. Sumner

    Sumner TrainBoard Member

    2,835
    5,969
    63
    Consider using a DPDT switch on one section of track so you don't have to have the dead section. Like what Mike has done ....



    Sumner
     
    Niahtoul likes this.
  6. ChuckB

    ChuckB TrainBoard Member

    15
    1
    3
    Thanks. I’ll probably do that.
     
  7. ChuckB

    ChuckB TrainBoard Member

    15
    1
    3
    I installed a DPDT toggle switch under the facia and reprogrammed a loco. Works great.
    I think at this point I can say my DCC++ installation is good to go. Plus, with my S88 shield, I can run turnout and block controllers all around the room on three separate buses.
     
  8. ChuckB

    ChuckB TrainBoard Member

    15
    1
    3
    I have a Life-Like loco on the programming track and have read the decoder type, but it presents a huge list of possibilities. How do you decide which one to use? The decoder is glued in, and I'm afraid of breaking it if I am to pry it off in hopes of finding some identification.
    Any suggestions?
     

Share This Page