Go Down

Topic: Can I use this relay to control 12 V DC? (Read 1 time) previous topic - next topic

creativen

Can I use this relay to turn on or off 12V DC electronic equipment?
http://www.dfrobot.com/wiki/index.php?title=Relay_Module_%28Arduino_Compatible%29_%28SKU:_DFR0017%29

retrolefty


Can I use this relay to turn on or off 12V DC electronic equipment?
http://www.dfrobot.com/wiki/index.php?title=Relay_Module_%28Arduino_Compatible%29_%28SKU:_DFR0017%29


Yes, as long as the amount of 12V current you are switching on and off don't exceed the maximum current rating of the contacts on the relay.

Lefty


Chagrin

#2
Jan 18, 2013, 07:54 pm Last Edit: Jan 18, 2013, 07:56 pm by Chagrin Reason: 1
The dfrobot page has a link to the data sheet for the relay which states that it is rated up to 5A at 24V DC.

EDIT: whoops, it links to the wrong datasheet :P. Here's the correct datasheet.

creativen

Do you know what is the maximum current rating of the relay for 12V DC? I am not sure reading the datasheet.

creativen

I am trying to turn lock and unlocked this solenoid door:
http://www.tokopedia.com/awgmarket/solenoid-door-lock-12v

JimboZA

@lefty..... what might it be about that relay that would cause it to have different current ratings on the NO vs NC connections?

And is that a common thing in relays in general?
My hovercraft is full of eels.

No PMs for help please.
DO NOT power servos from Arduino 5V: give them their own power and connect the grounds.

retrolefty

#6
Jan 18, 2013, 08:09 pm Last Edit: Jan 18, 2013, 08:17 pm by retrolefty Reason: 1

@lefty..... what might it be about that relay that would cause it to have different current ratings on the NO vs NC connections?

And is that a common thing in relays in general?


You know I saw that rating and was somewhat surprised as I've never seen that kind of rating ever before. I have seen a given relay have lower current rating for switching DC then AC on the same physical relay as breaking AC current gets the benefits of the AC voltage doing zero crossings, where as DC always creates higher arcing on the contacts for the same current value. So maybe a datasheet error really meaning 10 amps max if AC or 5 amps if DC? Either way one should most likely limit DC current switching to 5 amps max for that relay unless better information is forthcoming from the manufacture.

Lefty

creativen

But when I connect to that solenoid lock door, and following the code
Code: [Select]
//Arduino Sample Code
//www.DFRobot.com
//Last modified on 14th March 2012 by HJS
//This code has been updated to work with the sample code provided in the Wiki

int Relay = 3;
 
void setup()
{
  pinMode(13, OUTPUT);         //Set Pin13 as output
  digitalWrite(13, HIGH);     //Set Pin13 High
  pinMode(Relay, OUTPUT);     //Set Pin3 as output
}
void loop()
{
          digitalWrite(Relay, HIGH);   //Turn off relay
          delay(2000);
          digitalWrite(Relay, LOW);    //Turn on relay
          delay(2000);
}


from http://www.dfrobot.com/wiki/index.php?title=Relay_Module_%28Arduino_Compatible%29_%28SKU:_DFR0017%29  <-- here using led

but the solenoid doesn't show any changes. Is it possibly means that the solenoid door lock require more than 5 A?

Grumpy_Mike

Quote
but the solenoid doesn't show any changes.

Do you here the relay click?

Quote
Is it possibly means that the solenoid door lock require more than 5 A?

If you put more current through a relay than its ratings, first the life is shortened, and then the contacts weld together. So in either event your solenoid should move.

retrolefty

Quote
but the solenoid doesn't show any changes. Is it possibly means that the solenoid door lock require more than 5 A?


That sounds to me like a wiring problem on the output contacts side of your relay/solenoid/power source setup. Or maybe whatever door solenoid voltage source you are using is not up to the task? Can you post a drawing of your output wiring?

Lefty

creativen

Yes I do hear a click!
what does it mean? my english is not really good.
Quote
If you put more current through a relay than its ratings, first the life is shortened, and then the contacts weld together. So in either event your solenoid should move.

Grumpy_Mike

Quote
Yes I do hear a click!
what does it mean?

It means the relay is working and the fact that you solenoid does not move is down to the fact that either you have not wired it up correctly or your power supply cannot supply enough current.
Measure the voltage on your power supply and see if it dips when the relay kicks in.

PedroDaGr8


@lefty..... what might it be about that relay that would cause it to have different current ratings on the NO vs NC connections?

And is that a common thing in relays in general?


It's not uncommon, especially in the world of automotive relays. The standard Bosch/Tyco relay can carry 40A on the NO and 30A on the NC. In general the idea is that the NO item is the high power contact you want to switch on and off. So in general if there is a rating difference the NO is usually the higher of the two.

creativen

Need help, here is my circuitry, it works on led but not on solenoid:



is there any wrong?

creativen

additional, the powerjack could supply till 2A

Go Up