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
    Still Pluggin away here, Have sensors lighting up on the track plan now, still seem to have a weird irritating problem on the two points servo's. IF I select one of them with the wi-fi throttle I can then switch it with the diagram in JMRI but not the second one. IF I then select the second one I can switch that one but not the first one.:hammer:Must be finger trouble somewhere. Mounting the sensors in the track today and will then try the routing system, possibly tomorrow.
    Shake a leg Paul need some moral support here :thumbup:. (Are you using JMRI ?).
     
  2. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    14,649
    Likes Received:
    3,192
    Joined:
    Dec 5, 2017
    I know Paul ....... C'mon. We're all waiting .
     
  3. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    Yep sir you got me, a JMRI user.

    I tend to use routes to set the points.

    If you go to your Turnouts table, do they work reliably

    [​IMG]

    Click on the cmd button and that should toggle the position.

    Its displaying unknown, as there is no position feedback, and I hadn't operated the points.

    Many run a startup script to trigger all the points, both ways, then into the position required for the layout startup. This ensures the table shows the correct setting.

    When you have configured your points in the table, then you can create the routes.

    [​IMG]

    Clicking on the set button will activate the route.

    To create the route (or edit it in the future)

    [​IMG]

    Enter a name for the route, then select each point, and the required state it needs to be set to for the route. You can add sound files, and more importantly a delay between each point move. Can be helpful to allow capacitor discharge units to recharge, or allow a point to complete its movement before the next one starts.

    Paul
     
  4. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Thanks for the update Paul, not had chance to look again yet but will try later this week. Out of interest on the Panel Pro window do you get an extra tab for 'NCE' to enter sensors and turnouts or do you just use the JMRI Table to input them.
    Col
     
  5. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    The NCE tab, and in my case the MERG tab as well are there because of the USB interfaces, not tried the DCC++ as yet.

    You then need to create your track plan (or import an anyrail track plan), then for each turnout identify the accessory decoder address for the point. As I am using standard accessory decoders, i.e. connected to the track bus, then the interface will be via my command station (NCE PowerCab), so they will be NCE addresses.

    [​IMG]

    So from above NT = NCE Turnout, and the number is the accessory address, So NT6 is the point to access Platform 1 or the goods depot. NT100 sets the traverser to road A1.
    I could get the same result by pressing the PowerCab accessory button on the handset, enter the accessory number then select 1 or 2 for Normal or Thrown.

    Paul
     
  6. Toto

    Toto I'm best ignored Staff Member Founder Administrator

    Messages:
    14,649
    Likes Received:
    3,192
    Joined:
    Dec 5, 2017
    Like I do on Luib Bridge with my procab throttle and turnouts.:thumbs:
     
  7. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    Hi Paul, There is a DCC++ Tab and that is where I have to insert the Sensors and Turnouts but there seems to be an odd way of saving them. There is a 'Save Turnout/Sensor' button but it seems that you have to use the 'Close' button with DCC++ then say no when it asks if you want to 'Save to the Base station' it then gives you the option to save to the Mega EEPROM to which you say yes. Then Edit and check that Feedback is set to 'Direct' and 'Turnout Automation' is set to No Feedback. If you save the turnouts you get multiple copies in the JMRI Table and it seems that they cross-talk and change characteristics. It now works... ish :facepalm: Tomorrow I'll look at routes and maybe scripts if I get chance. Thanks for the feedback, much appreciated mate.
    Col :headbanger:
     
  8. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    C'mon Toto, where is that pioneering sense of adventure and excitement. Just pushing buttons when you could be going demented whilst surrounded by sharp implements, flying crockery and mains electricity :twitch::eek:.
    Going to get a beer and chill now.

    Col
     
  9. paul_l

    paul_l Staff Member Administrator

    Messages:
    7,243
    Likes Received:
    2,721
    Joined:
    Dec 5, 2015
    Yesterday, I visited Fraser Smith (featured in the March 2017 MERG Journal), of which turn into the inaugural meeting of the Dundee or Angus MERG group.

    A man definitely into the Dark side designing and making circuit boards.

    He also had a small test track, with a couple of points giving 3 sidings, set up to provide a test bed for train control via detectors, point control etc, etc all using MERG kits, and JMRI as the glue holding it all together.

    A great learning experience for me, and I know have a few tips stored away to complete the commissioning of my MERG CBUS CANACE8 input units for detection on Viccy Road.

    Looking forward to the next meeting.

    Paul
     
  10. Colin_W

    Colin_W Full Member

    Messages:
    176
    Likes Received:
    50
    Joined:
    Nov 19, 2016
    The Deeper you go the darker it gets. :avatar:

    Col
     
  11. cmcan

    cmcan Full Member

    Messages:
    474
    Likes Received:
    55
    Joined:
    Jun 11, 2016
    Hi All,

    I have been experimenting with DCC++.

    I have had an arduino uno for a while, but thought i might take the plunge to dcc via another route.

    I bought a clone of the motor shield from china (via ebay).
    I have conducted preliminary tests and the motor shield and the uno are functioning regarding dcc signals

    I bought a laisdcc decoder which arrived today. I put it in my heljan diesel and connected things to jmri and nothing. Not one to be easily deterred. After searching around a bit i found how to turn things on and was able get the loco to move however the program values kept jumping to 125 instead of 20. At least it moved. I was using a 12v dc source into the motor shield.

    All i need do is now figure how get my ipad throttle WiThrottle lite to control things and I'm on to the boxfile layout.

    Ill post visuals when im up an running

    Cameron
     
    jakesdad13 likes this.

Share This Page