Auto-reverse HO trolley circuit

Ranked #4,297 in Hobbies, Games & Toys, #50,260 overall

Introduction

I though it would be cool to have a trolley go through the center of town in my HO scale train layout. I wanted the trolley to head through the center of town and when it reaches either end of the line it would pause then reverse, but I didn't know how to accomplish this.

The problem

How am I going to control the movement of the trolley so that it stops in the center of town for a period of time then continue to the end of the line, pause and go in the opposite direction? Also, how can I determine the position of the trolley on the track? At first I thought about employing a circuit that uses a PIC Microcontroller to perform the logic needed but then I settled for a simple transistor circuit to do the job.

HO Scale Trolleys on Amazon

Loading

Determining the position of the trolley on the track

I came up with the idea of using reed switches and magnets to determine the location of trolley on the track. The reed switch was attached to the rail at either end of the trolley line and one in the center. A magnet at the bottom of the trolley caused the reed switch to close when it was directly over the reed switch.

Determining the position of the trolley on the track, continued

Here is a picture of the magnet on the bottom of the trolley that activates the reed switch.

Trolley auto-reverse circuit design

The circuit consists of a two PNP transistors that make up a bistable multivibrator circuit. The bistable multivibrator circuit changes state when the reed switches attached to either end of the track are activated with the magnet on the trolley closing the circuit. One transistor of the bistable multivibrator circuit is attached to a driver transistor which activates a relay that changes the direction of the trolley by changing polarity of the voltage on the track. There is also another circuit consisting of a 555 timer integrated circuit that pauses the trolley each time it changes direction and when it is in the center of town. The 555 timer integrated circuit connects to a second relay that disrupts power to the track and causes the trolley to stop. The 555 timer integrated circuit is activated when the bistable multivibrator circuit changes state during an auto-reverse or when the reed switch in the center portion of the trolley track is activated. The auto-reverse trolley circuit is powered by the AC terminals on the model railroad power supply, a bridge rectifier circuit and capacitor rectify and filter the AC to a relatively steady DC current. Then a 7805 regulator regulates the voltage to a steady 5 volts. The DC terminals on the model railroad power supply provide power to the trolley through the track. The polarity of the track voltage is switched by the relay of the auto-reverse circuit. Here is a schematic of my trolley auto-reverse circuit. I used LEDs (Light Emitting Diodes) in this circuit to indicate the state of the bistable multivibrator circuit.Caution: Build this circuit at your own risk! I am not responsible if you burn out your model train power pack, motor in your trolley, or damage to you or your track. You should have a basic knowledge of electronics and electricity before building the auto-reverse HO trolley circuit.

Books about electronics on Amazon

Loading

Bread boarding the auto-reverse HO trolley circuit

I built the power supply for the auto-reverse HO trolley circuit on a separate solderable perfboard. No need to breadboard this part of the circuit as the design was straight forward. I bread boarded the rest of the auto-reverse HO trolley circuit so that I could make changes to the circuit on the fly if needed. I always recommend bread boarding an untested circuit design first before committing it to solderable perfboard.

Testing the auto-reverse HO trolley circuit

Next I setup up a test track next to my work bench so that I could test the auto-reverse HO trolley circuit. This made it easy for me to make changes on the fly without affecting my HO scale layout.

Preparing the trolley track to be added to my HO scale layout

Testing is complete, my auto-reverse HO trolley circuit works like a charm. Now it is time to add it to my HO scale layout. The first thing I did was add the reed switches to both ends and to the center of the section of trolley track. I recommend that you install the reed switches to the track before installing it on your layout so you don't get hot glue and solder on your layout.

Atlas Trolley Track on Amazon

Loading

Preparing the trolley track to be added my HO scale layout, continued

I then soldered the track sections together so they wouldn't work loose during operation.
Be careful that you do not get solder on the top or inside section of the rail as solder in these areas could derail your trolley.

Preparing the trolley track to be added my HO scale layout continued

I used several 2x4 pieces of wood to elevate to the trolley track to make it easier to assemble.

Preparing the trolley track to be added my HO scale layout, continued

I routed the wires attached to the reed switches along the side of the rail. I used very thin black wire picked up at the hobby store to attach to the reed switches. I could use very thin wire for the reed switches because these wires will carry a very small electric current, less than 1 milliamp.

Mounting the trolley track to my HO layout

I routed the trolley track right through the center of my layout with all of the wires exiting on the right hand side of the track.

Mounting the trolley track to my HO layout, continued

I drilled holes through the plastic ballast section of the railroad tracks so that I could route the wiring through these holes leaving the ballast flush with the table. I need to keep my HO layout easy to disassemble in case I need to move it.

Mounting the trolley auto-reverse electronics in the control console

The model train power supply, auto-reverse circuit and power supply perf boards are mounted in the control console of my HO layout. Make sure you mount the model train power supply so that you can easily adjust the speed of the trolley.

Running the trolley

The trolley is now ready for operation! It will pause in the center of town then move to the end of the track and pause then return in the opposite direction, pause in the center of town again then travel to the end of track in the other direction pause again and reverse.

Some of my favorite HO Buildings on Amazon

Loading

Video of trolley running on my HO layout

Here is a video of my trolley in action on my HO layout.
HO Auto-reverse Trolley
by jbdkz1 | video info

3 ratings | 1,882 views
curated content from YouTube

Conclusion

With some basic electronic knowledge and wiring skills, you too can have a working trolley system in your HO layout.

Guestbook

  • Write4U Apr 1, 2012 @ 8:58 am | delete
    This is a great option for model trolleys. Do you know if this can be made to work with live overhead?
  • jbdkz Apr 1, 2012 @ 9:57 pm | delete
    What I recommend is use the trolley tracks for power and to mount the reed sensor switches, then string black thread overhead between electrical towers as a fake overhead electrical system.
  • Thomas Mar 17, 2012 @ 6:22 pm | delete
    Can I have a copy of your original image of the parts list/schematic and bread board. Please email to trains@amassing.com
  • tssfacts Apr 15, 2011 @ 7:39 am | delete
    This looks like a lot of fun.
  • jbdkz Apr 15, 2011 @ 12:59 pm | delete
    It is fun! The trolley car is the crown jewel of my layout!
  • Load More

My Featured Lenses

Loading

by

jbdkz

I am an IT professional who enjoys computers, motorcycles and working with model trains.

Feeling creative? Create a Lens!