how to hookup this relay?
i got this: http://www.sainsmart.com/arduino-pro-mini.html, , looks straightforward enough, wanted clarification on proper connections should make arduino uno control (i don't want fry anything).
as can see relay-board has jumper choose "jd-vcc vcc" or "vcc gnd" (i assume).
then there connection pins: gnd, in1, in2, , vcc.
can me out example connection arduino side control 2 relays?
for bonus-points, specifies 2 relays can each driven 15-20ma. if want 2 relays work simultaneously, think 40ma available on arduino i/os enough connect both relay signals 1 arduino i/o pin?
thanks in advance,
aj
as can see relay-board has jumper choose "jd-vcc vcc" or "vcc gnd" (i assume).
then there connection pins: gnd, in1, in2, , vcc.
can me out example connection arduino side control 2 relays?
for bonus-points, specifies 2 relays can each driven 15-20ma. if want 2 relays work simultaneously, think 40ma available on arduino i/os enough connect both relay signals 1 arduino i/o pin?
thanks in advance,
aj
the "jd-vcc" refers second power source. can either connect small, separate battery on jd-vcc , gnd power coil or can link jd-vcc vcc arduino (using jumper) , connect 2 gnd arduino well. using latter method means no longer have optical isolation. that's reason second set of connections -- keep arduino isolated.
just clear, never jumper vcc gnd.
in1 , in2 connect arduino i/o pins; it's here believe device needs 15-20ma drive it. vcc , gnd connect 5v , gnd on arduino, respectively. if want optical isolation connect second power supply jd-vcc (+) , gnd (-). if don't want optical isolation jumper jd-vcc , vcc , connect gnd well.
just clear, never jumper vcc gnd.
in1 , in2 connect arduino i/o pins; it's here believe device needs 15-20ma drive it. vcc , gnd connect 5v , gnd on arduino, respectively. if want optical isolation connect second power supply jd-vcc (+) , gnd (-). if don't want optical isolation jumper jd-vcc , vcc , connect gnd well.
Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > how to hookup this relay?
arduino
Comments
Post a Comment