Connect with us

A simple motor forwards, stop then reverse to starting position when button pressed

Discussion in 'Sensors and Actuators' started by tperry1x, Nov 27, 2011.

Scroll to continue with content
  1. tperry1x


    Nov 27, 2011
    Hi everyone. I am new to this forum, and a complete newbie to everything electronics. I really hope that someone can help me, and this will probably be a straighforward question.

    What I want to do is as follows:
    There are 2 push buttons, A and B.
    • When button A is pressed, a motor turns clockwise until it reaches a set point. (Button B is deactivated at this point so pressing it has no effect).
    • The power to the motor is then automatically cut after a set point is reached so the motor stops.
    • Button B then becomes live and button A is deactivated.
    • Only when button B is pressed, the motor returns to the exact point it started at to begin with.

    Is it possible to automatically cut the power to the motor (in both directions) when it meets a point of resistance?

    Many thanks for any help you can give.
    By the way, if it helps, this would be for a custom pop-up headlight mechanism I am devising.
  2. duke37


    Jan 9, 2011
    The motor may not like being stalled, if the current is sensed to determine the end point, then the starting current may activate the system. Limit switches would be better.
    Try to get a car window winder system circuit to see how others do it.
  3. Harald Kapp

    Harald Kapp Moderator Moderator

    Nov 17, 2011
    You may have a look at the most useless machine ever (
    There a servo motor does almost what you want, using limit switches. Other than in your scenario the useless machine automatically reverts when reaching position B. This is due to a toggle switch being used. But the circuit should be easily modified for using push buttons + limit switches.

  4. tperry1x


    Nov 27, 2011
    Limit switches seem the way forward. Thanks everyone, think I've got an idea on how to do this now. Answered my own question on the mechanics of this. Will put up a sketch if this helps anyone else.
  5. davenn

    davenn Moderator

    Sep 5, 2009
    haha, thats so funny, love the video of the 2 duelling against each other.
    a nice mantlepiece item for visitors to talk about

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day