Make a Low Cost Sensored Track in Minutes!

by KushagraK7 in Circuits > Sensors

29234 Views, 46 Favorites, 0 Comments

Make a Low Cost Sensored Track in Minutes!

Simple automated model railway loop | Arduino controlled
IMG_0978.JPG

In my previous Instructable, I showed you how to make a model train layout with automated siding. It used a track segment, named 'sensored track'. It is a quite useful thing to have in a model railway layout. I can be used for the following:

  • Block occupancy detection: These 'sensored tracks' can be installed in sidings and yard lines to detect whether the particular track is free or not.
  • Automating layouts: These 'sensored tracks' can also be used to automate an entire layout. If used with a microcontroller such as an Arduino board or a computer such as a Rspberry Pi, this can be used to switch turnouts, turn on and off lights on a DCC rolling stock, change the speed and direction of locomotives autonomously, control block signals and do a lot of more stuff! All without any human interference.

The above video shows one of its applications.

So, without furthur ado, let's get started!

Gather All the Stuff!

IMG_0964.JPG

If you have a drill machine, you will need:

  • An IR proximity sensor(IR LED and photodiode of small diameter are recommended).
  • A diagonal cutter.
  • A track segment(I used a Kato S62 track).
  • A hot-glue gun or super glue.
  • A drilling machine.
  • A drill bit with the same diameter as those of the IR LED and the photodiode of the sensor.

If you don't have a drill machine, you will need:

  • An IR proximity sensor(IR LED and photodiode of small diameter are recommended).
  • A diagonal cutter.
  • A track segment(I used a Kato S62 track).
  • A hot-glue gun or super glue.
  • A small-sized cross-head screwdriver with a pointed tip.
  • A cross-head screwdriver of about the same diameter as those of the IR LED and the photodiode of the sensor.

Cut a Notch on One Side of the Track

IMG_0967.JPG

Using a diagonal cutter, cut a notch of adequate width to fit the pins of the IR LED and the photodiode.

Make Holes in the Track

IMG_0968.JPG
IMG_0969.JPG

Make holes between the ties/sleepers of the track, keeping one tie/sleeper in between the holes to accommodate the IR LED and the photodiode.

Enlarge the Holes

IMG_0970.JPG
IMG_0971.JPG

Using the cross-head screwdriver, enlarge the holes to accommodate the IR LED and the photodiode.

Bend the IR LED and the Photodiode

IMG_0972.JPG

The picture explains it all.

Power-up the Glue Gun

IMG_0965.JPG

If you are using a hot-glue gun, plug it in and power it up.

Install the Sensor in the Track

IMG_0973.JPG

Push the IR LED and the photodiode into the holes, fitting their pins through the notch made earlier.

Glue the Sensor to the Track

IMG_0975.JPG

Using hot-glue or super glue, glue the sensor to the tracks as shown in the picture. Super glue may give clean results but removing the sensor from the track in the future becomes easy if you use hot glue.

Test and Calibrate the Sensor

IMG_0976.JPG
IMG_0977.JPG

Connect the 'sensored track' to some straight tracks and run a locomotive or a rolling stock on them. If the indicator LED does not turn on while the locomotive or the rolling stock is anywhere on the sensor, adjust the sensitivity and check once again.

It's Done!

IMG_0974.JPG
Automated Model Railroad with Reverse Loops | Arduino Model Railroad Automation

Now your 'sensored track' is ready to be used in your layout. Use your creativity to use this to create autonomous operations in your layout. I would love to know where you used this in your layout to do which function, in the comments. If you are interested, you can also check the above video.

All the best!