<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blog# 5 EAS - Research Temperature Sensor - DS18B20</title><link>/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/blog-5-eas---research-temperature-sensor---ds18b20</link><description>BLOG# 5 -Edible Algae System - (Growing Spirulina in space)Temperature Sensor - DS18B20This is my 5th blog post in a series of blog post for the Design Challenge 1 Meter of Pi version 1.3&amp;lt;&amp;lt;&amp;lt; PREVIOUS BLOGNEXT BLOG &amp;gt;&amp;gt;&amp;gt; Blog# 4 EA...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Blog# 5 EAS - Research Temperature Sensor - DS18B20</title><link>https://community.element14.com/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/blog-5-eas---research-temperature-sensor---ds18b20</link><pubDate>Fri, 27 Nov 2020 04:21:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ec7ee37-6ae6-429c-bb1b-7a2dd6df7f5e</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I have a tutorial that provides the details for setting up a temperature monitor that logs both air and water temperature on a Raspberry Pi, if it is something you require. It has been cleared for space travel. Well actually the dual temperature monitor helped me determine what electrics in the hot water tank, top or bottom was on the fritz.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10260&amp;AppID=269&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Blog# 5 EAS - Research Temperature Sensor - DS18B20</title><link>https://community.element14.com/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/blog-5-eas---research-temperature-sensor---ds18b20</link><pubDate>Sun, 22 Nov 2020 11:33:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ec7ee37-6ae6-429c-bb1b-7a2dd6df7f5e</guid><dc:creator>ajcc</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;First off, I don&amp;#39;t think you should copy the text, code and images from the reference into your blog. I understand that you&amp;#39;re just making notes at this point in time.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The temperature T is in milliCelsius, this is the default unit used by temperature sensors in Linux, that might be obvious from reading the python code but perhaps not from the sysfs output?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Instead of running modprobe from the Python script (requiring you to it run as root), you &lt;a class="jive-link-external-small" href="https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/" rel="nofollow ugc noopener" target="_blank"&gt;automatically load them at boot&lt;/a&gt; by add the following to /etc/modules&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=w1-gpio%0Aw1-therm]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you don&amp;#39;t want to write your own code to parse the output in the sysfs-file you could pip install &lt;a class="jive-link-external-small" href="https://github.com/timofurrer/w1thermsensor" rel="nofollow ugc noopener" target="_blank"&gt;W1ThermSensor&lt;/a&gt; instead, which also implements a command for setting the resolution from 9 to 12-bits (you can also do this by &lt;a class="jive-link-external-small" href="https://raspberrypi.stackexchange.com/questions/71563/how-to-set-precision-of-ds18b20-via-w1-therm" rel="nofollow ugc noopener" target="_blank"&gt;writing to the sysfs-file&lt;/a&gt;, notice that you can save the settings in the device).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good luck with your project!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10260&amp;AppID=269&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Blog# 5 EAS - Research Temperature Sensor - DS18B20</title><link>https://community.element14.com/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/blog-5-eas---research-temperature-sensor---ds18b20</link><pubDate>Sat, 21 Nov 2020 18:45:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ec7ee37-6ae6-429c-bb1b-7a2dd6df7f5e</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;How stable was the temperature sensor over a longer time?&lt;/p&gt;&lt;p&gt;Did it stay within specifications?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10260&amp;AppID=269&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>