[VicPiMakers Projects] ds18b20

Deid Reimer deid at drsol.com
Fri Dec 18 14:59:10 EST 2020


I have several waterproof sensors that have been running for several years outside.   One immersed in my pond (currently 7 degrees  C).

One problem is that they won't be able to cook the turkey as they only go to 125C.

⁣Deid 
VA7REI​

On Dec 18, 2020, 11:42 AM, at 11:42 AM, projects-request at vicpimakers.ca wrote:
>Send Projects mailing list submissions to
>	projects at vicpimakers.ca
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca
>or, via email, send a message with subject or body 'help' to
>	projects-request at vicpimakers.ca
>
>You can reach the person managing the list at
>	projects-owner at vicpimakers.ca
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Projects digest..."
>
>
>Today's Topics:
>
>   1. Re: Projects Digest, Vol 6, Issue 5 (James Briante)
>   2. Re: Projects Digest, Vol 6, Issue 5 (Michelle Wiboltt)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 18 Dec 2020 11:39:16 -0800
>From: James Briante <briantej at gmail.com>
>To: "Talk about Raspberry Pi / embeded projects"
>	<projects at vicpimakers.ca>
>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5
>Message-ID:
>	<CAPNOJzgdwASdZC8xrzur-m63d=PzV1SmAj8U18z5WWCHzG2jTA at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>Hey George,
>
>
>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.
>
>
>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.
>
>
>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 amazon.ca.
>
>
>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.
>
>
>Interfacing the DS18X20/DS1822 1-Wire? Temperature Sensor in a
>Microcontroller Environment (maximintegrated.com)
><https://www.maximintegrated.com/en/design/technical-documents/app-notes/1/162.html>
>
>On Thu, Dec 17, 2020 at 2:55 PM Deid Reimer <deid at drsol.com> wrote:
>
>> Hey George you need to start using DS18B20s to measure temperature.
>>
>> Deid
>> VA7REI
>> On Dec 17, 2020, at 12:00 PM, projects-request at vicpimakers.ca wrote:
>>>
>>> Send Projects mailing list submissions to
>>>  projects at vicpimakers.ca
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>  http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca
>>> or, via email, send a message with subject or body 'help' to
>>>  projects-request at vicpimakers.ca
>>>
>>> You can reach the person managing the list at
>>>  projects-owner at vicpimakers.ca
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Projects digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>    1. Code for turkey stuffed with microprocessor. (George Bowden)
>>>
>>>
>>> ------------------------------
>>>
>>>
>>> Message: 1
>>> Date: Wed, 16 Dec 2020 19:10:59 -0800
>>> From: George Bowden <gtbowdeng at gmail.com>
>>> To: "Talk about Raspberry Pi / embeded projects"
>>>  <projects at vicpimakers.ca>
>>> Subject: [VicPiMakers Projects] Code for turkey stuffed with
>>>  microprocessor.
>>> Message-ID:
>>> 
><CAMon6WtuHHDwC_x=dcDe9vB6YmxR-j+dQ8P0zfcRiZxR+_gYiQ at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Per Lynne's request to see the code, here it is
>>>
>>> Every few minutes, the microprocessor measures the temperature
>inside the
>>> turkey bag, posts the temperature to a website, and goes into deep
>sleep on
>>> top of the turkey.  (I was going to stuff the micro inside, but that
>is all
>>> frozen up tight)..
>>>
>>> Because the micro is only awake for a few seconds every 20 minutes,
>it will
>>> run for weeks off the battery, long after the turkey has thawed.
>>>
>>> The website receiving the post just appends the current local time()
>and
>>> data from the micro processor (humidity, temperature, ADC value) to
>a log
>>> file. The website replies to the micro with the number of minutes
>that the
>>> micro should sleep.  No jason, no mqtt, just php and html.  Webpage
>file is
>>> attached.. "fromdht.php"
>>>
>>> Here is a snippet of the temperature log
>>>
>>> 1608169225 90.50 2.50 2704
>>> 1608170427 90.70 2.50 2704
>>> 1608171628 90.80 2.50 2703
>>> 1608172830 91.00 2.50 2644
>>>
>>> The ADC reading is broken... I thought I could use a GPIO as the
>>> source voltage for the thermistor, so that I could turn it off when
>>> not needed, but it doesn't work yet.   Maybe need the gpio pin to
>turn
>>> on a mosfet to 3.3volts
>>>
>>> The Arduino .ino code file is also attached
>>>
>>> --
>> Projects mailing list
>> Projects at vicpimakers.ca
>> http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/4504c049/attachment-0001.html>
>
>------------------------------
>
>Message: 2
>Date: Fri, 18 Dec 2020 19:41:52 +0000
>From: Michelle Wiboltt <michellewiboltt at outlook.com>
>To: Talk about Raspberry Pi / embeded projects
>	<projects at vicpimakers.ca>
>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5
>Message-ID:
>	<DM5PR02MB2668790E54FEA165558DDD06ACC30 at DM5PR02MB2668.namprd02.prod.outlook.com>
>	
>Content-Type: text/plain; charset="utf-8"
>
>Thanks Lynn,
>That makes sense:) artists the lot of the all of us, cool ?
>Thx again,
>m
>
>Michelle Wiboltt
>www.elb1b69.net
>604-612-2505
>
>________________________________
>From: Projects <projects-bounces at vicpimakers.ca> on behalf of Lynn
>Palmer <lpalmer at uvic.ca>
>Sent: Friday, December 18, 2020 9:28:49 AM
>To: Talk about Raspberry Pi / embeded projects
><projects at vicpimakers.ca>
>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5
>
>
>Michelle, your perspective is really interesting.
>
>
>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.
>
>
>Happy Friday :)
>
>
>Lynn
>
>
>________________________________
>From: Projects <projects-bounces at vicpimakers.ca> on behalf of George
>Bowden <gtbowdeng at gmail.com>
>Sent: December 17, 2020 9:35 PM
>To: Talk about Raspberry Pi / embeded projects
>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5
>
>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.
>
>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.
>
>On Thu, Dec 17, 2020 at 5:26 PM Michelle Wiboltt
><michellewiboltt at outlook.com<mailto:michellewiboltt at outlook.com>>
>wrote:
>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:)
>New worlds ?
>
>Michelle Wiboltt
>www.elb1b69.net<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>
>604-612-2505
>
>________________________________
>From: Projects
><projects-bounces at vicpimakers.ca<mailto:projects-bounces at vicpimakers.ca>>
>on behalf of George Bowden
><gtbowdeng at gmail.com<mailto:gtbowdeng at gmail.com>>
>Sent: Thursday, December 17, 2020 5:17:32 PM
>To: Talk about Raspberry Pi / embeded projects
><projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>>
>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5
>
>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.
>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.
>
>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.
>
>On Thu, Dec 17, 2020 at 3:02 PM Michelle Wiboltt
><michellewiboltt at outlook.com<mailto:michellewiboltt at outlook.com>>
>wrote:
>
>I don?t get what you?re trying to do?
>
>
>
>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?
>
>
>
>Or, is this some weird kind of code because I just can?t make sense of
>it? it?s creepy sounding, actually.
>
>
>
>m
>
>
>
>From: Projects
><projects-bounces at vicpimakers.ca<mailto:projects-bounces at vicpimakers.ca>>
>on behalf of Deid Reimer <deid at drsol.com<mailto:deid at drsol.com>>
>Reply-To: Talk about Raspberry Pi / embeded projects
><projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>>
>Date: Thursday, December 17, 2020 at 2:55 PM
>To: "projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>"
><projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>>
>Subject: Re: [VicPiMakers Projects] Projects Digest, Vol 6, Issue 5
>
>
>
>Hey George you need to start using DS18B20s to measure temperature.
>
>Deid
>
>VA7REI
>
>On Dec 17, 2020, at 12:00 PM,
>projects-request at vicpimakers.ca<mailto:projects-request at vicpimakers.ca>
>wrote:
>
>Send Projects mailing list submissions to
> projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>
>
>To subscribe or unsubscribe via the World Wide Web, visit
>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>
>or, via email, send a message with subject or body 'help' to
>projects-request at vicpimakers.ca<mailto:projects-request at vicpimakers.ca>
>
>You can reach the person managing the list at
> projects-owner at vicpimakers.ca<mailto:projects-owner at vicpimakers.ca>
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Projects digest..."
>
>
>Today's Topics:
>
>   1. Code for turkey stuffed with microprocessor. (George Bowden)
>
>
>________________________________
>
>
>Message: 1
>Date: Wed, 16 Dec 2020 19:10:59 -0800
>From: George Bowden <gtbowdeng at gmail.com<mailto:gtbowdeng at gmail.com>>
>To: "Talk about Raspberry Pi / embeded projects"
> <projects at vicpimakers.ca<mailto:projects at vicpimakers.ca>>
>Subject: [VicPiMakers Projects] Code for turkey stuffed with
> microprocessor.
>Message-ID:
><CAMon6WtuHHDwC_x=dcDe9vB6YmxR-j+dQ8P0zfcRiZxR+_gYiQ at mail.gmail.com<mailto:dcDe9vB6YmxR-j%2BdQ8P0zfcRiZxR%2B_gYiQ at mail.gmail.com>>
>Content-Type: text/plain; charset="utf-8"
>
>Per Lynne's request to see the code, here it is
>
>Every few minutes, the microprocessor measures the temperature inside
>the
>turkey bag, posts the temperature to a website, and goes into deep
>sleep on
>top of the turkey.  (I was going to stuff the micro inside, but that is
>all
>frozen up tight)..
>
>Because the micro is only awake for a few seconds every 20 minutes, it
>will
>run for weeks off the battery, long after the turkey has thawed.
>
>The website receiving the post just appends the current local time()
>and
>data from the micro processor (humidity, temperature, ADC value) to a
>log
>file. The website replies to the micro with the number of minutes that
>the
>micro should sleep.  No jason, no mqtt, just php and html.  Webpage
>file is
>attached.. "fromdht.php"
>
>Here is a snippet of the temperature log
>
>1608169225 90.50 2.50 2704
>1608170427 90.70 2.50 2704
>1608171628 90.80 2.50 2703
>1608172830 91.00 2.50 2644
>
>The ADC reading is broken... I thought I could use a GPIO as the
>source voltage for the thermistor, so that I could turn it off when
>not needed, but it doesn't work yet.   Maybe need the gpio pin to turn
>on a mosfet to 3.3volts
>
>The Arduino .ino code file is also attached
>
>--
>Projects mailing list
>Projects at vicpimakers.ca<mailto:Projects at vicpimakers.ca>
>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>
>
>
>--
>George Bowden,
>gtbowdeng at gmail.com<mailto:gtbowdeng at gmail.com>
>--
>Projects mailing list
>Projects at vicpimakers.ca<mailto:Projects at vicpimakers.ca>
>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>
>
>
>--
>George Bowden,
>gtbowdeng at gmail.com<mailto:gtbowdeng at gmail.com>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/a5a6548e/attachment.html>
>
>------------------------------
>
>Subject: Digest Footer
>
>Projects mailing list
>Projects at vicpimakers.ca
>http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca
>
>
>------------------------------
>
>End of Projects Digest, Vol 6, Issue 9
>**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vicpimakers.ca/pipermail/projects_vicpimakers.ca/attachments/20201218/32a1a5b3/attachment.htm>


More information about the Projects mailing list