<div dir="ltr"><span style="font-size:12.8000001907349px">I designed a small PCB (tentatively named Pi FET) for controlling DC loads (including motors and solenoids) from a  low level logic (down to 2 volt logic) that I would be happy to demo but I will miss the next meeting.   :-( </span><div style="font-size:12.8000001907349px"></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">The board includes a FET driver (MIC5014), FET (IRF2804) , status LED, self-resetting fuse (3 amp hold with a 5 amp, 1 second trip) and load kick-back diode. The driver lets you use non-logic level FETs and full enhancement and switching fast enough for PWM. I built it for an Internet of Things application to doing PWM control of a solenoid lock via text message. One nifty feature is I brought out the top of the self-resetting fuse so you can use it as a current shunt and measure the current throught the load or detect if the fuse is tripped (using an appropriate resistor between the input pin and the sense line). So your program can detect if the load is shorted. The design is shared on OSH Park but I am tweaking the design and plan to order/share a new rev in the next few days.</div><div style="font-size:12.8000001907349px"><br><div><div><a href="http://www.micrel.com/_PDF/mic5014.pdf" target="_blank">http://www.micrel.com/_PDF/mic5014.pdf</a><br></div><div><a href="http://www.irf.com/product-info/datasheets/data/irf2804.pdf" target="_blank">http://www.irf.com/product-info/datasheets/data/irf2804.pdf</a><br></div><div><br></div><div><div class="" dir="ltr"><div id=":28o" class="" tabindex="0"><div class=""></div></div><div id=":28p" class="" tabindex="0"><div class=""></div></div></div><br>​<img src="cid:ii_14e0324e9d1abcc3" alt="Inline image 1" width="562" height="398" style="font-size: 12.8000001907349px; margin-right: 0px;"><br></div><div><br></div><div>Detail, note the wonky bends on the header pins. The bends on the pins helps them hold better in a bread board or female socket, making the connector more robust.</div></div><div><br></div><div>Shane</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 17, 2015 at 2:18 PM, RR 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">
    <div><div>This has been a fantastic discussion about motors, power, dangers and protection, boards, hardware, etc. for those of us lower on the learning curve. As a relative newcomer to the intricacies of Raspi and Arduino motor control, it answered I number of question I have and several I didn't even know I have. </div><div><br></div><div>Suggestion: revisit this topic and the points brought up in this e-mail thread at the next meeting with the hardware - boards, MOSFETs, diodes, opto-isolators, etc. - on hand for a more visual experience with what these items actually are, how/when/where you connect them, and Q&A around their use. </div><div><br></div><div>Just my 2¢ worth. </div><div><br></div><div>John Rock<br><br><div>Sent from <a href="http://taps.io/outlookmobile" target="_blank">Outlook</a></div><br></div></div>
    <div class="gmail_quote">_____________________________<br>From: Terry King via TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>Sent: Tuesday, June 16, 2015 21:58<br>Subject: Re: [TriEmbed] Power FETs   Vol 25, Issue 27<br>To:  <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><div><div class="h5"><br><br><br>Hi,<br><br>I also picked that Power FET here:<br><a href="http://yourduino.com/sunshop2/index.php?l=product_detail&p=412" target="_blank">http://yourduino.com/sunshop2/index.php?l=product_detail&p=412</a><br><br>I use that in several kits for school systems and Universities. One nice thing is that the gate<br>has good ESD protection (not all FETS do) which is important when students are handling the FETs<br>and plugging them into breadboards etc.<br><br>And Arduino turns them on hard with close to +5V on the gate.<br><br><br>DISCLAIMER: Mentioned stuff from my own shop...<br><br>Regards, Terry King<br>...In the Woods in Vermont USA<br><a href="mailto:terry@terryking.us" target="_blank">terry@terryking.us</a><br><br>-The One who Dies with the most Parts LOSES. What do you need??<br><br>Send TriEmbed mailing list submissions to<br>    <a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<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>or, via email, send a message with subject or body 'help' to<br>   <a href="mailto:triembed-request@triembed.org" target="_blank">triembed-request@triembed.org</a><br><br>You can reach the person managing the list at<br>     <a href="mailto:triembed-owner@triembed.org" target="_blank">triembed-owner@triembed.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of TriEmbed digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Transistor as switch (Shane Trent)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 16 Jun 2015 12:20:13 -0400<br>From: Shane Trent <<a href="mailto:shanedtrent@gmail.com" target="_blank">shanedtrent@gmail.com</a>><br>To: Grawburg <<a href="mailto:grawburg@myglnc.com" target="_blank">grawburg@myglnc.com</a>><br>Cc: TriEmbed Discussion <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>Subject: Re: [TriEmbed] Transistor as switch<br>Message-ID:<br>        <<a href="mailto:CAAFjd3qaMbLSZnjKjBzhMUjoV1g_f1QRWX85J4L-2XkWE2+fFA@mail.gmail.com" target="_blank">CAAFjd3qaMbLSZnjKjBzhMUjoV1g_f1QRWX85J4L-2XkWE2+fFA@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Brian,<br><br>It looks like you picked a good FET for your application. On the datasheet<br>it appears the FET will be turning on strongly by Vgs = 3V and should be<br>good for a couple of amps. I am not sure why your FET circuit did not work<br>with the 3.3k  gate resistor. The 3.3k would slow down the switching a<br>little but should not keep it from working.<br><br>You should never need a BJT between the Pi and FET unless you need to<br>switch a higher voltage (non-logic level FET) or you want faster switching<br>speed. The image below shows a kind of standard configuration for driving a<br>low-side (switching the load's connection to ground). The diode should be<br>across the motor leads if possible. The R1 pull-down resistor is only<br>needed if you are not actively pulling-down the gate to turn off the FET.<br>Note that if you do use a pull-down to turn off the FET then the value of<br>any resistor between the GPIO pin and the gate becomes much more important<br>because it becomes a voltage divider between the output pin and the gate.<br>Your 33 ohms would work well with a 10k pull-down resistor.<br><br><br><br>Shane<br><br>On Tue, Jun 16, 2015 at 11:58 AM, Grawburg via TriEmbed <<br><a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<br><br>> After bouncing it back and forth during the night I decided to use a<br>> MOSFET afterall.<br>> I had some FQP30N06L N-channels and wired it up this morning. Works<br>> perfectly.<br>> I did have to lower the resistor between the Pi's GPIO pin and the base to<br>> 33 ohm from 3.3 k.<br>> If this was a real project, say with a 24VDC pump, I would use a BJT<br>> between the Pi and the MOSFET.<br>> I will address this in the class and in the project manual the students<br>> get.<br>> I'll show them the relay set-up so they are at least familiar with the<br>> concept.<br>><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" target="_blank">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><br><br><br>--<br>A blog about some of my projects.  <a href="http://fettricks.blogspot.com/" target="_blank">http://fettricks.blogspot.com/</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL:<br><<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150616/2374ad44/attachment-0001.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150616/2374ad44/attachment-0001.html</a>><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>TriEmbed 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" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br><br><br>------------------------------<br><br>End of TriEmbed Digest, Vol 25, Issue 27<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" 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><br></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" 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>
<br></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>