Forums Power and Sound Electronics
  • Topic: DCC++

    Back To Topics
    (0 rates)
    • September 26, 2018 9:01 AM EDT
      • Your Host in Littleton, MA
         
      • Posts
        7,563
      • Thanks
        410
      • Thanked
        734

      DCC++

      I know some of you have dabbled with DCC++ on an Arduino (Eric?  Dave?).   Since I'm getting close to the "Need to configure this thing" on a couple locomotives, I started looking around to what I want to use to program with.  I looked at getting the cable for my Prodigy, but that's $50 I probably won't use once I get my system completely set up.  A SPROG2 looks nice, but its $100.  Then I started reading about DCC++, and I already have all the hardware to build one of these.

       

      https://sites.google.com/site/dccppsite/home

       

      Any caveats or insights?  

      This post was edited by Bob McCown at September 26, 2018 9:01 AM EDT
      ____________________________________

      Bob, your Site Host and Benevolent Dictator.

    • September 26, 2018 10:43 AM EDT
      • Kittery, ME
         
      • Posts
        524
      • Thanks
        36
      • Thanked
        183

      I put one together with a Mega, and used it with JMRI to generate a DCC stream for Airwire.  I looked pretty closely at the bit stream that are generated on my logic analyzer, and it was very clean and NMRA compliant. I never tried it with the motor controller shield.  I also never tried it with an Uno. Since I was using SPI for my radio modem, I needed the Mega to avoid some conflict which I no longer remember.

    • September 26, 2018 10:53 AM EDT
      • Your Host in Littleton, MA
         
      • Posts
        7,563
      • Thanks
        410
      • Thanked
        734

      Interesting.  Did you *just* use the Mega, or was there other hardware? 

      ____________________________________

      Bob, your Site Host and Benevolent Dictator.

    • September 26, 2018 11:00 AM EDT
      • Kittery, ME
         
      • Posts
        524
      • Thanks
        36
      • Thanked
        183

      Just the mega and a CC1101 module. But if you want to connect it to a DCC decoder, you’ll need an H bridge of some sort.

    • September 26, 2018 11:20 AM EDT
      • Your Host in Littleton, MA
         
      • Posts
        7,563
      • Thanks
        410
      • Thanked
        734

      Yea, I figured as much.  Time to get hacking, I guess...

      ____________________________________

      Bob, your Site Host and Benevolent Dictator.

    • September 26, 2018 4:21 PM EDT
      • Pittsburgh, Pennsylvania
         
      • Posts
        9,929
      • Thanks
        73
      • Thanked
        558

      Dave built some of those for us in the club. Its an Arduino, a motor shield, and a USB cable. I added a Bachmann power supply to it. I can read the CVs, and program the decoders with my tower through JMRI. Since its sort of English on the screen, I can understand what I am doing, and so far its worked out great for me. The pain in the bottom part is swapping the track leads from the program terminals to the run terminals and back when I need to switch from program to run.

      ____________________________________

      Shannon car Shops
      Home of the infamous leg lamp

      I.A.R.R.R. Member #12

      and King Butt Modeler

    • September 27, 2018 4:57 AM EDT

      •  
      • Posts
        372
      • Thanks
        5
      • Thanked
        70

      Bob McCown said:

      I know some of you have dabbled with DCC++ on an Arduino (Eric?  Dave?).   Since I'm getting close to the "Need to configure this thing" on a couple locomotives, I started looking around to what I want to use to program with.  I looked at getting the cable for my Prodigy, but that's $50 I probably won't use once I get my system completely set up.  A SPROG2 looks nice, but its $100.  Then I started reading about DCC++, and I already have all the hardware to build one of these.

       

      https://sites.google.com/site/dccppsite/home

       

      Any caveats or insights?  

      Bob - DCC++ is fairly easy to get going - As David said I put together a number of units for our club - the notes that I wrote up for that group are here

      http://trainelectronics.com/DCC_Arduino/JMRI_DCC++_Setup/index.htm

      and may be of help.

      enjoy!

      dave

Forums Power and Sound Electronics

    Icon Legend

  • Topic has replies
    Hot topic
    Topic unread
    Topic doesn't have any replies
    Closed topic
    BBCode  is enabled
    HTML  is enabled

Add Reputation

Do you want to add reputation for this user by this post?

or cancel

Ads by Google