Pages: [1]   Go Down
Author Topic: connecting this relay to a pin  (Read 1027 times)
0 Members and 1 Guest are viewing this topic.
South East USA
Offline Offline
God Member
*****
Karma: 5
Posts: 658
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This relay is rated at 5v, 30 mA on the coil, so can it be connected directly to an i/o  pin on my board?
http://www.sparkfun.com/products/524
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 42
Posts: 5611
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

In theory, you could, since the pins are rated to source 40 mA - but I wouldn't (unless you're only using one or two, and have a good reason to avoid using a buffer circuit). If you do, remember you still need a snubber diode across the coil...
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

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

Yes, but you should wire a diode across the coil terminals in reverse bias to suppress transients when de-energizing.

Lefty
Logged

South East USA
Offline Offline
God Member
*****
Karma: 5
Posts: 658
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah yes, seems like that's a fly by or flyback diode...
something like a 1N4448, or does it need to handle more power like a 1n4006?
thanks
Logged

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

Ah yes, seems like that's a fly by or flyback diode...
something like a 1N4448, or does it need to handle more power like a 1n4006?
thanks

Not sure, but I like 1 amp diodes for things like that, so my vote would be any of the 1N400x series.

Lefty
Logged

Hyderabad , India
Offline Offline
God Member
*****
Karma: 6
Posts: 621
can't help not to think arduinaizing something !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hi there i have a question how do you people know about that diode and ic names (numbers?)
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34725
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

because we have been using them for years. They seep inside your skin.
My telephone extension at work is 741 - now how many of you know what one of those are - been using them for 40 years.
Logged

Hyderabad , India
Offline Offline
God Member
*****
Karma: 6
Posts: 621
can't help not to think arduinaizing something !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hehe! okey well i thought that we should somehow learn that somewhere  !  smiley-wink
Logged

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

because we have been using them for years. They seep inside your skin.
My telephone extension at work is 741 - now how many of you know what one of those are - been using them for 40 years.

hee hee love the number
op amp as I recall?!?
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Offline Offline
Newbie
*
Karma: 1
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Fyi - this place sells a board with 4 relays that you can connect directly to an Arduino output pins.  It is not a "shield" that mounts on the arduino but comes with wires for each relay that are easy to connect to whatever arduino board you have. Also you have to provide a separate 12V supply to the relay board to activate the relays. Here is the link: http://www.pimpmyprop.com/RB4RelayBoardDetails.htm.
Logged

Pages: [1]   Go Up
Jump to: