Go Down

### Topic: DPDT relay? (Read 4679 times)previous topic - next topic

#### mathphreak

##### Feb 26, 2011, 09:17 pm
I'm trying to control a drill motor with Arduino.  I either need
a) a good DPDT to control 12v/20A circuit w/o frying Arduino or motor, or
b) a recommendation on how else to reverse polarity w/ electronics.  Any ideas?  Thanks.

#### retrolefty

#1
##### Feb 26, 2011, 11:34 pmLast Edit: Feb 27, 2011, 05:01 am by retrolefty Reason: 1
That 20 amp current requirement is going to be a costly H-drive controller and needed if you require both bidirectional and variable speed control. If variable speed not required, then relays will work. Even with relays you need to consider three states, not just two, clockwise rotation, counterclock rotation and motor stop. One DPDT relay will not satisfy all three states, even if you can find relays with 20amp DC contact ratings. So one DPDT relay to control direction and one SPST relay required for on/off control.

Note that DC current switching is harder on relay contacts then AC switching as AC crosses through 0 voltage twice every cycle, DC does not and causes worst arcing wear on contacts. So if you do go the relay method be sure those contacts are rated for switching 20 amps DC, or higher.

Lefty

#2
##### Feb 26, 2011, 11:40 pm
Big relay like this one
3 pole double throw
http://www.mpja.com/prodinfo.asp?number=18255+RL
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

#### retrolefty

#3
##### Feb 27, 2011, 12:01 am

Big relay like this one
3 pole double throw
http://www.mpja.com/prodinfo.asp?number=18255+RL

I assumed he would want relays using coil voltage the same as the motor voltage for simplicity sake. Even if not one still requires a second relay to stop the motor.

#4
##### Feb 27, 2011, 12:17 amLast Edit: Feb 27, 2011, 12:38 am by CrossRoads Reason: 1
Good call Lefty.
Maybe 4 of these then, wired up like the transistors in an H-bridge?
(which I am sure I created a drawing of somewhere)
http://www.mpja.com/prodinfo.asp?number=17155+RL

Rats, thats 12VDC isn't - need a different relay still.
Here we go: lots of amps DC,
http://www.mpja.com/prodinfo.asp?number=17289+RL
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

#### retrolefty

#5
##### Feb 27, 2011, 12:23 amLast Edit: Feb 27, 2011, 12:34 am by retrolefty Reason: 1

Good call Lefty.
Maybe 4 of these then, wired up like the transistors in an H-bridge?
(which I am sure I created a drawing of somewhere)
http://www.mpja.com/prodinfo.asp?number=17155+RL

No, just two relays are required, one DPDT to handle the polarity reversal and one SPST to remove DC voltage for the stop condition. I don't have a drawing program presently, but the old X wiring across the NO and NC contacts and the motor wired to the two common contacts and power applied to one NO and one NC contact. The SPST relay contact would just be in series with the batteries positive or negative lead.

Lefty

#### cr0sh

#6
##### Feb 27, 2011, 04:57 am

Using four SP relays is not a safe thing because you can't depend on all of them to have exactly the same switching times. If one relay is "slow" you could end up shorting the power supply.  Much safer to use a DPDT relay to control direction and a SPST relay (or transistor) to control ON/OFF (or speed if using a transistor and PWM).

Actually, it would be best to use two SPDT relays, with the lever of each connected to the motor, and the NO contacts connected to +V and the NC contacts connected to GND. This way, you could switch either one to control direction, and both off (or on) for brake. A couple of Bosch 20A 12VDC automotive relays would fit the bill perfectly, and can probably be found fairly easily at a junkyard for a few dollars each. They are designed for these kinds of loads (ie, windshield wipers, pumps, windows, A/C fans, etc), and so are engineered to take the abuse. Even brand-new they aren't that expensive.
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

#### TerryKing

#7
##### Mar 26, 2011, 05:48 am

...
Actually, it would be best to use two SPDT relays, with the lever of each connected to the motor, and the NO contacts connected to +V and the NC contacts connected to GND. This way, you could switch either one to control direction, and both off (or on) for brake.

Yes, this is what I was going to suggest.

At up to 10 amps, these are a good \$12.50 solution....  http://arduino-direct.com/sunshop/index.php?l=product_detail&p=155  DISCLAIMER: Ones I found for my shop!

Go Up