More programming woes

lctenor1 Jun 20, 2017

  1. lctenor1

    lctenor1 New Member

    4
    4
    1
    Sorry to bother you all once more, but after replacing my nasty Bachmann decoders, I've got just a few questions to see that I'm doing things right here.
    At this point, my hardware is as follows:
    - Win10 PC using DCC++ Controller or JMRI interchangeably
    - Arduino Mega with Motor Shield, 15V 1A power supply
    - Two Bachmann SD40-2 engines with Digitrax SDH166D sound decoders installed

    Got the decoders installed, tested them both working wonderfully on first start (address 3), but still can't get anything to program or read. As such, what am I missing in my setup that isn't working? Do I need a booster of sorts, or just to fix some wiring? Any of your help is greatly appreciated, and excuse me for pestering you all once more!
     
    Scott Eric Catalano likes this.
  2. Curn

    Curn TrainBoard Member

    751
    497
    31
    Seems like a very similar problem to others who have been unable to read/program sound decoders recently. CVs are read by pulsing motor to create a signal in the current draw. In the DCC++ base station code there is a threshold on the current sensor to filter out noise. It may be set too high to read efficient low current motors. Try to edit ACK_SAMPLE_THRESHOLD in PacketRegester.h of the DCC++ base station code to 15 from a default of 30 and try to read the CVs again.

    Matt
     
    Scott Eric Catalano likes this.
  3. Kristine

    Kristine New Member

    7
    4
    1
    I'm having a like problem, however whenever I try reading CV values it shows repopulates the values all to 123, also anything I write doesn't make any changes. -

    using an Arduino Mega, and motor shield, with an F scale, OEM Bachmann 55 ton 3 truck shay. if and when I try direct CV programs setting everything to DCC++ in the JMRI interface I get a 108 error message.
     
    Scott Eric Catalano likes this.

Share This Page