Hi guys. I've justo bought a 8-relay module (http://www.amazon.it/gp/product/B00E370JAC/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1) and been working on it for a while...
Now, the question is: if I connect a digital pin to the board (on the number 1, for example), and declare it OUTPUT in the sketch, when I connect the ground and the VCC to the ground and the 5V pins of the Arduino, the relay recives energy and the internal circuit closes up. But when if use digitalWrite(pin, HIGH), so, it should be the moment in which the relay closes, the relay board stops suppling energy to the relay circuit until I set the pin LOW.
I feel it's working contrariwise..... Strange!
Any idea about? I'd prefear the relay to be on only when i supply energy, when the pin is HIGH!
Thanks to everybody will answer me!