<html><head></head><body style="zoom: 0%;"><div dir="auto">Hey George you need to start using DS18B20s to measure temperature. <br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->DeidĀ <!-- tmjah_g_1299e --><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->VA7REI<!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >On Dec 17, 2020, at 12:00 PM, <a href="mailto:projects-request@vicpimakers.ca" target="_blank">projects-request@vicpimakers.ca</a> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">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="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca">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><br><hr><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<br></pre></blockquote></div></body></html>