Model Train auto reverse. Check my circuit.

Jiggy-Ninja:
a bridge rectifier is a very good idea.

WooHOOOO!!!!
Hey, I take em where I can get em!

edit: and here is a video of my buddy's layout. 3' x 4' with 11 moving trains. There are several point to point reversing lines in this. He wants more.