<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    That's a nice looking transistor. <br>
    <br>
    Here's a <a href="https://www.youtube.com/watch?v=43HFng0CVKg">YouTube
      treatment</a> of what happens when you turn off power to an
    inductive load and what kind of peak-voltage hazards are created
    with even a modest load (a small relay in this case). <br>
    <br>
    -Pete<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 06/16/2015 11:58 AM, Grawburg via
      TriEmbed wrote:<br>
    </div>
    <blockquote cite="mid:c0374f0f6456af665b0609434d1bd50c@myglnc.com"
      type="cite">
      <pre wrap="">After bouncing it back and forth during the night I decided to use a MOSFET afterall.
I had some FQP30N06L N-channels and wired it up this morning. Works perfectly.
I did have to lower the resistor between the Pi's GPIO pin and the base to 33 ohm from 3.3 k.
If this was a real project, say with a 24VDC pump, I would use a BJT between the Pi and the MOSFET.
I will address this in the class and in the project manual the students get.
I'll show them the relay set-up so they are at least familiar with the concept.


Brian








_______________________________________________
Triangle, NC Embedded Computing mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a>
<a class="moz-txt-link-freetext" href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a>
TriEmbed web site: <a class="moz-txt-link-freetext" href="http://TriEmbed.org">http://TriEmbed.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>