Pages: [1] 2   Go Down
Author Topic: What Electrical Component Can Reverse the Polarity of a Circuit  (Read 7729 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to reverse the polarity of a circuit with some type of electrical component, that doesn't require a human to do a task to change the polarity of the circuit every time (such as a switch, that wont do). What component is capable of doing this ?
Logged

Grand Blanc, MI, USA
Online Online
Faraday Member
**
Karma: 95
Posts: 4084
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Some context would be great here. Do we want to reverse polarity on an LED, or on a 5hp motor?
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On a 3V motor.
Logged

Grand Blanc, MI, USA
Online Online
Faraday Member
**
Karma: 95
Posts: 4084
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a circuit called an H-Bridge for this purpose.  If this is a relatively modest motor that requires maybe a hundred mA or two, then one could be cobbled together with a few transistors, probably either bipolar or MOSFET.  For something bigger or to avoid rolling your own, there are ICs and driver boards available.  GIYF.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had to deal with H-bridges a while back, they are terrible, plain terrible. I don't want to use those things ever again, is there anything else that JUST changes polarity ? becasue i already have two transistors for on/off control
Logged

Grand Blanc, MI, USA
Online Online
Faraday Member
**
Karma: 95
Posts: 4084
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I had to deal with H-bridges a while back, they are terrible, plain terrible. I don't want to use those things ever again, is there anything else that JUST changes polarity ? becasue i already have two transistors for on/off control

Really?  How so?

Consider what it takes to "just" change polarity: The two connections to the motor need to be connected to one supply rail or the other.  That means two switches on each motor lead.  Whatever the motor leads are connected to need to be able to both source and sink current.  Maybe I have mental block, but that will take four "switches", be they relays, solid state, or just a dumb cross-connected DPDT switch, which requires manual input that you don't want.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to reverse the polarity of a circuit with some type of electrical component, that doesn't require a human to do a task to change the polarity of the circuit every time (such as a switch, that wont do). What component is capable of doing this ?

A single relay with DPDT contacts can reverse the polarity of voltage wired to a load if wired correctly.

Lefty
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How do i wire it correctly ? what is your advice ?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How do i wire it correctly ? what is your advice ?

OK, a DPDT relay contact has six contact pins, 2 normally closed, 2 normally open and 2 common. Wire the load (motor) between the 2 common contacts. Wire a jumper from one normally open to opposite normally closed contact. Wire another jumper wire between the other normally open contact and the other opposite normally closed contact (the two wire jumpers will look like an X ) . Now wire your source voltage between the two normally open contacts.

The relay coil will most likely have to be controlled by a transistor switch if the coil current is higher then a arduino output pin can supply but their are plenty of example circuits on how to control relay coils from an arduino.

That make sense?
Lefty
« Last Edit: June 12, 2011, 09:38:16 am by retrolefty » Logged

Portland, OR
Offline Offline
Full Member
***
Karma: 0
Posts: 101
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had to deal with H-bridges a while back, they are terrible, plain terrible. I don't want to use those things ever again, is there anything else that JUST changes polarity ? becasue i already have two transistors for on/off control

I'm just curious, what was terrible about working with H-bridges.  In my experience they have been extremely easy to use, especially in the 3 volt motor range you are talking about.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had to deal with H-bridges a while back, they are terrible, plain terrible. I don't want to use those things ever again, is there anything else that JUST changes polarity ? becasue i already have two transistors for on/off control

I'm just curious, what was terrible about working with H-bridges.  In my experience they have been extremely easy to use, especially in the 3 volt motor range you are talking about.

Well from just a cost point a relay is quite a bit cheaper then a H-drive.

Lefty
Logged

Portland, OR
Offline Offline
Full Member
***
Karma: 0
Posts: 101
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had to deal with H-bridges a while back, they are terrible, plain terrible. I don't want to use those things ever again, is there anything else that JUST changes polarity ? becasue i already have two transistors for on/off control

I'm just curious, what was terrible about working with H-bridges.  In my experience they have been extremely easy to use, especially in the 3 volt motor range you are talking about.

Well from just a cost point a relay is quite a bit cheaper then a H-drive.

Lefty

That may be true, but that is a different issue. Besides its not like low power h-bridge IC's are so expensive as to make a huge difference anyway.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
That may be true, but that is a different issue. Besides its not like low power h-bridge IC's are so expensive as to make a huge difference anyway.

Relay for $1.40 ( http://www.allelectronics.com/make-a-store/item/RLY-532/5-VDC-DPDT-MINI-SIGNAL-RELAY-2A/1.html ) , H-drive you are suggesting costs?

Lefty


Logged

Portland, OR
Offline Offline
Full Member
***
Karma: 0
Posts: 101
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.sparkfun.com/products/315, $2.35.

Also, I'm not really suggesting anything. I'm just curious if there are some hidden "gotchas" in H-bridge operation that I have been fortunate enough not to encounter, hence the question as to what was terrible about them in the first place since my experience has been good.

And yes, I'm aware 3V is a little low for the recommended minimum motor input voltage but I've had no problems running at 3V with that chip, and with further searching I would guess something suitable would be findable.

It also occurs to me that you can feed the chip 4.5V and use pwm to limit the voltage seen at the motor to 3V.  if you wire the two sides of the chip in parallel, you can get 2 amps out of it if you only need to control one motor.

« Last Edit: June 12, 2011, 01:32:48 pm by growler » Logged

Northern California (by San Francisco)
Offline Offline
Sr. Member
****
Karma: 3
Posts: 258
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm curious too. H-bridges have been used in this kind of case for decades now and I have never heard them get such bad reviews. I'm interested to hear what happened to sour spookyjack on them.

I should say I've got nothing against relays or switches, but I've usually found electronics like transistors in an H-bridge to be more reliable and easier to use than electromechanical devices like relays and switches. That is, unless human intervention is wanted, as it is not here.
« Last Edit: June 12, 2011, 01:37:36 pm by Daanii » Logged

Pages: [1] 2   Go Up
Jump to: