Go Down

Topic: Connecting 6VDC relay with Arduino? (Read 4334 times) previous topic - next topic

NI$HANT

Dec 18, 2010, 08:34 am Last Edit: Dec 18, 2010, 08:44 am by Nishant_Sood Reason: 1
I bought a bunch of Relays that i want to connect with Arduino UNO they have an Operating value of 6VDC and switching capability of 240 VAC and having 5 connector's as in the Picture:http://sanjog-electricals.limewebs.com/My%20Pictures/Image(333).jpg.

I wanted to know how can i connect it to arduino and as its 6VDC will it be able to work with arduino's 5 VDC or not or i have to provide external power source?
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

robtillaart

#1
Dec 18, 2010, 09:55 am Last Edit: Dec 18, 2010, 09:55 am by robtillaart Reason: 1
The picture is so unsharp it could be anything - my car seen from space ?. You have to come up with a better picture. If there is a typenumber on the relay you can google for "typenumber datasheet" to find more info about the relays.

As the relays are 6V you better drive them with a transistor and external powersupply. see - http://www.jaycar.com.au/images_uploaded/relaydrv.pdf
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Graynomad

Nishant, you have to be taking the piss with that photo  :)

With 5 connectors it's probably a SPDT relay, two if them will be the coil and they will almost certainly be seperate from the other 3, get a 6v battery and briefly touch these two if you can identify them. When I say briefly I mean hold GND on one pin and brush past the other pin with the 6v wire. If the relay clicks your done, if you get a flash you've found common and NC.

If the two aren't obvious just try different pairs until the relay clicks.

Having found the coil the other 3 are probably C, NC and NO.

______
Rob

Rob Gray aka the GRAYnomad www.robgray.com

NI$HANT

Thank you to you both sir's. its like i had a weak camera (VGA)
and the info. you gave was really worthit!

What point i have to connect with my Arduino UNO so that Relay could be controlled by it?
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Graynomad

Quote
What point i have to connect with my Arduino UNO so that Relay could be controlled by it?

Have you identified the coil connections yet?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

retrolefty

Here is a basic drawing of a typical Arduino to relay interface:

http://www.arduino.cc/playground/uploads/Main/relays.pdf

Lefty

cr0sh

Most likely, looking at the very blurry picture, the three terminals on the right, from top-to-bottom are "coil 1", "COM", "coil 2", while the other two on the left are "NO" and "NC" contacts (from "COM"). This is how most SPDT relays are set up, with the common center pole between the two coil connections. Use a multimeter set to 1K ohm or lower range, and check the connections; the coil will register with a resistance, whereas everything else will either be infinite resistance (open/no continuity) or zero resistance (closed/shorted). If those two aren't the coil, then they'll be the contacts on either side of "COM", and the other two on the left will be the coil.

To hook it up to the Arduino, see here:

http://www.arduino.cc/playground/uploads/Main/relays.pdf

Just use a 6 VDC supply across the coil to energize the relay; make sure your ground is connected with the Arduino's ground. DO NOT leave out the resistor -OR- the diode, they are important!
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

NI$HANT

#7
Dec 19, 2010, 06:06 am Last Edit: Dec 19, 2010, 06:20 am by Nishant_Sood Reason: 1
i have found the connection's , The 3 on the right side have the COIL points at the extreme corner's and in between it is the COM and the other 2 points at the extreme(left side of the pic) are the NO and NC,
Now which point you think i should give into the arduino?

Also i have operated it at 5 VDC and It clicks with it too! my dad is telling me that 1 VDC is not that much of a difference it can be operated from arduino? , What you people think?

I have Uploaded A NEW NICER! PICTURE please! take a look
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

jackrae

Firstly, your camera problem isn't that it's a vga.  You are too close for it the focus setting.  I have a simple VGA camera that is capable of excellent focus down to less than a centimetre.  Does it have a rotating lens assembly that can be used to adjust close-up focus.

Tell your dad that operating a 6 volt relay at 5 volts via a transistor driver results in the relay operating at around 4.3 volts.  That is 72% of it's designed rating ( ie 28% short) so 1 missing volt is indeed relevant.  Yes it might work but not with 100% assurity.

jack

CrossRoads

Quote
The 3 on the right side have the COIL points at the extreme corner's

Does this part have any identifying marks on it? Post that information.

You may be able to make it click with 5V, but without knowing how much current it takes you are at risk of damaging the arduino pin you connect to.

Do you have a multimeter that can measure milliamps?
If you have a milliamp setting on your multimeter, then put your meter in series with the 5v supply, the relay coils, and ground and see how much current is flowing.
It it's 25-30-35 mA, then you're asking the arduino to work hard to drive it.
If it's over 40mA, then you're looking at damaged pins.
Hence the transistor in the schematic examples that were posted.
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.

MakerMann

why not just use the mini relays form radio shack i saw them 1.88 cheap

CrossRoads

The OP started the post by saying a bunch of them had been purchased.
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.

NI$HANT

@Crossroads Sir, There have been no marking over the RELAY but i have checked it with 5 VDC supplied to it with a Voltage regulator/adjuster and it Clicked perfectly! and stayed at that state,Yes i have a multimeter that can measure miliamps ?,
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

CrossRoads

No markings.  Odd.
Well, check the coil current when you have 5V turning it on, see how much current it is using to make the contacts change.

5V+ to Meter+,
meter- to coil+,
coil- to power supply ground.
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.

jackrae

Better still, measure the coil resistance and maybe some of our more experienced users can make an informed guess as to what the voltage rating is

Are you sure there are no markings, absolutely nothing at all ?

jack

Go Up