Dont get it...

Nels C. Hogberg Jan 14, 2019

  1. Nels C. Hogberg

    Nels C. Hogberg TrainBoard Member

    11
    3
    2
    Hi All,

    I have programmed a Uno, have a velleman V MA03 shield have made the necessary code adjustments I have found on the forums here. I am using a DH126D decoder.
    I also have the DCC++ controller running with the processing software and alternately have JMRI running also.

    When I "write" to the decoder it twitches a bit in reverse.

    I just simply want to make the train move. I've been jacking with this thing all weekend and have yet to make the loco move. Can someone give me a tutorial page? I have been to all the sites and they just leave off when you have everything programmed and loaded, seems no one tells you how to simply move a loco in forward or reverse.

    Regards,
    Nels
     
  2. Pieter

    Pieter TrainBoard Member

    152
    46
    10
    With DCC++ as is, you can only program a decoder on the programming track. For movement control you need to switch it over to your ops track. Also check your pin settings and cut traces on you shield. In JMRI you also have to select all the DCC++ radio buttons in the gen setup. Try the built in throttle in JMRI.
     
  3. Nels C. Hogberg

    Nels C. Hogberg TrainBoard Member

    11
    3
    2
    Okay I have two trains I'm able to control and now I'm working on switches diving back in to Jack with it again LOL
     
  4. Nels C. Hogberg

    Nels C. Hogberg TrainBoard Member

    11
    3
    2
    So I guess I'm seeing that you can't just control the servo directly it looks like I need to make the decoder that controls the multiple output address. Then have the controller be able to address the servos.
     
  5. Nels C. Hogberg

    Nels C. Hogberg TrainBoard Member

    11
    3
    2
    Alright I put together the 17 channel Arduino decoder for the servos. You guys are probably familiar but you can find on the website, model railroad hobbyist sma20 and I have added the decoder at CV1 = 24 in decoder Pro with name of ACC 1 and added the five CV variables for F 0. Now when going to the turnouts table, in panel Pro , it's asking for Hardware address, what is that where do I find it, how do I link the hardware address to F0 for example, to control a servo on pin3?
    Oh yeah my build board looks like hammered heck I got wires and stuff going all over the place but it appears to work. I guess there is an art to wiring up these boards and I'll have to work on that. LOL
    Regards,
    Nels
     
    Onizukachan likes this.
  6. Nels C. Hogberg

    Nels C. Hogberg TrainBoard Member

    11
    3
    2
    I didn't have confidence in accessory frankenboard decoder. I built another last night.
    I put it aside and will come back to it fresh here shortly.

    P.s. it looks slightly better.
     
  7. Nels C. Hogberg

    Nels C. Hogberg TrainBoard Member

    11
    3
    2
    Well, for Servo/turnout control, I honked and honked around with dcc++ Bs.Stn. and 17 fx module from railroad.hobbyist website using z, t, a commands, hoodoo, voodoo and had only knows what else and still I got diddly squat outta the Bs.Stn. and only managed to get jmri to slightly twitch the servo in one dir., when toggling from thrown and back. Jmri did see the outputs prgmd. With the e <prom> command.

    In the meantime I am still feeling 45 -50 years younger controlling 3 locos at one time! So happy I stumbled on that arduino dcc++ site back in Dec.

    The ole ++B.s.Stn. Works like a charm for the ++Controller and & Jmri. I can write to and run those nasty soot belching beasts till my hearts content.

    Later,
    Hog
     
    Onizukachan likes this.
  8. Onizukachan

    Onizukachan TrainBoard Supporter

    752
    1,198
    24
    I’m well behind you Nels, haven’t gotten turnouts, servos, or fx board done yet... but how did you wire the servos? Sounds like you’ve got control taken care of, but what about the power for the servos themselves?
     

Share This Page