<div dir="ltr">Craig,<div><br></div><div>The optoisolators allow the microcontroller to switch AC connected loads while isolating the microcontroller from the AC lines. Your AC solid-state relay for the heater coil has the optoisolation built-in. Actually you could use a DC solid-state relay for controlling the cooling fan as well. The only other components you would need to add are the input current limiting diode and the reverse-biased kick-back diode across the motor terminals. The IXYS DC solid-state relay below is $3 in singles (and IXYS makes nice parts). The diagram I shared in my previous message is basically how you would build your own solid-state DC relay. </div><div><br></div><div><a href="https://www.digikey.com/product-detail/en/ixys-integrated-circuits-division/CPC1706Y/CPC1706Y-ND/3077519">https://www.digikey.com/product-detail/en/ixys-integrated-circuits-division/CPC1706Y/CPC1706Y-ND/3077519</a>  <br></div><div><br></div><div>Shane</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 2, 2020 at 7:00 PM Craig Cook via TriEmbed <<a href="mailto:triembed@triembed.org">triembed@triembed.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><div></div><div>>I was actually talking about the 
voltage rating of the optoisolator used to drive the FET gate. The image
 below more fully describes what I meant. I expect your final circuit 
for the fan would include most of the items shown below (I am not sure 
that you would need D2). <br></div><div dir="ltr"><div><br></div></div><div dir="ltr">Ah, I was working off this tutorial.</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://itp.nyu.edu/physcomp/labs/motors-and-transistors/using-a-transistor-to-control-high-current-loads-with-an-arduino/" rel="nofollow" target="_blank">https://itp.nyu.edu/physcomp/labs/motors-and-transistors/using-a-transistor-to-control-high-current-loads-with-an-arduino/</a></div><div dir="ltr"><br></div><div dir="ltr">Their example uses a 12V motor. Mine is ~20V. I thought I was "close enough" to make it work.</div><div dir="ltr"><br></div><div dir="ltr">You are suggesting I need more components, i.e. at least add an <span>optoisolator into the mix.</span></div></div><div><br></div><div><br></div><div dir="ltr"><div>> How many popcorn
makers have you been through on this project? :-) <br></div><div><br></div><div><div style="margin-bottom:0in;line-height:100%" dir="ltr">LOL. Two have died from natural causes. I fried the heater on the third by running without a fan.<br>

</div>

</div><div><br></div><div dir="ltr">> the heater might
just be overheating a little bit each
time, gradually weakening itself until it breaks.  
<div>

</div><div><br></div><div dir="ltr">Yes, that sounds like a great theory as well. The wire on the coil breaks, close to where the windings start. It may be due to the number of heat and cool cycles it goes though.<br></div></div></div><div><br></div><div dir="ltr"><div>>Also bear in mind that
your $30-or-so popcorn popper simply isn't built for longevity. <br></div><div><br></div><div dir="ltr">Yes. It's supposed to last 12 months of popcorn usage. For most units it's probably rare to be used many times in a 12 month period.</div><div dir="ltr"><br></div><div dir="ltr">The system I design needs to be reasonably easy to swap out the failed parts, which so far seems to be the heating element.</div><div dir="ltr"><br></div><div dir="ltr">Thanks</div><div dir="ltr"><br></div><div dir="ltr">Craig<br></div></div></div>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<br>
To post message: <a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
List info: <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>
To unsubscribe, click link and send a blank message: mailto:<a href="mailto:unsubscribe-TriEmbed@bitser.net" target="_blank">unsubscribe-TriEmbed@bitser.net</a>?subject=unsubscribe<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><table style="max-width:600px;direction:ltr">
                        <tbody><tr><td> 
                         <table style="max-width:470px;padding-bottom:10px;margin-bottom:8px" border="0" cellspacing="0" cellpadding="0"> <tbody><tr> <td>  <table border="0" cellspacing="0" cellpadding="0" width="470" style="width:470px"> <tbody><tr valign="top"> <td style="width:10px;padding-right:10px"> <img src="https://d36urhup7zbd7q.cloudfront.net/90c0bf9d-3fff-46c1-b0e0-2d6ec5d88108/ShaneBioPhotoCroppeddeleted19624a8551057e0d6dc353501de57e4d.crop_1536x2003_430,259.preview.format_png.resize_200x.jpeg#logo" width="65" height="84.7623697917" alt="photo" style="border-radius: 0px; width: 65px; height: 84.7624px; max-width: 120px;"> </td> <td style="border-right:1px solid rgb(69,102,142)"></td> <td style="text-align:initial;font:12px Arial;color:rgb(100,100,100);padding:0px 10px"> <div style="margin-bottom:5px;margin-top:0px"><b>Shane D Trent</b><br> <span>Patent Agent</span> </div> <table style="width:470px;margin-top:5px" width="470" border="0" cellspacing="0" cellpadding="0"> <tbody><tr> <td style="color:rgb(141,141,141);font-size:12px"> <p style="margin:0px"> <a href="tel:919-348-0061" style="color:rgb(141,141,141);text-decoration:none;font-family:sans-serif" target="_blank">919-348-0061</a>  <span style="color:rgb(69,102,142);display:inline-block">|</span> <span style="display:inline-block"><a href="mailto:shanedtrent@gmail.com" style="color:rgb(141,141,141);text-decoration:none;font-family:sans-serif" target="_blank">shanedtrent@gmail.com</a></span> </p> </td> </tr> <tr> <td style="color:rgb(141,141,141);font-size:12px">  <p style="margin:0px"> <span style="white-space:nowrap;display:inline-block"><a href="http://ShaneTrent.com" style="color:rgb(141,141,141);text-decoration:none;font-family:sans-serif" target="_blank">ShaneTrent.com</a></span>  <span style="color:rgb(69,102,142);display:inline-block">|</span> <span style="display:inline-block"><span style="color:rgb(141,141,141)">Skype: <a href="#SignatureSanitizer_SafeHtmlFilter_" style="text-decoration:none;color:rgb(141,141,141);font-family:sans-serif">skype:shane.trent1</a></span></span>  </p> </td> </tr> <tr> <td style="color:rgb(141,141,141);font-size:12px;font-family:sans-serif"> <span style="color:rgb(141,141,141);display:inline-block;font-family:sans-serif">Raleigh, North Carolina</span> </td> </tr> </tbody></table> <div style="margin-top:10px"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr style="padding-top:10px"><td align="left" style="padding-right:5px;text-align:center;padding-top:0px"> <a href="http://www.linkedin.com/in/shanetrent" target="_blank"><img src="https://cdn.gifo.wisestamp.com/social/linkedin/0077b5/16/0.png"></a></td><td align="left" style="padding-right:5px;text-align:center;padding-top:0px"> <a href="http://twitter.com/sdtrent" target="_blank"><img src="https://cdn.gifo.wisestamp.com/social/twitter/55acee/16/0.png"></a></td></tr></tbody></table></div> </td> </tr> </tbody></table> </td> </tr> </tbody></table> <table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td></td></tr></tbody></table></td></tr></tbody></table>
                        <div href="http://WS_promo" style="width:auto;padding-top:2px;font-size:10px;border-top:1px solid rgb(238,238,238);margin-top:10px;display:table;direction:ltr;line-height:normal;border-spacing:initial">
        <div style="padding-top:2px">
                <a href="https://www.wisestamp.com/signature-in-email/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own" style="color:rgb(0,0,0);text-decoration:none" target="_blank">Create your own <span style="color:rgb(165,3,16)">email signature</span></a>
        </div>
</div>
                        
                
        </div>