DCC++Controller - issues

v64 Dec 25, 2016

  1. v64

    v64 TrainBoard Member

    21
    19
    3
    I can run a train using a Mega/Pololu Base Station but the Controller does give me some problems (I have reinstalled, it from the download, edited the address of the first loco to 225)

    Anomalies are:
    The Power button does not work ( P does give me power on)
    The UP Arrow does not increment the speed, but resends the message for speed step 1, unless I hold it down, when it very rapidly increments the speed.
    The Throttle Slider cant be moved using the mouse, and does not reflect the UP Arrow setting

    The diagnostic (d) display shows that messages are being sent.

    I can run the Base Station direct from the Arduino Serial Monitor, and can see the (expected) Base Station responses, so the Base Station is sending replies (Baud Rate 115200)

    Context is Mac Capitan. The anomalies remain with no actual loco, but with Emulation everything is OK!

    When I first trialled the system it all worked fine!

    So the Base Station address is fine, as is its ability to send. Baud Rate 115200.

    What have I missed?

    David
     
    Scott Eric Catalano likes this.
  2. v64

    v64 TrainBoard Member

    21
    19
    3
    Problem solved - mea culpa - I had somehow 'edited' my copy of the Base Station.

    David
     
    Scott Eric Catalano likes this.
  3. John Mellars

    John Mellars New Member

    2
    2
    5
    Apologize if I am posting wrong, but new to the forum. I have the DCC++ code and the base station compiles clean. However the DCC++ Controller compile throws an error on this line, right at the beginning, import java.util.*;. All the imports in front of it seem to be OK. The error is " import does not name a type. Not sure if somehow a library or part of one is missing? Anyone have an idea?
     
    Scott Eric Catalano likes this.
  4. John Mellars

    John Mellars New Member

    2
    2
    5
    This story has gotten more interesting. So I figured out that I am a little dumb in not really understanding how it all is to work. The good news is I now have it all up and running. There were a few problems with getting Processing environment running on my laptop. First time I copied over the Controller files the file type got marked as Arduino file types and in my enthusiasm I just went ahead and assumed that was all OK. Then the questions of how could this ever work? SO now after taking it all off my laptop and reinstalling everything I have an arduino IDE and I have a Processing IDE and the both do there thing correctly. Yeah! It was a learning experience. I am now heavily leaning towards a setup which uses DCC++, Arduino, Motor Shield and some high current drivers to get some power out and then connecting that to JMRI. I will eventually scrap my own designed turnout control panel which uses an arduino and RC servos to a competer screen and JMRI. Might have to do some coding to get my stuff interfaced but it looks to be the modst flexible because I am always changing and adjusting the layout. Yeah again!!
     
    Scott Eric Catalano likes this.

Share This Page