Pages: [1]   Go Down
Author Topic: Will the Arduino drive this 8-Channel Relay Module directly?  (Read 790 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is a relay module that I am looking at buying:
8-Channel 5V Relay Module Shield for Arduino

Does anyone know if I can drive this relay module directly from the Arduino or will I have to have the arduino drive a transistor prior to attaching to the relay module?
Logged

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10445
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Googling the relays (SRD-05VDC-SL-C) suggests they need 90mA to activate, so transistors will be needed.
Logged

[ I won't respond to messages, use the forum please ]

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

Hard to tell because they don't provide a schematic of the board or of a typical channel lay out.
There are two issues to consider.

1. Do the channel input pins drive a opto isolator and/or switching transistor to activate the relay coil(s). Most do but that is hard to determine from that picture, but there does seem to be some 4 pin IC device assigned to each relay position. If that is the case then there is no issue with an arduino output pin being able to drive a channel input pin. If not an arduino output pin cannot provide 90MA of current to turn on the relay.

2. 5vdc power for the relay coils has to come from somewhere and if you require that all 8 channels might have to be turned on in any situation that would be too much current demand for the arduino shield 5V pin, and an independent 5vdc voltage source would have to be used that is rated for the total current demand of the relay board.

Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks guys for you input.  I think I am going ahead with purchase as this will cut down on development time quite a bit...

Am I on the right track in thinking to solve this question once I have the board I just hook up a 5v supply to the relay and measure the current it draws?
Logged

The Netherlands
Offline Offline
Edison Member
*
Karma: 35
Posts: 1301
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The 2nd photo shows 8 components at the connector, which are probably resistors.
And each relay has a component, probably a transistor.

So yeah, you can measure the current drawn per input at that input to see if it's Arduino compatible, and the total current drawn by the board in case all relays are enabled.
Last one is probably somewhere close to 750 mA.
Logged

Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

Eindhoven Netherlands
Offline Offline
Jr. Member
**
Karma: 2
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can clearly see the transistors. So yes, you will be able to switch the relays without using any external components.
Beware that, if you want to switch all relays at once, you will create quite a current-peak. It would be wise to place a capacitor of 470uF to 2200uF on the 5V pins close to the relay board. Otherwise, this current-peak may create some noise that crashes the Arduino or it crashes other things attached to the 5V line (sensors?)
Logged

Pages: [1]   Go Up
Jump to: