Model train incline/funicular

I am making a two car model train incline/funicular and I do not not the kind of relay/controls to do the following action: I have a 12 volt Dc motor and a 12 volt variable transformer.

  • I want to operate the motor in one direction for 10 seconds
  • then after a 5 second delay
  • reverse polarity operating the motor in the opposite direction
  • then another 5 second delay.
    I would like to repeat this cycle until power is off.

Could anyone supply information on the controls needed to purchase and any wiring information.
I can do this manually with a DPDT switch, however would like to automate.

Thank You,
Paul

Hi Paul,

One way to do that would be to use a microcontroller (Arduinofor example) and code your application.
In it’s programmation you can make it move in one direction for a period of time then the other direction.

robotshop.com/en/sunfounder … er-r3.html
robotshop.com/en/dfrobot-ar … hield.html
robotshop.com/media/files/p … manual.pdf
All the best,