system
July 24, 2011, 3:00pm
1
Hello!
I bought 3 of those boards/shields
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=280698452926&ssPageName=STRK:MEWNX:IT
, but I can not make it work.
Does anyone have any tips? These should to be easy to operate, but I cannot make it work. :0
Thanks
xanok:
Hello!
I bought 3 of those boards/shields
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=280698452926&ssPageName=STRK:MEWNX:IT
, but I can not make it work.
Does anyone have any tips? These should to be easy to operate, but I cannot make it work. :0
Thanks
They should be easy to use. However we can't tell if you might be wiring them up wrong or have a software problem, or possibly both wiring and software mistakes. You would have to post a wiring drawing showing all the interconnections you are using and post your sketch showing how your are trying to control the relays. Anything short of that would just leave us guessing as to what may be wrong.
Lefty
system
July 27, 2011, 1:24pm
3
Hi!
The seller update the image.
He told me that was the image of the previous model.
The pins of the previous model was, in this order: SIGNAL, GND and VCC.
To the new board, is: SIGNAL, VCC and GND.
Now it worked.
I uploaded a video: Arduino Dual Relay Shield Digital Module 5V - YouTube
void setup() {
pinMode(3, OUTPUT);
pinMode(5, OUTPUT);
}
void loop() {
digitalWrite(3, HIGH);
digitalWrite(5, HIGH);
delay(1000);
digitalWrite(3, LOW);
digitalWrite(5, HIGH);
delay(1000);
digitalWrite(3, HIGH);
digitalWrite(5, LOW);
delay(1000);
digitalWrite(3, LOW);
digitalWrite(5, LOW);
delay(1000);
}