<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I don’t get what you’re trying to do?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So, you’ve got a frozen turkey outside with some kind of heater thing stuck on top of the turkey but the turkey won’t stay awake? What? What needs to stay awake? A dead thing?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Or, is this some weird kind of code because I just can’t make sense of it<span style="font-family:"Apple Color Emoji"">☹</span> it’s creepy sounding, actually.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">m<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Projects <projects-bounces@vicpimakers.ca> on behalf of Deid Reimer <deid@drsol.com><br>
<b>Reply-To: </b>Talk about Raspberry Pi / embeded projects <projects@vicpimakers.ca><br>
<b>Date: </b>Thursday, December 17, 2020 at 2:55 PM<br>
<b>To: </b>"projects@vicpimakers.ca" <projects@vicpimakers.ca><br>
<b>Subject: </b>Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hey George you need to start using DS18B20s to measure temperature.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Deid <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">VA7REI<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On Dec 17, 2020, at 12:00 PM, <a href="mailto:projects-request@vicpimakers.ca" target="_blank">
projects-request@vicpimakers.ca</a> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<pre style="margin-bottom:12.0pt">Send Projects mailing list submissions to<br> projects@vicpimakers.ca<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cd209bfdffb8f47b0c1a708d8a2dee303%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637438425492011926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rhdDAqzC%2B0wDLCIgQ%2BiQc45JOz3PgUiu%2Fcmx9tI2ywA%3D&reserved=0">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>or, via email, send a message with subject or body 'help' to<br> projects-request@vicpimakers.ca<br><br>You can reach the person managing the list at<br> projects-owner@vicpimakers.ca<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Projects digest..."<br><br><br>Today's Topics:<br><br>   1. Code for turkey stuffed with microprocessor. (George Bowden)<br><br><o:p></o:p></pre>
<pre style="text-align:center"><hr size="0" width="100%" align="center"></pre>
<pre><br><br>Message: 1<br>Date: Wed, 16 Dec 2020 19:10:59 -0800<br>From: George Bowden <gtbowdeng@gmail.com><br>To: "Talk about Raspberry Pi / embeded projects"<br> <projects@vicpimakers.ca><br>Subject: [VicPiMakers Projects] Code for turkey stuffed with<br> microprocessor.<br>Message-ID:<br> <CAMon6WtuHHDwC_x=dcDe9vB6YmxR-j+dQ8P0zfcRiZxR+_gYiQ@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Per Lynne's request to see the code, here it is<br><br>Every few minutes, the microprocessor measures the temperature inside the<br>turkey bag, posts the temperature to a website, and goes into deep sleep on<br>top of the turkey.  (I was going to stuff the micro inside, but that is all<br>frozen up tight)..<br><br>Because the micro is only awake for a few seconds every 20 minutes, it will<br>run for weeks off the battery, long after the turkey has thawed.<br><br>The website receiving the post just appends the current local time() and<br>data from the micro processor (humidity, temperature, ADC value) to a log<br>file. The website replies to the micro with the number of minutes that the<br>micro should sleep.  No jason, no mqtt, just php and html.  Webpage file is<br>attached.. "fromdht.php"<br><br>Here is a snippet of the temperature log<br><br>1608169225 90.50 2.50 2704<br>1608170427 90.70 2.50 2704<br>1608171628 90.80 2.50 2703<br>1608172830 91.00 2.50 2644<br><br>The ADC reading is broken... I thought I could use a GPIO as the<br>source voltage for the thermistor, so that I could turn it off when<br>not needed, but it doesn't work yet.   Maybe need the gpio pin to turn<br>on a mosfet to 3.3volts<br><br>The Arduino .ino code file is also attached<o:p></o:p></pre>
</blockquote>
</div>
</div>
</body>
</html>