<div class="iw_mail" dir="LTR" style="font-family: Times New Roman,Times,Serif;font-size: 16px;"><div style="font-family: 'Times New Roman', Times, serif;"><font size="2">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"><span><br></span></a></div></div></div></div>