<html><head></head><body style="zoom: 0%;"><div dir="auto">I have several waterproof sensors that have been running for several years outside.   One immersed in my pond (currently 7 degrees  C).<br><br></div>
<div dir="auto">One problem is that they won't be able to cook the turkey as they only go to 125C.<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 18, 2020, at 11:42 AM, <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. Re: Projects Digest, Vol 6, Issue 5 (James Briante)<br>   2. Re: Projects Digest, Vol 6, Issue 5 (Michelle Wiboltt)<br><br><br><hr><br><br>Message: 1<br>Date: Fri, 18 Dec 2020 11:39:16 -0800<br>From: James Briante <briantej@gmail.com><br>To: "Talk about Raspberry Pi / embeded projects"<br> <projects@vicpimakers.ca><br>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<br>Message-ID:<br> <CAPNOJzgdwASdZC8xrzur-m63d=PzV1SmAj8U18z5WWCHzG2jTA@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Hey George,<br><br><br>Deid has suggested using DS18B20 devices for temperature sensing. It?s<br>something you may consider using especially in applications requiring<br>several temperature sensors located at close proximity.  For example, using<br>two one in and out out of a freezer. These devices are easy to use because<br>of available libraries for the more common microcontrollers such as the<br>Arduino & Raspberry Pi.<br><br><br>The DS18B20 and other 1-wire devices can also be interfaced to PCs using a<br>USB to RS232 and a 1-wire MICROLAN Windows driver.<br><br><br>They are available as discrete devices (3-PIN TO-92 package) or pre-wired<br>in waterproof leads ? all inexpensive and great specs. They are available<br>quickly from <a href="http://amazon.ca">amazon.ca</a>.<br><br><br>The DS18B20 uses the Dallas 1-wire communication protocol which means that<br>many devices can be connected on a string with just two wires. If there is<br>only one device on the bus one instruction is issued to read temperature -<br>Read Rom[33h] . For multiple devices a Match Rom[55h] instruction followed<br>by the 64-bit Rom address of the device whose temperature value is<br>requested. See application in the link below.<br><br><br>Interfacing the DS18X20/DS1822 1-Wire? Temperature Sensor in a<br>Microcontroller Environment (<a href="http://maximintegrated.com">maximintegrated.com</a>)<br><<a href="https://www.maximintegrated.com/en/design/technical-documents/app-notes/1/162.html">https://www.maximintegrated.com/en/design/technical-documents/app-notes/1/162.html</a>><br><br>On Thu, Dec 17, 2020 at 2:55 PM Deid Reimer <deid@drsol.com> wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hey George you need to start using DS18B20s to measure temperature.<br><br> Deid<br> VA7REI<br> On Dec 17, 2020, at 12:00 PM, projects-request@vicpimakers.ca wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br> 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><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><br> --<br></blockquote> Projects mailing list<br> Projects@vicpimakers.ca<br> <a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a></blockquote><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/4504c049/attachment-0001.html">http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/4504c049/attachment-0001.html</a>><br><br><hr><br><br>Message: 2<br>Date: Fri, 18 Dec 2020 19:41:52 +0000<br>From: Michelle Wiboltt <michellewiboltt@outlook.com><br>To: Talk about Raspberry Pi / embeded projects<br> <projects@vicpimakers.ca><br>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<br>Message-ID:<br> <DM5PR02MB2668790E54FEA165558DDD06ACC30@DM5PR02MB2668.namprd02.prod.outlook.com><br> <br>Content-Type: text/plain; charset="utf-8"<br><br>Thanks Lynn,<br>That makes sense:) artists the lot of the all of us, cool ?<br>Thx again,<br>m<br><br>Michelle Wiboltt<br><a href="http://www.elb1b69.net">www.elb1b69.net</a><br>604-612-2505<br><br><hr><br>From: Projects <projects-bounces@vicpimakers.ca> on behalf of Lynn Palmer <lpalmer@uvic.ca><br>Sent: Friday, December 18, 2020 9:28:49 AM<br>To: Talk about Raspberry Pi / embeded projects <projects@vicpimakers.ca><br>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<br><br><br>Michelle, your perspective is really interesting.<br><br><br>For me, it's about the creative process, and learning about technology.  With a bunch of parts and wires, I made a weather station that shows temperature, relative humidity and barometric pressure.  Learning how to make the pixels on a screen go a certain way, writing the program to capture the data and save it or send it somewhere, connecting wires to make something happen.   Knowing you did it all yourself.  I don't think it's any different than any other creative endeavour.  We do it because we find it fun.  Why does a chef cook?  I don't understand how that can be fun but we all have different things that float our boats.<br><br><br>Happy Friday :)<br><br><br>Lynn<br><br><br><hr><br>From: Projects <projects-bounces@vicpimakers.ca> on behalf of George Bowden <gtbowdeng@gmail.com><br>Sent: December 17, 2020 9:35 PM<br>To: Talk about Raspberry Pi / embeded projects<br>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<br><br>Can someone help me out here.  Maybe it is not as interesting as I thought.  Basically, I learned how to deep sleep a battery powered ESP32.  The turkey was unimportant.  A very portable device that reports humidity (a cause of mold, for instance, or of hugely expensive water leaks in a condo) and temperature (for cooking, etc) should be in everybody's house, IMHO.  The turkey stuffed with micros was a bit of a joke.<br><br>Deid, I like the bead thermistor more than DS18B20s because, waterproofed,  I can insert it deep into the turkey breast,  for just the right safe temperature without overcooking.  Besides, I've got 40 thermistors left <haha>.  They worked fine when powered by 3.3v and not a GPIO pin.  I suppose I could spare 0.15ma (3v / 20k ohm) continuous drain on the 2600 ma-hour battery.<br><br>On Thu, Dec 17, 2020 at 5:26 PM Michelle Wiboltt <michellewiboltt@outlook.com<mailto:michellewiboltt@outlook.com>> wrote:<br>Ok. Why? What do u find interesting about this? I?m not being mean or silly I?m really trying to understand, through ur eyes, what?s interesting about this? I don?t get it and if I can decipher maybe I can translate for people like me:) and maybe, just maybe one of them has the caramels secrets:)<br>New worlds ?<br><br>Michelle Wiboltt<br><a href="http://www.elb1b69.net">www.elb1b69.net</a><<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.elb1b69.net%2F&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795821706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UCDa71D%2BjKsYoWOsSUGerG4Tw1tewn649Z6Z1frLyS4%3D&reserved=0">https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.elb1b69.net%2F&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795821706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UCDa71D%2BjKsYoWOsSUGerG4Tw1tewn649Z6Z1frLyS4%3D&reserved=0</a>><br>604-612-2505<br><br><hr><br>From: Projects <projects-bounces@vicpimakers.ca<mailto:projects-bounces@vicpimakers.ca>> on behalf of George Bowden <gtbowdeng@gmail.com<mailto:gtbowdeng@gmail.com>><br>Sent: Thursday, December 17, 2020 5:17:32 PM<br>To: Talk about Raspberry Pi / embeded projects <projects@vicpimakers.ca<mailto:projects@vicpimakers.ca>><br>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<br><br>A couple of corrections... multiplying  a minute of microseconds requires the microseconds to be declared as 60000000ULL   yes, thats ULL at the end, Unsigned Long Long.  I found this error when I went above 20 minutes sleep.<br>Also , concatenation of strings in php is with the period, not the plus sign.  I should put all this on github so that my corrections are available.<br><br>Michelle, I am defrosting a turkey slowly inside a closed ice chest on my balcony.  I have a temperature sensor on the turkey that warns me when it has risen to 3 degrees Celsius, meaning it is thawed and time to cook it.  I'm not heating it in the ice chest... ambient daytime warmth just seeps in slowly through the walls of the ice chest to melt the turkey slowly.  The turkey is cooking in the kitchen now.<br><br>On Thu, Dec 17, 2020 at 3:02 PM Michelle Wiboltt <michellewiboltt@outlook.com<mailto:michellewiboltt@outlook.com>> wrote:<br><br>I don?t get what you?re trying to do?<br><br><br><br>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?<br><br><br><br>Or, is this some weird kind of code because I just can?t make sense of it? it?s creepy sounding, actually.<br><br><br><br>m<br><br><br><br>From: Projects <projects-bounces@vicpimakers.ca<mailto:projects-bounces@vicpimakers.ca>> on behalf of Deid Reimer <deid@drsol.com<mailto:deid@drsol.com>><br>Reply-To: Talk about Raspberry Pi / embeded projects <projects@vicpimakers.ca<mailto:projects@vicpimakers.ca>><br>Date: Thursday, December 17, 2020 at 2:55 PM<br>To: "projects@vicpimakers.ca<mailto:projects@vicpimakers.ca>" <projects@vicpimakers.ca<mailto:projects@vicpimakers.ca>><br>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5<br><br><br><br>Hey George you need to start using DS18B20s to measure temperature.<br><br>Deid<br><br>VA7REI<br><br>On Dec 17, 2020, at 12:00 PM, projects-request@vicpimakers.ca<mailto:projects-request@vicpimakers.ca> wrote:<br><br>Send Projects mailing list submissions to<br> projects@vicpimakers.ca<mailto: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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795831699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k8bOxaGQHVgbdwvSh6Q%2F1cjdZPPhcmMZmYYxdDPzyOI%3D&reserved=0">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795831699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k8bOxaGQHVgbdwvSh6Q%2F1cjdZPPhcmMZmYYxdDPzyOI%3D&reserved=0</a>><br>or, via email, send a message with subject or body 'help' to<br> projects-request@vicpimakers.ca<mailto:projects-request@vicpimakers.ca><br><br>You can reach the person managing the list at<br> projects-owner@vicpimakers.ca<mailto: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><br>Message: 1<br>Date: Wed, 16 Dec 2020 19:10:59 -0800<br>From: George Bowden <gtbowdeng@gmail.com<mailto:gtbowdeng@gmail.com>><br>To: "Talk about Raspberry Pi / embeded projects"<br> <projects@vicpimakers.ca<mailto: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<mailto:dcDe9vB6YmxR-j%2BdQ8P0zfcRiZxR%2B_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><br>--<br>Projects mailing list<br>Projects@vicpimakers.ca<mailto:Projects@vicpimakers.ca><br><a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795831699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k8bOxaGQHVgbdwvSh6Q%2F1cjdZPPhcmMZmYYxdDPzyOI%3D&reserved=0">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795831699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k8bOxaGQHVgbdwvSh6Q%2F1cjdZPPhcmMZmYYxdDPzyOI%3D&reserved=0</a>><br><br><br>--<br>George Bowden,<br>gtbowdeng@gmail.com<mailto:gtbowdeng@gmail.com><br>--<br>Projects mailing list<br>Projects@vicpimakers.ca<mailto:Projects@vicpimakers.ca><br><a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795841694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VcA8ZYdmdAfHAs0DJy%2BZ1JFVpqmmjZSvIL20LKQpzek%3D&reserved=0">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvicpimakers.ca%2Fmailman%2Flistinfo%2Fprojects_vicpimakers.ca&data=04%7C01%7C%7Cbd745140c5144b88ca6108d8a37a7f03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637439093795841694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VcA8ZYdmdAfHAs0DJy%2BZ1JFVpqmmjZSvIL20LKQpzek%3D&reserved=0</a>><br><br><br>--<br>George Bowden,<br>gtbowdeng@gmail.com<mailto:gtbowdeng@gmail.com><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/a5a6548e/attachment.html">http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/a5a6548e/attachment.html</a>><br><br><hr><br><br>Subject: Digest Footer<br><br>Projects mailing list<br>Projects@vicpimakers.ca<br><a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br><br><br><hr><br><br>End of Projects Digest, Vol 6, Issue 9<br>**************************************<br></pre></blockquote></div></body></html>