Connect with us

Would like to convert a DPDT switch...help!

Discussion in 'General Electronics Discussion' started by swedespeed7, Apr 3, 2015.

Scroll to continue with content
  1. swedespeed7

    swedespeed7

    15
    0
    Apr 3, 2015
    Hi guys,

    I'm kind of poking around in the dark here, but hopefully someone can help me out. Here's the deal:

    I have a DPDT rocker momentary switch that controls a 12V motor. Press and hold the switch one direction, the motor opens a door until it's all the way open. Vice versa, door closes until all the way closed. Opening/closing takes about 3 seconds.

    If the switch is kept depressed in either direction, the motor will continue to receive power and would most likely burn out eventually.

    My goal is to convert the momentary rocker switch to a single push-button switch. For example, the switch is pushed and the motor operates until the door is all the way open. Press it again, motor closes the door all the way.

    I'd like to accomplish this without having to modify the motor or door.

    Is there a way to use relays to accomplish this? Something else? I'm somewhat familiar with the standard 5-pin relay but that's it.

    If this is possible, what type of switch should I use?

    Thank you in advance!
     
  2. davenn

    davenn Moderator

    13,880
    1,964
    Sep 5, 2009
    hi there
    welcome to EP :)

    to detect when the door is fully open or closed, you would need limit switches on/near the door frame/motor

    Then the rest is relatively straight forward

    Dave
     
  3. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    You could also possibly detect the limits electronically by detecting an increase in motor current when it hits the end of travel, assuming the mechanical setup will not be damaged by doing that.

    Bob
     
    hevans1944 likes this.
  4. swedespeed7

    swedespeed7

    15
    0
    Apr 3, 2015
    That sounds like something I'd like to do. How can I accomplish this? What parts are required?

    Thanks guys!
     
  5. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    How is your electronic knowledge and skills?

    Bob
     
  6. swedespeed7

    swedespeed7

    15
    0
    Apr 3, 2015
    It's more than average I suppose, but that's not saying much these days!
     
  7. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    Okay, easiest way would be with a microcontroller. Do you have any experience?

    Bob
     
  8. swedespeed7

    swedespeed7

    15
    0
    Apr 3, 2015
    No I don't.
     
  9. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    How about soldering components on a perfboard?

    Bob
     
  10. swedespeed7

    swedespeed7

    15
    0
    Apr 3, 2015
    Soldering yes, board no.
     
  11. hevans1944

    hevans1944 Hop - AC8NS

    4,626
    2,159
    Jun 21, 2012
    This sounds like overkill for "automating" a switch that operates intermittently for three seconds! Just tell folks to release the switch after the door opens or closes, maybe upon penalty of whatever if they fail to do so.

    My ancient Sears garage door opener operates exactly as you describe: push one button and the door opens. Push it again and the door stops (usually). Push it a third time and the door reverses direction and closes. No limit switches. If the door hits an obstacle it stops. I think it must have a circuit that senses motor current (AC motor though, not DC) sudden increase to detect limits of travel and obstacles.

    You can do this too with a Hall-effect DC current sensor. Digitize the Hall sensor output with an Arduino or a PIC or similar microprocessor and determine what the current increase is at the limits of travel. Set a threshold somewhat less than that but greater than the normal motor current. Connect a push-button to one of the μP digital inputs, a pair of relays to two of the outputs (one for power, one for direction), add a few lines of code and you're done. There is another recent thread here that has a link to a nice Hall-effect DC current sensor. Or Google is your friend.
     
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

-