<div dir="ltr">Ooops, forgot to add base resistors.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 5:23 PM, Robert Gasiorowski <span dir="ltr"><<a href="mailto:rgresume@gmail.com" target="_blank">rgresume@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How about something simple like this:<div><br></div><div><img src="cid:ii_15315610605a352f" alt="Inline image 1" width="455" height="368"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 4:52 PM, Grawburg via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a circuit using two MOSFETs (TO-220F) to control a 12 VDC motorized ball valve (Open & Close). The circuit works fine in testing.<br>
What will eventually turn the MOSFET on (this works as well) is a high signal from the RPi.  Only if I write bad code so that<br>
both outputs are high will I have a problem. Of course, I could NEVER code wrong, but just in case, what might I use between<br>
the Pi (actually an MCP23008 I2C) and the MOSFETs that effectively says, "if GPIO1 and GPIO2 are high, block both"? I want<br>
a device not only something in my Python code.<br>
<br>
<br>
Thanks,<br>
Brian Grawburg<br>
<span><font color="#888888"><br>
--<br>
[This was sent from a PC running Debian 7, 64-bit Linux. No Microsoft products were used.]<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>