[SOLVED] 12v Relay Module

Hello, I have a relay module, this one - http://hacktronics.co.in/home/49-2-channel-relay-module.html.

Documentation- http://hacktronics.co.in/blog/2-how-to-use-relay-modules-to-control-ac-devices

I am looking forward to use it with my Arduino but I need some assistance in wiring it. Any help is appriciated.

Thank You!

Hmmmm deleted my previous comment....

It's not clear from the pic where the 5V IO goes....

I believe this one is the input pin.

Looks like the module want 12V and GND connected at inputs.
Pin 1 and 2 to to control each relay (base current of transistors)

Yes, I think the first 12v pin belongs to the first relay and the second one to the second relay but in both the ground remains the same as well as input. So as if I want to drive the first relay I'll have to use the first 12v pin.

scetch...

skisse.png

Yeah but going by their narrative in the one link, there should be a 12v input to drive the relay coil AND a 5v input to "tickle" the transistor....

Follow the traces on the board to see where the transistor base comes out...

I guess input can be satisfied by Arduino IO pin but I was wondering how to supply power to the 12v pin.

knut_ny:
scetch...

But there are only 4 pins... 2 marked 12v and 2 marked Gnd. I agree there should be 2x 5V input pins, but I don't see them on the pic in the link.

Looking at the pic of the underside of the board, it looks to me as if one of the inputs takes 12V to both relays, and the other one on the other end of the inputs takes the input signal to both transistors.

So it might be that both relays get switched together?

Looking closely I see that the first pin is 12v, the second one is the ground and the rest two pins work as the input pins to switch the relays the 3rd pin therefore switches the 1st relay and the 4th pin the 2nd relay.

correct.. (see reply 5 - shows 1/2 of our board)

Yes, clearly. But I am having trouble with powering the module. I don't think my Arduino can supply 12v power to the module so is there any other work around for that?

sure you will find an old, small powersupply 9V-15V DC
UBS-power only?
..then http://www.ebay.com/itm/DC-DC-Boost-Converter-3-12V-Step-up-to-12V-Fix-Voltage-Power-Supply-Module-12W-/170999718908?pt=AU_B_I_Electrical_Test_Equipment&hash=item27d060a3fc
OR.
Maybe 5V is OK ?! (see top of relay)
see http://www.mantech.co.za/datasheets/products/HRS4(H).pdf

knut_ny:
correct.. (see reply 5 - shows 1/2 of our board)

It can't be half, that's what I asked above. You show 3 pins and say "x2" at the bottom- that would make 6 pins and there are only 4

12V and GND common for both halves

knut_ny:
12V and GND common for both halves

Then they're not really halves then are they.....

a dumb question can I connect the 12v pin to Arduino 5v pin and ground to my Arduino ground pin?

ojhaarjun:
a dumb question can I connect the 12v pin to Arduino 5v pin and ground to my Arduino ground pin?

No. The relay coils in your module require 12vdc to operate, 5 vdc will not be able to turn the relays on.

I have a 7.5v adapter I tried it with my Arduino and used the Vin pin and the relay seems to be working now.

ojhaarjun:
I have a 7.5v adapter I tried it with my Arduino and used the Vin pin and the relay seems to be working now.

That's possible as a 12vdc relay may operate somewhat below and above it's rated coil voltage, however you are giving up reliability by not driving the relay coils at their rated nominal voltage.