Where is the current Source Code for DCC++ Located

H0Guy Sep 17, 2019

  1. H0Guy

    H0Guy TrainBoard Member

    25
    6
    3
    Over the summer I started experimenting with DCC++. I went to the DCCWiki and from there went to the DCC++ Home page and downloaded the "Official Release v1.2.1". However this appears to be a very old release from 2016. I also checked the DCC++ GitHub page and it also does not appear to have been updated in years.


    Are there any newer DCC++ Releases?

    Where can I get them?

    Is someone coordinating the DCC++ GitHub site?

    Thanks,
     
  2. jbsorocaba

    jbsorocaba TrainBoard Member

    47
    33
    13
    Release 1.2.1 is the latest version. After that some hobbyists made a lot of improvement adding throttle, control through Nextion , system with wifi, ethernet , including output for xpressnet, Loconet etc.

    You can find a lot of information in this forum, and also on Trainelectronics.com
     
  3. Keith Ledbetter

    Keith Ledbetter TrainBoard Member

    279
    195
    12
    Yes original developer has basically let sit for 3 plus years now. Having said that the code still works fine fundamentally. And reading tgroughbthis forum you'll find lots of enhancements and add ins. Also Atani has created a newer command station all together incorporating a bit better hardware etc that is worth cheking out as well based on ESP32 that you should check if you want newer and more active.

    https://www.trainboard.com/highball/index.php?threads/esp32-command-station.112634/page-43
     
    Atani likes this.
  4. H0Guy

    H0Guy TrainBoard Member

    25
    6
    3
    Jbsorocaba and Keith:
    Thank you both for the update. I have been using v1.2.1 on an Arduino Uno and Arduino Mega. When I use the Arduino Motor Shield on either board, everything works fine. I use JMRI on an old MacAir or old Thinkpad and use an old iPhone 4 as a wireless throttle. I also created a special portable program track using an Uno.

    I started with DCC using an NCE PowerCab and it too works great as well.

    However when I tried to use the Pololu Motor Shield on either the Uno or Mega, my Tam Valley Auto Reversers stopped working. I started to look into the source code of v1.2.1. I found the root cause of the problem with the Pololu Motor Shield. I also think that I found several other "bugs" that cause problems when you use any Motor Shield other than the Arduino Motor shield. In addition, I am constantly seeing "issues" and "incorrect" solutions on TrainBoard as well as "Tom's Trains and Things" when folks try to use other Motor Shields than the Arduino Motor Shield.

    So wanted to contact whomever is maintaining the main source code in GitHub to see how to go about fixing the potential bugs.

    Keith, based on your comments, I guess that since the original developer hasn't updated the code in 3 years there really isn't really anyone maintaining the code. It seems as though there are many unofficial forks to the code and that each developer is keeping their fork / modifications in their own source area on Github or on some other system instead of creating an official fork and/or version on GitHub.

    Thank you or the info on Alani's solution. Another member, Trusty, created his own DCC++ Library at https://github.com/Locoduino/DCCpp. I plan to look at both solutions.

    Thanks for the information. I will keep everyone informed as to my progress.

    Regards, Larry a.k.a. HO
    Guy
     

Share This Page