Me to but switches belong to people who aren’t as close to Alzheimer’s as I am.
Anyway while Everest expanding this thread I was surfing and This is what I found for auto reverse loops for DC. I don’t understand any of it so, if there are any electronic geniuses out there can you look at the processes and see if they will work. I assume the arduino would allow for most functionality because it involves software But maybe the other processes could be functionally close?
- Relay-Based Auto-Reverser
This method utilizes a Double Pole Double Throw (DPDT) relay to automatically switch the polarity of the reversing loop.
Materials Needed:
• DPDT Relay (rated for your track voltage)
• Diodes (e.g., 1N4007)
• Insulated Rail Joiners or Gaps
• Wires and Connectors
Circuit Diagram:
Source: Azatrax - Automatic Model Railroad Reversing Loops
Step-by-Step Instructions:
- Isolate the Reversing Loop:
• Use insulated rail joiners or cut gaps in both rails at the entry and exit points of the reversing loop to electrically isolate it from the mainline.
- Wire the Relay:
• Connect the mainline power to the common terminals of the DPDT relay.
• Connect the Normally Open (NO) and Normally Closed (NC) terminals to the reversing loop, ensuring that the polarity is set to match the mainline when the relay is in its default state.
- Install Diodes:
• Place diodes across the relay coil to protect against voltage spikes and ensure proper operation.
- Test the System:
• Run a train into the reversing loop. The relay should activate, switching the polarity to match the train’s direction, allowing smooth passage through the loop.
- H-Bridge Auto-Reverser
An H-Bridge circuit allows for electronic control of the track polarity without moving parts.
Materials Needed:
• H-Bridge Motor Driver (e.g., L298N)
• Insulated Rail Joiners or Gaps
• Power Supply
• Wires and Connectors
Circuit Diagram:
Source: Instructables - Automated Train Reverse Loop Using Arduino
Step-by-Step Instructions:
- Isolate the Reversing Loop:
• Ensure the reversing loop is electrically isolated from the mainline using insulated rail joiners or gaps.
- Connect the H-Bridge:
• Connect the input terminals of the H-Bridge to your DC power supply.
• Connect the output terminals to the reversing loop tracks.
- Control Logic:
• Implement control logic (e.g., using sensors or a microcontroller) to detect the train’s position and switch the H-Bridge outputs accordingly to match the required polarity.
- Test the System:
• Operate the train through the reversing loop to ensure the H-Bridge switches polarity correctly, allowing uninterrupted travel.
- Arduino-Controlled Auto-Reverser
Using an Arduino provides flexibility and precision in controlling the reversing loop.
Materials Needed:
• Arduino Board (e.g., Uno)
• H-Bridge Motor Driver (e.g., L298N)
• Sensors (e.g., Infrared or Reed Switches)
• Insulated Rail Joiners or Gaps
• Wires and Connectors
Circuit Diagram:
Source: Instructables - Automated Train Reverse Loop Using Arduino
Step-by-Step Instructions:
- Isolate the Reversing Loop:
• Isolate the loop using insulated rail joiners or gaps at both ends.
- Set Up Sensors:
• Place sensors at the entry and exit points of the reversing loop to detect the train’s presence.
- Wire the Arduino and H-Bridge:
• Connect the sensors to the Arduino’s input pins.
• Connect the H-Bridge to the Arduino’s output pins and to the reversing loop tracks.
- Program the Arduino:
• Write a program that reads the sensor inputs and controls the H-Bridge to switch the track polarity based on the train’s position.
- Test the System:
• Upload the program to the Arduino and run the train through the reversing loop to ensure proper operation.
Additional Resources:
• Automated Model Railroad Layout With Reverse Loops
• Automatic Reverse Controller-Single (AR1) - Digitrax
• How to wire a reversing DC loop - World Of Railways