<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><p class="MsoNormal">Hey George,</p><p class="MsoNormal"><br></p>

<p class="MsoNormal">Deid has suggested using DS18B20 devices for temperature sensing.
It’s something you may consider using especially in applications requiring several
temperature sensors located at close proximity.  For example, using two one in and out out of a freezer.
These devices are easy to use because of available libraries for the more
common microcontrollers such as the Arduino & Raspberry Pi. </p><p class="MsoNormal"><br></p>

<p class="MsoNormal">The DS18B20 and other 1-wire devices can also be interfaced to
PCs using a USB to RS232 and a 1-wire MICROLAN Windows driver.</p><p class="MsoNormal"><br></p>

<p class="MsoNormal">They are available as discrete devices (3-PIN TO-92 package) or pre-wired
in waterproof leads – all inexpensive and great specs. They are available quickly
from <a href="http://amazon.ca">amazon.ca</a>.</p><p class="MsoNormal"><br></p>

<p class="MsoNormal">The DS18B20 uses the Dallas 1-wire communication protocol
which means that many devices can be connected on a string with just two wires.
If there is only one device on the bus one instruction is issued to read
temperature - Read Rom[33h] . For multiple devices a Match Rom[55h] instruction
followed by the 64-bit Rom address of the device whose temperature value is
requested. See application in the link below.</p><p class="MsoNormal"><br></p><p class="MsoNormal"><a href="https://www.maximintegrated.com/en/design/technical-documents/app-notes/1/162.html">Interfacing the DS18X20/DS1822 1-Wire® Temperature Sensor in a Microcontroller Environment (maximintegrated.com)</a><br></p></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 17, 2020 at 2:55 PM Deid  Reimer <<a href="mailto:deid@drsol.com">deid@drsol.com</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 style="zoom:0%"><div dir="auto">Hey George you need to start using DS18B20s to measure temperature. <br><br></div>
<div dir="auto">Deid <br></div>
<div dir="auto">VA7REI</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>Send Projects mailing list submissions to<br> <a href="mailto:projects@vicpimakers.ca" target="_blank">projects@vicpimakers.ca</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:projects-request@vicpimakers.ca" target="_blank">projects-request@vicpimakers.ca</a><br><br>You can reach the person managing the list at<br> <a href="mailto:projects-owner@vicpimakers.ca" target="_blank">projects-owner@vicpimakers.ca</a><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 <<a href="mailto:gtbowdeng@gmail.com" target="_blank">gtbowdeng@gmail.com</a>><br>To: "Talk about Raspberry Pi / embeded projects"<br> <<a href="mailto:projects@vicpimakers.ca" target="_blank">projects@vicpimakers.ca</a>><br>Subject: [VicPiMakers Projects] Code for turkey stuffed with<br> microprocessor.<br>Message-ID:<br> <CAMon6WtuHHDwC_x=<a href="mailto:dcDe9vB6YmxR-j%2BdQ8P0zfcRiZxR%2B_gYiQ@mail.gmail.com" target="_blank">dcDe9vB6YmxR-j+dQ8P0zfcRiZxR+_gYiQ@mail.gmail.com</a>><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></div>-- <br>
Projects mailing list<br>
<a href="mailto:Projects@vicpimakers.ca" target="_blank">Projects@vicpimakers.ca</a><br>
<a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" rel="noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote></div>