Home > News & Updates > Automated Point to Point Model Railroad With Yard Siding

Automated Point to Point Model Railroad With Yard Siding

Summary of Automated Point to Point Model Railroad With Yard Siding


This article details a project automating a point-to-point model railroad with a yard siding using an Arduino microcontroller and an Adafruit motor shield. The system utilizes feedback mechanisms to control train movement and turnouts, expanding on previous automation efforts.

Parts used in the Automated-Point-to-Point-Model-Railroad-With-Yard-Siding:

  • Arduino board compatible with Adafruit motor shield v2.3
  • Adafruit motor shield v2.3
  • Expansion shield (optional)
  • 3 'censored' tracks
  • 4 male to male jumper wires
  • 3 sets of 3 male to female jumper wires
  • 12-volt DC power source (1A capacity)
  • USB cable
  • Computer for programming
  • Screwdriver
Automated-Point-to-Point-Model-Railroad-With-Yard-Siding

In this post, we will discuss Automated-Point-to-Point-Model-Railroad-With-Yard-Siding: Arduino microcontrollers open great possibilities in model railroading, especially when it comes to automation. This project is an example of such an application. It is a continuation of one of the previous projects.

This project comprises of a point to point model railroad layout with a yard siding to house a train. All of the operations are controlled by an Arduino microcontroller board with the help of feedback mechanism and the train and the turnout is controlled by an Adafruit motor shield.

Automated Point to Point Model Railroad With Yard Siding Steps:

Here is what you will require for the build:

  • An Arduino board is compatible with Adafruit motor shield v2.3.
  • An Adafruit motor shield v2.3.(Click here for more information.)
  • An expansion shield(Optional, recommended to expand the +5V and GND pins of the Arduino board in order to connect the sensors.)
  • 3 ‘censored’ tracks.
  • 4 male to male jumper wires(2 to connect track power and others to connect the turnout.)
  • 3 sets of 3 male to female jumper wires(A total of 9 wires used for connecting the 3 pins of each sensor to the Arduino board and power.)
  • A 12-volt DC power source with a current capacity of at least 1A(1000mA).
  • A suitable USB cable to connect the Arduino board to the computer.
  • A computer to program the Arduino microcontroller.
  • A screwdriver.

Program the Arduino Microcontroller

Make sure you have the Adafruit motor shield library installed in your Arduino IDE. You can get full documentation about the motor shield and the necessary software from this link.

Make a Test Layout

Kato Unitrack is great for making temporary layouts, especially for testing purposes. Click on the image for more information. Make a layout as shown in the above image. The length of the track in the mainline(Between points A and B can be made of any length possible.) Make sure all the rail joints are properly made and the track rails are cleaned properly.

Install the Motor Driver Shield on the Arduino Board and Connect It to Track Power and Turnout

Install the shield carefully on the Arduino board by aligning the pins of the shield with the headers of the Arduino board. Do it gently and make sure no pins of the shield get bent.

Connect the output pins of the shield marked as M4 to the track power wires and those marked as M3 to the turnout wires. Make note that the setup is compatible with only two-wire solenoid type turnouts.

Read More

Quick Solutions to Questions related to Automated-Point-to-Point-Model-Railroad-With-Yard-Siding:

  • How is the train and turnout controlled?
    The train and turnout are controlled by an Adafruit motor shield with the help of an Arduino microcontroller board.
  • Can I use any Arduino board for this project?
    No, you must use an Arduino board that is compatible with the Adafruit motor shield v2.3.
  • What type of turnouts does this setup support?
    The setup is compatible with only two-wire solenoid type turnouts.
  • Which pins should connect to the track power?
    You should connect the output pins marked as M4 to the track power wires.
  • What is the purpose of the expansion shield?
    The expansion shield is recommended to expand the +5V and GND pins of the Arduino board to connect sensors.
  • How many jumper wires are needed for the sensors?
    A total of 9 wires are used for connecting the 3 pins of each sensor to the Arduino board and power.
  • What current capacity does the power source require?
    The 12-volt DC power source must have a current capacity of at least 1A or 1000mA.
  • Is Kato Unitrack suitable for testing?
    Yes, Kato Unitrack is great for making temporary layouts, especially for testing purposes.

About The Author

Scroll to Top