Schematic for wiring 2 SPDT relays into an H-Bridge?

I'm trying to figure out how to wire 2 SPDT relays into an H-Bridge. I need to switch a small linear actuator (12V car door lock mechanism). I need to power it on/off and switch the polarity to open/close it) I've been searching for a couple days now with no concrete results.

My plan was to run two SPDT relays off transistors. One relay switches power on/off and the other relay switches polarity. I've found a schematic for wiring 2 DPDT relays for switching/polarity reversing (http://bridell.com/switching-and-reversing-arduino-relay-shield/), and I've read that you can do this with 2 SPDT's (which is what I have on hand), but I can't figure out how this should be wired up using 2 SPDT relays.

I'm using Omron G5V-1-DC5 relays. They have 6 pins (2 for the coil (pins 2 and 9), 2 for each "throw" (pins 1 and 10), and two more that a wired together internally (pins 5 and 10 to close the circuit on the throws).

I've never worked with relays before, and a picture would be worth a thousand words.

Thanks for any help you can provide.

You know, I looked at the google images, but the light over my head didn't go off. The link to the tutorial you posted was just what I needed. The text cleared things right up! I think, do I have this right?

I need to tie the Normally Open (NO) contacts together with the + of my 12V supply and the Normally Closed (NC) contacts together with the - of my 12V supply, and the common contacts all go to ground. And the ground must be common to both the Arduino and 12V actuator supply, correct?

I need to tie the Normally Open (NO) contacts together with the + of my 12V supply and the Normally Close contacts together with the - of my 12V supply,

Correct so far.

and the common contacts all go to ground.

Wrong, the two common contact wire to the two terminals of your actuator.

And the ground must be common to both the Arduino and 12V actuator supply, correct?

Not if your using +5vdc relay coils that get there power from the Arduino board. Study the picture that KE7GKP closely and you will see there is no connection from the 12 volt negative to the arduino ground.

Lefty

Ahh, my schematic reading skills are rusty (or, more likely, non-existent). I see the common contacts connected to the motor in the diagram now.

Also, I misread some of the text in the tutorial, the need for common ground was for running a motor off of a transistor using only onboard supply.

So NO goes to +12V, NC goes to -12V, common goes to each side of the actuator. Arduino and Actuator each have independent +/- (which is the whole point of using relays here of course).

Thanks so much!

I'm also having trouble figuring out a basic schematic for the relay G5V-1-DC5 is there any schematics with a program layout that is available?

infinite4566: I'm also having trouble figuring out a basic schematic for the relay G5V-1-DC5 is there any schematics with a program layout that is available?

You mean like this? http://www.seekic.com/uploadfile/ic-mfg/20121621536657.jpg

If you don't understand how to wire up a relay properly then perhaps some of the Asian relay board modules would work out better for you, they are quite cost effective and come in single, dual, 4, 8, and 16 channel models. Examples:

http://www.ebay.com/itm/1-Channel-5V-Relay-Module-High-Quality-Board-For-Arduino-AVR-PIC-ARM-TTL-DSP-/360572853646?pt=LH_DefaultDomain_0&hash=item53f3d11d8e

http://www.ebay.com/itm/Brand-New-5V-2-Channel-Relay-Module-Board-With-Opticalcoupler-Shield-Arduino-ARM-/400400867832?pt=LH_DefaultDomain_0&hash=item5d39c061f8

Lefty

Well I've looked up the datasheets to use them; however, I'm referring to a schematic utilizing the arduino. I have an arduino cookbook displaying a program for which to use a relay however not a circuit. I'm trying to learn different components and programs to build experience to make more complex programs. Is there a site that gives examples of full circuits people have done in the past with programs included?

A possible way to wire your relays.

To anyone who comes across this post, I found an easier and cheaper way to do an H-bridge. Just use an h-bridge IC :)

I've got it working using a SN754410 Quad Half H-Bridge. You usually use these for motors apparently, but they work for cheap car door actuators too.

There is a tutorial here on running motor off of it, but you can wire it the same way with an actuator. Of course, you only want a momentary pulse of power to trip the actuator, instead of constant running like a motor.

http://itp.nyu.edu/physcomp/Labs/DCMotorControl

I used a DPDT relay and a mosfet for the same purposeā€¦ Never had a relay or transistor fail eitherā€¦ Must have built a 1000 of them.

Bob