DCC++-

Discussion in 'Other Electronic Interfaces' started by Colin_W, Feb 23, 2017.

  1. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Finally got round to trying this :scratchchin:
    Amateur video I'm afraid :lol:


    Col
     
  2. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    Nice one Col, and even took us through fault finding as well :facepalm: :avatar:

    I've still to get a motor shield, but definately look worth having a go.

    Paul
     
  3. Keith M

    Keith M Staff Member Moderator

    Messages:
    3,604
    Likes Received:
    2,064
    Joined:
    Dec 16, 2015
    Brilliant Colin, but way above my PC abilities! I'll stick with my Lenz LH100's for the present.:avatar:

    Keith.
     
  4. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    I think I will make a test board and start to bring some of these bits and pieces together. I'll use DCC++ with Rudy's DCC decoders and see what comes out of the mash. Going to use JMRI but maybe import a diagram from Anyrail. I have an old router kicking around that I should be able to make use of so it's an independent system. Paul I may need help! :facepalm:
     
  5. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    I think I could be digging a big black hole for myself here Keith:facepalm:. I'm certainly not brilliant but I do suspect you may be under selling yourself :thumbs:. Dive in and have a go ;)
    Col
     
  6. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    14,649
    Likes Received:
    3,192
    Joined:
    Dec 5, 2017
    Great stuff. JMRI needs a little confidence I think but is a very handy program. Paul took me through the basics ........ I don't think I quite broke him.:avatar:

    It's something I'd like to try with Luib Bridge when it's built up In the shed. I like the loco roster and I'm sure a mimic panel is possible as well.

    Cheers for now.

    Toto
     
  7. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    and just arrived for me

    [​IMG]

    For scale thats a 5p piece - approx 18mm in diameter

    and they are - 433Mhz transcievers, so a wireless controller may emerge - that got your interest Col :avatar:
     
  8. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Certainly has Paul, have you seen Dave Bondar's DCC++ Wirless hand set? Go Here and scroll down to the Wireless bit. A pal has given me a couple of Arduino Compatible ESP8266 boards. I think for now I will go the router mobile phone route:giggle: but the HC-12's are very exciting. What you planning ?
    Col
     
  9. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Hi Toto, the roster seems a great idea, I have only scratched at it but if you right click on an engine you can open a throttle directly from it. Also if you use the mobile app it lists the engines there to. Mind blowing :hammer: Don't break Paul I think we need him :giggle:
    Col
     
  10. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    14,649
    Likes Received:
    3,192
    Joined:
    Dec 5, 2017
    :avatar: I'll be careful with him.
     
  11. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Managed to get into the cave today, I hooked up the DCC++ Arduino and used the nano servo board ( the one Paul designed :thumbup:) with JMRI to operate the points. As always a bumpy start but worked well I will tidy it up and try and post some pics soon. The learning curve just went vertical. Are you wireless yet Paul ?
    Col
     
  12. Dave Marson

    Dave Marson Full Member

    Messages:
    126
    Likes Received:
    1
    Joined:
    Jan 29, 2017
    Hi Colin is that a triang class 101 ?
     
  13. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Hi Dave, it's a Hornby R157. I was quite surprised that it took a decoder :).
    Col
     
  14. Dave Marson

    Dave Marson Full Member

    Messages:
    126
    Likes Received:
    1
    Joined:
    Jan 29, 2017
    I have the Triang one of those, runs very nicely
     
  15. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Hi Peeps, I have the sensors working on JMRI Layout panel now but am having 'issues' with the Turnouts (points to us). If I load them in the DCC++ Sensor and Turnout table the Layout panel doesn't seem to pick them up and adds a second set of turnouts into the JMRI Turnout Table. Also there is a bit of confusion in how to load them into the Mega Arduino EEPROM. My learning curve is now a sine wave :confused:.
    Think I'll wipe it and start again.
    Glad to hear your Mega has arrive Paul.
    Col
     
  16. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    Hi Colin

    Well the motor shield arrived today

    [​IMG]

    It's the DK electronics Motor shield, which appears to be a clone of the older Adafruit Mk 1 motor shield - not a problem, however a bigger issue is the header pins are not directly available, push comes to shove I'll just make an intermediate jumper board from a piece of strip board. As I need to get at the pins for the DCC++ controller.

    The board itself has some interesting features, it can drive up to 4 DC motors, or 2 stepper motors and 2 servo's.

    Just downloading the Adafruit drivers etc, then will have a play

    Paul
     
  17. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    14,649
    Likes Received:
    3,192
    Joined:
    Dec 5, 2017
    Arriving on a Sunday ........ courier I take it.

    toto
     
  18. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    Actually Royal Mail 48 - was due yesterday tho'

    Paul
     
  19. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    14,649
    Likes Received:
    3,192
    Joined:
    Dec 5, 2017
    Fair enough, they could have left it to tomorrow so at least they tried.
     
  20. Keith M

    Keith M Staff Member Moderator

    Messages:
    3,604
    Likes Received:
    2,064
    Joined:
    Dec 16, 2015
    At least I now know what a "Motor Shield" looks like!! Nothing like a bit of tin!:avatar:

    Keith.
     

Share This Page