Page 1 of 1

2 Relay Module - Start Inverted

Posted: Friday 17 February 2017 19:24
by guantolento
Godd evening to everyone.
I have the 2 relay channel as in photo.
WhatsApp Image 2017-02-16 at 21.06.05.jpeg
WhatsApp Image 2017-02-16 at 21.06.05.jpeg (93.42 KiB) Viewed 3933 times
I don't touch the jumper. I connect the GND to GND PI3, VCC to +5V PI3 and IN1 to a pin of PI3. I follow the wiki to export as output the pin bcm 17 in my case.
When the PI3 start, pin 17 is in V 0 (from gpio readall) and the relay is fisical On and in Domoticz the virtual switch is Off. If i connected a light, i need to use the Com-Nc on the relay (because the relay is in security mode). But in this situation if the Pi3 shutdown the light put On forever.
It's possible to export the pin 17 in V 1, the ralay is fisical Off and in Domoticz the virtual switch is Off ???

Re: 2 Relay Module - Start Inverted

Posted: Thursday 25 May 2017 0:25
by Lebo2d9
Hi, I just read your post.

You need to invert your output of your RPI.

The relais is active low, this means that when your output is 0V your relais is active.

I used a ULN2003 to conevert my outputs. You can also check https://www.google.be/search?q=pnp+inve ... wvu5CezM: