<p dir="ltr">Is the 12v supply ground and the pi ground tied together? If not you can see some wacky results with 2 power supplies floating relative to each other. </p>
<p dir="ltr">- Thumbed one letter at a time on a 2.25 x 1.25 inch Galaxy smartphone keyboard, please forgive any errors.</p>
<div class="gmail_quote">On Jun 26, 2014 5:12 PM, "Grawburg" <<a href="mailto:grawburg@myglnc.com">grawburg@myglnc.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="LTR" style="font-family:Times New Roman,Times,Serif;font-size:16px"><div style="font-family:'Times New Roman',Times,serif"><font>Rodney asked for more detail;</font></div><div style="font-family:'Times New Roman',Times,serif;font-size:16px">
<br></div><font size="3" style="font-family:'Times New Roman',Times,serif">Attached is the single n-MOSFET circuit (it's from the project manual I'm creating).  </font><div><font size="3" style="font-family:'Times New Roman',Times,serif">The MCP23017 is an I/O port expander between the devices and the Raspberry Pi.</font><div style="font-family:'Times New Roman',Times,serif">
<font size="3">Each MOSFET connects to a different output port.</font></div><div style="font-family:'Times New Roman',Times,serif"><font size="3">The ground is the ground for the 12VDC, not the Pi.</font></div><div>
<font size="3" face="Times New Roman, Times, serif">I have not checked the output voltage from the chip; I will try putting a resistor in-line as suggested.</font></div><div style="font-family:'Times New Roman',Times,serif">
<font size="3"><br></font></div><div style="font-family:'Times New Roman',Times,serif"><font size="3">Brian </font></div><div style="font-family:'Times New Roman',Times,serif"><font size="3"><br></font><div style="font-size:16px">
<a href="https://en.wikipedia.org/wiki/Arthur_Schopenhauer#cite_note-55" target="_blank"><span><br></span></a></div></div></div></div>



<br>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div>