Analog (or basic Digital) control of a rail yard

Tim Holmes Sep 11, 2023

  1. Tim Holmes

    Tim Holmes TrainBoard Member

    HI folks:

    The model railroad simulation that I use (Rolling line on Steam) has just introduced some electronics abilities as well as some basic logic abilities.

    I know long before DCC, and computer support, people have had ways of selecting routes through yards and interlockings using basic electronics to control the routings.

    I am looking for a way to using just circuits and switches to set routes through yards and interlockings

    Im afraid im not sure what to search for

    The types of logic gates available are:

    • AND - triggers if both inputs are true
    • OR - triggers if both or just one of the inputs are true
    • XOR - Triggers if either one of the inputs is true, but not both
    • NAND - The opposite of AND, triggers if none or one input is true
    • NOR - The opposite of OR, triggers only if both inputs are false
    • XNOR - The opposite of XOR, triggers when none or both inputs are true
    Can someone please point me in the right direction, and show me the basics of how to handle my interlocking and yard routes

    Ive included a pdf of the online guide for the circuitry etc in case that would help you get me going the right direction



    Attached Files:

  2. BigJake

    BigJake TrainBoard Member

    I would search for railroad signal control and/or railroad route control.
  3. Todd Hackett

    Todd Hackett TrainBoard Member

    Tim: Are you trying to create a game or a real MRR? Looked at Rolling and that has depth in function that I would not want to play with for a MRR. If you have a MRR that you are trying to update, you might take a look at newer stuff to accomplish what you want vs using TTL Gates. Most here probably will point you to Aurdino's or the like. Aurdino's have all those gates in/on one circuit board with output ports to interface with your MRR. You still have to wire to specific points or objects although changing the logic is done in code, not solder or breadboard connections. Breadboards are iffy at best as so much can happen with them even after they have been working for some time; then finding the problem is sometimes a real PITA. Sounds simple, but probably not as you will have a learning curve. If you decide to go this route, KISS and just do a little bit at a time until you are comfortable with the system and what its capabilities are.

    Sumner likes this.
  4. BigJake

    BigJake TrainBoard Member

    Another implementation option, on a model railroad, would be LCC (Layout Command Control) / OpenLCB (Open Layout Control Bus) modules containing occupancy detection and/or signal/switch control logic. These are usually configured using JMRI (free) software, which has GUIs for specifying/configuring signal and turnout control logic, on RR-CirKits, et al, LCC modules. Think of a large RR yard switch tree, and the logic required throw the correct switches in order to direct traffic to a specific destination track.

    There are also industrial Programmable Logic Controllers (PLCs) that implement similar logic schemes for reading sensors and controlling pumps, valves, conveyors, diverters, etc. These are "programmed" (configured) using syntactic or graphical means.

Share This Page