Author Topic: Momentary Switch to directional DC motor  (Read 657 times)

0 Members and 1 Guest are viewing this topic.

Offline SkylimitTopic starter

  • Newbie
  • !
  • Posts: 9
  • Country: au
Momentary Switch to directional DC motor
« on: January 07, 2020, 05:54:52 am »
I have an application that involves a 12V/24Vdc motor that currently uses a momentary toggle switch to tilt forward and back, depending on the direction the switch is pushed.
I need to switch the toggle to a momentary PushButton. Each time the PB is pushed, the motor alternates direction- only while the button is held down.
Many thanks in advanced!
 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 7526
  • Country: de
Re: Momentary Switch to directional DC motor
« Reply #1 on: January 07, 2020, 06:39:06 am »
This is a bit more complex than you might think. "Something" has to remember the current state of the system, i.e. which direction the motor will travel the next time the button is pushed. I am not aware of electromechanical pushbuttons which would do this directly, via a latching mechanism.

You could use discrete electronics (transistors or an integrated flip-flop), but then they would need standby power to remember the current state. Or you could use a microcontroller with a bit of flash memory to remember the state. In either case, you would need a driver (bipolar transistor or MOSFET) to drive your motor current. This all gets a bit unwieldy.

I would suggest a purely electromechanical solution with a "latching relay": Use a DPDT latching relay to switch the polarity of the motor. And use a DPST momentary switch, with one pole to provide a voltage to the relay's coil every time the button is pressed, and the other pole in series with the motor.

Implementation details aside: Are you sure this is a good solution in terms of the user interface it provides? I would probably find it annoying that I never know which direction the motor will move first when I start operating this.
 
The following users thanked this post: Skylimit


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf