<div dir="ltr">Brian,<div><br></div><div>It looks like you picked a good FET for your application. On the datasheet it appears the FET will be turning on strongly by Vgs = 3V and should be good for a couple of amps. I am not sure why your FET circuit did not work with the 3.3k  gate resistor. The 3.3k would slow down the switching a little but should not keep it from working. </div><div><br></div><div>You should never need a BJT between the Pi and FET unless you need to switch a higher voltage (non-logic level FET) or you want faster switching speed. The image below shows a kind of standard configuration for driving a low-side (switching the load's connection to ground). The diode should be across the motor leads if possible. The R1 pull-down resistor is only needed if you are not actively pulling-down the gate to turn off the FET. Note that if you do use a pull-down to turn off the FET then the value of any resistor between the GPIO pin and the gate becomes much more important because it becomes a voltage divider between the output pin and the gate. Your 33 ohms would work well with a 10k pull-down resistor. </div><div><br></div><div><img src="http://i.stack.imgur.com/fVOwK.png"><br></div><div><br></div><div>Shane</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 11:58 AM, 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">After bouncing it back and forth during the night I decided to use a MOSFET afterall.<br>
I had some FQP30N06L N-channels and wired it up this morning. Works perfectly.<br>
I did have to lower the resistor between the Pi's GPIO pin and the base to 33 ohm from 3.3 k.<br>
If this was a real project, say with a 24VDC pump, I would use a BJT between the Pi and the MOSFET.<br>
I will address this in the class and in the project manual the students get.<br>
I'll show them the relay set-up so they are at least familiar with the concept.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Brian<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<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" 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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">A blog about some of my projects.  <a href="http://fettricks.blogspot.com/" target="_blank">http://fettricks.blogspot.com/</a></span><br></div></div>
</div>