Introducing DCC++ ---a complete open-source DCC station and interface

Gregg Aug 25, 2015

  1. Dago

    Dago New Member

    5
    6
    4

    Does my question pass without anyone noticing or may be i should open a new thread ?
     
    Scott Eric Catalano likes this.
  2. DrGonzo

    DrGonzo TrainBoard Member

    26
    5
    5
    Dago,
    I'm afraid that this project ran out of steam a while back, for most parts.
    That's just how these things go.
     
    Scott Eric Catalano likes this.
  3. Gregg

    Gregg TrainBoard Member

    237
    311
    18
    Dago,

    Commands surrounded by <> are designed to be entered into the base station itself. You can communicate directly with the Arduino base station through the Arduino IDE. Just open a serial window via the menu within the Arduino IDE and you will be able to type and receive responses directly. Remember to ensure the baud is set to the proper value once you open the serial window. The default in the base station cose is 115200.

    -Gregg
     
    UK Steve, chi.sp, Dago and 1 other person like this.
  4. Scott Eric Catalano

    Scott Eric Catalano TrainBoard Member

    205
    57
    6
    This project is far from running out of steam...just look at the sub threads concerning throttles, block detection etc
     
    UK Steve, chi.sp and esfeld like this.
  5. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    Scott
    Thank you, for a minute there I thought I was staring into an abyss.
    Steve F
     
  6. Dago

    Dago New Member

    5
    6
    4
    Thank you Gregg, i will try this soon, and again thank you for making DCC++ accessible for us
     
    UK Steve and Scott Eric Catalano like this.
  7. MarcoNrail

    MarcoNrail New Member

    1
    1
    2
    Hi all,

    I started my layout and wanto put on dcc++. Went to ebay a bought what it was needed. now i'm at the point to setting all up but trought all the pages and forums I'm getting lost. Is there a document that says step by step from installing jmri to having it hooked up to my layout?

    Thanks
     
    Scott Eric Catalano likes this.
  8. David Bodnar

    David Bodnar TrainBoard Member

    264
    481
    13
    I have some notes that might help on my web page - see:

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

    dave
     
    Scott Eric Catalano likes this.
  9. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    'Morning Steve
    RE: ..."I've ordered one of these" (Arduino esp8266 wifi shield Wang Tongze) your post #1331 ........ did you ever get this shield to work? I too have one and in playing with it, I have been able to upload to the ESP (IP scan indicates it's presence) but can not get an UNO to recognize it .... using an ESP8266 example sketch (before attempting our base station connection) it keeps telling me "Error talking to ESP8266.". Have you had any success?
    Steve F
     
    Scott Eric Catalano likes this.
  10. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Hi Steve,

    Mine is on the slow boat from China, so I'm unable to help at the moment. I note from the photo's that there is a bank of dip switches on the board,
    perhaps they need configuring for the serial comm to work. That's about all I can suggest for now.

    Steve.
     
    Scott Eric Catalano likes this.
  11. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    At this point I have determined: 3&4 up to load a sketch to ESP (loads successfully) then down ........ 1&2 up for UNO to communicate with ESP ....... that's as far as I have gone. China is toooooo far away. :)
    Steve
     
    Scott Eric Catalano likes this.
  12. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Hi Steve,

    My new shield arrived today.
    To save some trial and error, do I mount the thing on an Arduino and switch as above ?
    Where does the serial connection go ?

    Steve.

    In other news, I've ordered some parts to build a throttle in what I hope will fill the gap at the premium end of the scale.
    It will be ESP based and connect alongside what we already have re connecting to our current server code.
    Multiple pages (there's a clue), could be quite a nice piece of kit if the new hardware catches on in the wider community - rather like the ESP has done.
    I really like the concept, but its very early days.
    It's on the next slow boat !
     
    Scott Eric Catalano likes this.
  13. esfeld

    esfeld TrainBoard Member

    442
    382
    17
    Steve
    Yes mount to Arduino UNO and then hook up an FTDI to the 5 male header pins labeled debug port then switches 3&4 up to load a sketch to ESP (loads successfully) then down ........ 1&2 up for UNO to communicate with ESP ....... that's as far as I have gone serial connection? I'll let you play with that .......I've put it aside and am working on Dave Bodnars HC12 radio throttle ....... spent the whole day debugging only to find out that a brand new breadboard is screwed up ARRRGG! .. Let me know if you make any progress.
    Steve F
     
    Last edited: Jun 23, 2016
    Scott Eric Catalano likes this.
  14. UK Steve

    UK Steve TrainBoard Member

    453
    683
    12
    Thanks for that Steve,

    I'll update on progress over the weekend.

    S.
     
    Scott Eric Catalano likes this.
  15. BrentGlen

    BrentGlen TrainBoard Member

    10
    9
    16
    Consisting;

    I just had a look through the code for DCC++, I must say that I am impressed at how well laid out and written the code appears to be!

    The one thing that does seem to be missing is any method of consisting engines together. Somehow you would need to define the first engine in a consist and then have the other cab registers follow and copy that first one. Wish I was better at coding or I would try writing this. Unless someone else has a better idea of how to make consisting work? Of course the method of setting up the consisting in the decoder would work, but I would prefer something controlled by the base station.

    Brent
     
    Scott Eric Catalano likes this.
  16. crusader27529

    crusader27529 TrainBoard Member

    247
    167
    11
    Consisting works at the locomotive controller level.....

    Once you set a consist active, you can program other locos to be in the consist, and they respond to the primary loco address and all those DCC commands.

    DCC++ doesn't specifically do or need anything for a consist to work once it's setup in the appropriate CV in the decoders. Actually, since most people use JMRI, that software manages the consists just fine.
     
    Scott Eric Catalano likes this.
  17. crusader27529

    crusader27529 TrainBoard Member

    247
    167
    11
    I have 2 questions.....

    First, another forum says that there are functions not implemented in DCC++, specifically consisting.....Is this true?

    Second, I need to set/verify/calibrate the current limits on 2 motor drivers boards that are not the 'standard' boards in use. Can anyone tell me how to setup DCC++ to work correctly with other MD boards? The boards are functional, but I need to set the current limits. How do others do it?
     
    Scott Eric Catalano likes this.
  18. Atani

    Atani TrainBoard Member

    1,469
    1,756
    37
    consisting is typically left to JMRI to configure for you. I don't plan on using JMRI myself so also looking at what is needed to consist locos together. I believe it is mainly a handful of CV value copies.
     
    Scott Eric Catalano likes this.
  19. Scott Eric Catalano

    Scott Eric Catalano TrainBoard Member

    205
    57
    6
    I think this is true....as I am familiar with digitrax it is called MU +/- which is 2 or more loco addresses together....MRC you actually assign 2 locos to a consist address such as 1,2,3 etc....others can assign one several locos to the same decoder address. I do not use JMRI so I would not know about that.
     
  20. crusader27529

    crusader27529 TrainBoard Member

    247
    167
    11
    I still need some info on calibrating current limits in DCC++.
     
    Scott Eric Catalano likes this.

Share This Page