Trying to figure out how to plug things.
I'm using this relay http://www.robotshop...k-5v-relay.html
Let's call the screw connector : Connector 1
Let's call the white 4 pin connector : Connector 2
Let's call the black 3 pin : Connector 3
I want to use it to make a 12 volt valve work.
I striped red and black from a 12 volt adapter pluged in a wall.
Black and red goes to Connector 1 (tried both NC and NO)
Then I'm not sure if I'm supposed to plug netduino digital pin to Connector 2 or Connector 3, and output 12 volt from Connector 2 or Connector 3.........
I've tried both, didn't work.
Of course I've read the datasheet but it's not detailed enough for me and can't find any project with this exact relay.
my code :
static OutputPort relay = new OutputPort(Cpu.Pin.GPIO_Pin0, false); relay.Write(true);
How do I wire this relay ?