I'm sitting comfortably and ready to join the Dark Side...

Discussion in 'Welcome to the DARK side' started by Beetleton MPD, Oct 26, 2020.

  1. Beetleton MPD

    Beetleton MPD Full Member

    Messages:
    36
    Likes Received:
    17
    Joined:
    Mar 11, 2017
    With some 2 years to wait until my next layout is completed, due to a house move, I shall be attempting to get to grips with the Dark Arts...
    Expect quite a few questions will be forthcoming.
     
  2. Andy_Sollis

    Andy_Sollis Staff Member Moderator

    Messages:
    3,942
    Likes Received:
    3,722
    Joined:
    Aug 4, 2018
    Sorry, which dark side..
    Is this the 7mm one?
    Or DCC
    :avatar:
     
    Beetleton MPD likes this.
  3. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,859
    Likes Received:
    5,916
    Joined:
    Dec 5, 2015
    The real dark side encompasses all scales and gauges, we can corrupt them all

    upload_2020-10-27_0-6-55.jpeg

    Paul
     
  4. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,859
    Likes Received:
    5,916
    Joined:
    Dec 5, 2015
    Ask away grasshopper - I feel the force could be strong in this one :avatar:

    Paul
     
    Beetleton MPD likes this.
  5. Jim Freight

    Jim Freight Full Member

    Messages:
    1,129
    Likes Received:
    921
    Joined:
    Sep 9, 2019
    Do I detect a micro-electronic-cyber-organism has infiltrated your defences :facepalm:
     
    Beetleton MPD likes this.
  6. ianvolvo46

    ianvolvo46 Staff Member Moderator

    Messages:
    5,354
    Likes Received:
    1,616
    Joined:
    Dec 8, 2015
    I'll start you off ... first you'll need; hair of caterpillar ... breath of newt ... :facepalm: ... yer doomed!

    Ian vt (ac/dc)
     
    Beetleton MPD likes this.
  7. Beetleton MPD

    Beetleton MPD Full Member

    Messages:
    36
    Likes Received:
    17
    Joined:
    Mar 11, 2017
    1.DC
    2.OO 4mm
    'Dark Side' If I find that it can be usefully applied to what I currently think that I want!!!
    Cheers,
    Martin
     
    Andy_Sollis likes this.
  8. Keith M

    Keith M Staff Member Moderator

    Messages:
    4,459
    Likes Received:
    2,911
    Joined:
    Dec 16, 2015
    My thoughts exactly Andy!:avatar:
    Keith.
     
    Andy_Sollis likes this.
  9. Colin_W

    Colin_W Full Member

    Messages:
    230
    Likes Received:
    95
    Joined:
    Nov 19, 2016
    Somewhere in the inky blackness of the shed something stirred..... and listened !!
     
    paul_l and Andy_Sollis like this.
  10. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,859
    Likes Received:
    5,916
    Joined:
    Dec 5, 2015
    That's my coffee - get your own :avatar:
     
    Andy_Sollis likes this.
  11. Beetleton MPD

    Beetleton MPD Full Member

    Messages:
    36
    Likes Received:
    17
    Joined:
    Mar 11, 2017
    After many months of pondering, planning and tears, I believe that I am nearly ready to start 'The Big Learn!'
    Project: OO scale and using all Peco Code 100 Track and Points. All DC, no plans now or future to move to DCC.
    Phase 1 = A railway with a Country Station, controlled by Cab A.
    Phase 2 = Remote Fiddle Yard, controlled by Cab B.

    My plan is to control the switching of all points with servo motors,
    Phase 1 has 18 points, 8 of which are single points and the others are 5 x 2 points as cross-overs operated by Toggle/Pushbuttons (Push-on/ Push-off).
    A Turntable positioned by a Stepper Motor indexed to position of only one Entry/Exit i.e. 180°.
    Locomotive Speed from a Rotary Knob and Toggle Switch for Direction of travel.
    6 Semaphore Signals Servo operated (with bounce) controlled by Toggle/Pushbuttons (Push-on/ Push-off).
    Track Sections activated by Toggle/On-Off Pushbuttons.
    Position of Points and Activated Track to be indicated by Red/Green LEDs on the mimic panel.
    Phase 2 as Phase 1 except no turntable, 5 single points and 2 x crossovers. Signals not planned at this stage.
    An ex-PC Computer Power Supply is to be used to supply required power where need!

    All of the above is really a wish list, I believe that I ought to be able achieve most of this via Arduino Hardware and Software, I am asking for the knowledgeable ones to 'Knock Holes' in the practicality of it all, and possibly add suggestions where thought to be necessary! Especially how many Arduino boards are likely to be needed?
    Kind regards,
    Martin Jackson, retired in a Sunny Central Portugal...
     
  12. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,859
    Likes Received:
    5,916
    Joined:
    Dec 5, 2015
    Hi Martin

    You may find this suggestion / solution a left field, but I'd suggest either the DCC++ system with JMRI, or MERG CBus modules with or without JMRI (easier with) for the layout control of Points, signals, turntable and mimic panel.

    DCC++ Best with an Arduino Mega as that should be able all the interface requirements for both phase 1 & 2.
    The Arduino has the I2C (seemingly pronounced eye squared see) bus, a 4 wire bus system, and you connect 16 port servo controllers to the bus, not too sure how many, but far more than you require. Each of these can then be operated using JMRI.

    The MERG CBus modules are stand alone modules, connected via a 4 wire bus. You teach the modules what to do when a event takes place.
    Two types of module events exist, a Producer (input) and a Consumer (output).
    Originally it was nice and simple you had
    Producer modules (e.g CANACE8C 8ch Layout Feedback Interface - Input) and
    Consumer modules (e.g CANACC8 8ch Relay/Accessory Driver, CANACC4 - 4 Channel solenoid motor driver, CANACC5 4 Channel Constant motor driver, all output modules)

    However things have moved on, and we have modules that have both inputs (Producers) and outputs (Consumers). We have modules like the CANPAN Mimic interface, which can have upto 32 inputs (panel switches etc) and upto 32 LED outputs, and you can use multiple modules on a layout / panel. Or the CANMIO Multi Input Output module.

    So how does it work
    Lets assume we have a Point operated by Output 1 on the CANMIO we'll give it an ID of 100,

    On the CANPAN We have a switch connected to Input 1 in the off position the point is closed in the straight position, pull the switch (or press the push button if you want to use push buttons) and the input goes on.
    Also on the CANPAN we have two LEDs connected to Output 1 - Point 1 Closed, Output 2 Point 1 thrown.
    Now we teach the modules.
    When we press or throw the switch for the point the CANPAN Input 1 creates a message and sends this on the CAN bus, we now teach CANPAN output 2 to switch on and output 1 to switch off - so the panel display has updated. We also have to teach the CANMIO module that when it sees that message it needs to change OutPut 1 to thrown, and move the point motor.
    SIMPLES :facepalm:

    Now if you're standing beside the points it's easy to verify that the point moved, as the panel updated immediately and does not actually display the phyisical postion of the point blades.
    We can fix that, if we put a detector on the point which triggers whne the point has reach its position (2 detectors one for closed and one for thrown - Lets used CANMIO Inputs 1 for closed & 2 for thrown)

    We need to change the way the CANPAN outputs 1 & 2 are setup. Now when CANMIO Input 1 is on (the point is in the closed position) then CANPAN Output 1 is on (Mimic Panel shows point in closed - straight position), and when the CANMIO input is off then the CANPAN output is off. The same is done for the Thrown position when CANMIO output 2 is on (point in closed position) then CANPAN out put 2 is on.
    When the Point switch is operated CANPAN Input one sends an event message, the CANMIO sees the event and activates the point to move.
    As soon as the point starts to move CANMIO Input 1 is no longer active the dectector is no longer made, so it sends an event message, and the CANPAN sees the message and deactivates Output 1.
    This has the effect on the panel of the LED for the closed (straight) route switches off, however as the point has not finished moving the Thrown LED is also off, so you get real time display.
    Once the point completes its movement, Input 2 on CANMIO is made, it then sends (Produces) a message, and the CANPAN see's the message (Consumes) and changes the state of output 2 to on and the mimic display the Thrown LED is now on.

    If you use push buttons, then it is easy to have multiple Mimic Panels, each panel with its own CANPAN module(s), as each message is sent over the bus, any module can be taught to respond to a message.

    For those that are worrying about the reliability of the MERG CBUS system, it utilises the Automotive Industry Standard CANBUS communication system, for both cost and reliability.

    Keep thinking up the questions and we'll try answer / confuse the issue :avatar:

    Regarding the DC cab operation, I would have the ability for the fiddle yard operator to be able to drive a train from the layout in to the fiddle yard, and likewise the layout operator the ability to drive the train from the fiddle yard to the layout. It stops the calling from one operator to the other "how much further - oh ****!! i've gone too far" happening.

    Hope this gives you a few ideas

    Paul
     
    steve likes this.
  13. Beetleton MPD

    Beetleton MPD Full Member

    Messages:
    36
    Likes Received:
    17
    Joined:
    Mar 11, 2017
    This reply is just the response that I hoped I would get, it's not too late to change anything and so I shall now try to absorb what you have said, Paul.
    I shall come back to you in a couple of days when I have understood the 'jargon' and we shall see where we go from there. I am much obliged that you have taken time to give such a comprehensive comment,
    Martin, in Deep Thought...
     
  14. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,859
    Likes Received:
    5,916
    Joined:
    Dec 5, 2015
    Helped greatly by copious amounts of Portugeuse Rose - light but gets there just the same, although not always recommended at the initial planning stage, that's how Railway mania got started :avatar:

    Questions to ask yourself

    1. How many people will it take to operate the layout?.
    2. How many people will be available to operate the layout ?
    3. How up to the challenge are you up for building the components and programming them yourself, or do you want them off the shelf.
    4. How much automation due you want - full automation, partial, or none fully manual but with the option of remote control ?.
    5. Due you want a computer involved ?

    Just a few simple questions to get you started.

    All questions will have answers and more questions, this way we learn from each other, and hopefully prevent ourselves going down a road we don't want, but that can be fun as well.

    Paul
     
    steve likes this.
  15. Beetleton MPD

    Beetleton MPD Full Member

    Messages:
    36
    Likes Received:
    17
    Joined:
    Mar 11, 2017
    Paul, Answers partially above, however the plan was for me and a Train-Pal to operate it but he recently caught the Celestial Express, leaving me behind with a green flag and a whistle. My wife's plan for our new house allocated me a play-room (model room) of 5m x 4.5m, in which I now planned an "L" layout which will be built from scratch but using my own modular 2m x 800mm baseboards.
    With my friend gone I have had to revise my ambitions from a roundy-roundy, but with only one operator now the plan is greatly reduced.
    I have read extensively over the last 36 hours about the options that I thought I had and with your suggestions I remain somewhat confused...
    I have or rather had NO intension to change to DCC but had hoped to use some method of using an Arduino based system to control my planned layout. but from what I read, I see that DCC and DCC++ the locomotives would have to have Decoder(s) and I still do not want to go to the expense of that 'Upgrade'.
    I do have a spare touch screen Win10 laptop that I would use but cannot reconcile my desire to have a DC layout as described in my posting #11 above with JMRI only being intended for DCC etc.
    Or where have I gone wrong in my interpretation, please?
    Regards,
    Martin
     
  16. paul_l

    paul_l Staff Member Administrator

    Messages:
    9,859
    Likes Received:
    5,916
    Joined:
    Dec 5, 2015
    Hi Martin

    Firstly, my condolences and my appologies for the late reply, I completely missed the reply.

    You are correct, you don't have to use DCC to control the locomotives and can easily stay with DC for loco control.
    Think of it as instead of connecting the DCC track out to the layout, you connected a DC track output from your DC controller.
    You would tho' have to wire up all the control section (or cab sections) and decide who was controlling the sections - you or the PC. DCC is easier for this as all track sections are live and multiple loco's can be on the same piece of track and controlled independantly.
    But you're used to DC control and know what needs to be done.

    You just wont have the Decoder Pro, Roster functionality and the ability to drive the loco's via DCC. But wiring up the points, signals etc via accessory decoders will work the same, you are just using JMRI to control them so the Touch panel control will work for route selection, etc etc.

    For sections of track that will need to be isolated or supplied from different controllers, then when you set up the routes, add output controlled relays to select the correct cab section to power the route.

    It all depends on how many DC controllers you intend to have, and are they in defined areas, or will they share track areas of control, dependant on the loco movements. If you work this out first, it will then then be easier to work out how to do the rest.

    If we get the basics correct, we can complicated the hell out of it later on :avatar:

    As for the plan - a roundy round is easier to operate for a sole driver, as you can set something in motion and kinda forget it, an end to end means you have to follow each movement, unless you fit something to catch train before it hits the deck.

    Toto is an expert on this, I've seen the video of him recording a test run, as the class 33 approached the end of the completed layout, the realisation that the track ended with a 3ft sheer drop - a rather loud "oh dear me" (or words to that effect), as a £600 camcoder got dumped in one direction, a £150 controller sent in another direction as he leap to try and catch a £60 loco. We didn't laugh, and forgot the incident imediately :avatar:.

    Hopefully I've managed to answer your questions, and again so sorry for the late reply.

    Paul
     
    steve and Colin_W like this.
  17. Dave C

    Dave C Full Member

    Messages:
    172
    Likes Received:
    69
    Joined:
    Nov 12, 2016
    I've put some of the above comments into Google translate and it hasn't come up with anything so I'm none the wiser. Life was so much simpler when all we had to worry about was miners strikes and power cuts.:lol:
    I think I'll stick with a live and return on DC and avoid the electrickery:thumbs:
     
  18. Jim Freight

    Jim Freight Full Member

    Messages:
    1,129
    Likes Received:
    921
    Joined:
    Sep 9, 2019
    In a recent YouTube video I watched by Charlie of Chadwick Model Railway he was testing and filming speed measuring devices on an end to end layout.

    To avoid such a disaster as running his Blue Pullman into the buffers he used a mains remote control to shut off the mains supply to the railway as soon as the Pullman had passed both detectors, not sure whether it was RF or infra-red, but certainly useful to avoid those awful moments.

    Jim
     

Share This Page