QMESAR
Posts: 55
Joined: Wed Sep 06, 2017 10:41 am

Re: Relays

Sun Sep 24, 2017 4:04 pm

Thank you davidcoton,

Your post makes 100% sense and I fully agree with you
a resistor (highest possible value consistent with delivering enough current in normal use) should be enough protection.)
and this make total and absolute sense and for sure the better option ,
Using an optoisolator (especially to drive a local relay which itself provides isolation) is definitely "belt and braces".


Kind Regards

gordon77
Posts: 5036
Joined: Sun Aug 05, 2012 3:12 pm

Re: Relays

Sun Sep 24, 2017 4:15 pm

The advantage of adding the opto interface as shown by pcmanbob is that it will interface with the pi, a lot of commercial relayboards are not designed for the Pi, usually the Arduino, and may not switch reliably with 3.3v.

pcmanbob
Posts: 9464
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Relays

Sun Sep 24, 2017 4:20 pm

QMESAR wrote:
Sun Sep 24, 2017 4:04 pm

Using an optoisolator (especially to drive a local relay which itself provides isolation) is definitely "belt and braces".
But in this case the relay is not providing any isolation between the 12v and the pi gpio because the relay its self is driven from the same 12 supply it is only acting as a heavy duty switch for the current required by the valve.

so extra isolation is required between the GPIO and the relay board, hence suggestion of opto-isolator.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

QMESAR
Posts: 55
Joined: Wed Sep 06, 2017 10:41 am

Re: Relays

Sun Sep 24, 2017 5:30 pm

Thank you to all for the valuable discussion
I have learned some very important things :D

Kind Regards
QMESAR

Return to “Beginners”