<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span></span></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On , John Vaughters <jvaughters04@yahoo.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv3113430373"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div class="yiv3113430373" style=""><span class="yiv3113430373" style="">I am a big fan of 10k Thermistors. They are
 SUPER cheap and have a decent temp range to. They require an analog input but basically you use them with another 10K regular resistor as a voltage divider. I have used them to measure room temperature and Coolant temperature on a car to operate an electirc fan. I ran wire about 10 feet long, but you could run it much much longer. All you would have to do is compensate the resistance into the calulation. But I doubt you would have to at all except for very long distances. In any case you always want to calibrate any temp reading if you need true accuracy. This can be done with software or resistance trimming. </span></div><div class="yiv3113430373" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style=""></span></div><div
 class="yiv3113430373" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span class="yiv3113430373" style="">Here is the calculation code and other use information.</span></div><div class="yiv3113430373" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span class="yiv3113430373" style=""><br clear="none"></span></div><div class="yiv3113430373" style="background-color:transparent;"><span class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://playground.arduino.cc/ComponentLib/Thermistor2" style="">Arduino Playground - Thermistor2</a><br clear="none" class="yiv3113430373" style=""></span></div><div
 class="yiv3113430373link-enhancr-attachment yiv3113430373link-enhancr-element" id="yiv3113430373enhancrCard_0" style="width: 450px; font-family: Georgia, Times, 'Times New Roman', serif;" contenteditable="false"><table class="yiv3113430373link-enhancr-element" cellspacing="0" cellpadding="0" style="width:450px;height:auto;margin-top:5px;margin-bottom:5px;display:block;"><tbody><tr class="yiv3113430373link-enhancr-element"><td colspan="6" rowspan="1" class="yiv3113430373link-enhancr-element" style="height:1px;background-color:#e5e5e5;"><div class="yiv3113430373link-enhancr-element" style="height:1px;background-color:#e5e5e5;"></div></td></tr><tr class="yiv3113430373link-enhancr-element"><td colspan="1" rowspan="2" class="yiv3113430373link-enhancr-element" style="width:1px;background-color:#e5e5e5;"><div class="yiv3113430373link-enhancr-element" style="width:1px;background-color:#e5e5e5;"></div></td><td colspan="2" rowspan="1"
 class="yiv3113430373link-enhancr-element" style="width: 100%; vertical-align: middle; font-family: Georgia, Times, 'Times New Roman', serif;"><div class="yiv3113430373link-enhancr-text-part yiv3113430373link-enhancr-element" style="line-height:16.5px;background-color:#ffffff;width:448px;"><div class="yiv3113430373link-enhancr-element" style="word-wrap:break-word;padding:7px 20px 0px 14px;"><span class="yiv3113430373link-enhancr-element yiv3113430373icon yiv3113430373icon-shrink yiv3113430373link-enhancr-toggle"></span><span class="yiv3113430373link-enhancr-element yiv3113430373icon yiv3113430373icon-close yiv3113430373link-enhancr-delete"></span><a rel="nofollow" shape="rect" class="link-enhancr-card-urlWrapper link-enhancr-element" target="_blank" href="http://playground.arduino.cc/ComponentLib/Thermistor2" style="text-decoration: none !important; color: #000000 !important;" contenteditable="false"><span class="yiv3113430373link-enhancr-element
 yiv3113430373link-enhancr-card-title" style="margin:0;font-weight:normal;margin-bottom:4px;font-size:18px;line-height:21px;max-height:43px;color:#000000;overflow:hidden;display:inline-block;">Arduino Playground - Thermistor2</span></a><div class="yiv3113430373link-enhancr-card-description yiv3113430373link-enhancr-element" style="font-size: 13px; line-height: 20px; color: rgb(153, 153, 153); max-height: 81px; font-family: Georgia, Times, 'Times New Roman', serif; overflow: hidden;">/*  * Inputs ADC Value from Thermistor and outputs Temperature in Celsius  *  requires: include <math.h>  * Utilizes the Steinhart-Hart Thermistor Equation: </div></div></div></td><td colspan="1" rowspan="2" class="yiv3113430373link-enhancr-element" style="width:1px;background-color:#e5e5e5;"><div class="yiv3113430373link-enhancr-element" style="width:1px;background-color:#e5e5e5;"></div></td></tr><tr><td colspan="1" rowspan="1"
 class="yiv3113430373link-enhancr-element" style="width: 100%; vertical-align: middle; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"><div class="yiv3113430373link-enhancr-element" style="font-size:0pt;padding:3px 20px 9px 14px;"><a rel="nofollow" shape="rect" class="yiv3113430373link-enhancr-card-url yiv3113430373link-enhancr-element" target="_blank" href="http://playground.arduino.cc/ComponentLib/Thermistor2" style="color:black;text-decoration:none;cursor:pointer;"><span class="yiv3113430373link-enhancr-element yiv3113430373link-enhancr-view-on" style="display:inline-block;line-height:11px;max-width:348px;min-width:288px;overflow:hidden;max-height:13px;"><span class="yiv3113430373link-enhancr-element yiv3113430373link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">View
 on <span class="yiv3113430373link-enhancr-view-on-domain" style="font-weight:bold;">playground.arduino.cc</span></span></span></a></div></td><td colspan="1" rowspan="1" class="yiv3113430373link-enhancr-element" style="vertical-align: middle; width: 100px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"><div class="yiv3113430373link-enhancr-element yiv3113430373link-enhancr-preview-wrapper" style="padding:6px 20px 12px 0px;max-width:100px;min-width:80px;overflow:hidden;text-align:right;line-height:11px;max-height:13px;font-size:0pt;"><span class="yiv3113430373link-enhancr-element yiv3113430373link-enhancr-preview-by yiv3113430373link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr class="yiv3113430373link-enhancr-element"><td
 colspan="6" rowspan="1" class="yiv3113430373link-enhancr-element" style="height:1px;background-color:#e5e5e5;"><div class="yiv3113430373link-enhancr-element" style="height:1px;background-color:#e5e5e5;"></div></td></tr></tbody></table></div><div>  </div><div>John Vaughters</div><div class="yiv3113430373yqt3163447323" id="yiv3113430373yqt57878"><div class="yiv3113430373yahoo_quoted" style="display: block;"> <div class="yiv3113430373" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div class="yiv3113430373" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div class="yiv3113430373" dir="ltr" style=""> <font class="yiv3113430373" size="2" face="Arial" style=""> On Friday, May 2, 2014 9:27 PM, Terry King <terry@terryking.us> wrote:<br clear="none" class="yiv3113430373" style=""> </font> </div>  <div
 class="yiv3113430373" style="">Hi,<br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">There is a lot about this temperature sensor on the ArduinoInfo.Info WIKI here:<br clear="none" class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://arduino-info.wikispaces.com/Brick-Temperature-DS18B20" style="">http://arduino-info.wikispaces.com/Brick-Temperature-DS18B20</a><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">On that page you'll see a link to the  "MAXIM Application note about Long Cables"<br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">Net: 50 feet or so no problem... Many people run 100+ feet using CAT5 cable.<br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">Regards, Terry King<br clear="none"
 class="yiv3113430373" style="">...In The Woods in Vermont, USA<br clear="none" class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" ymailto="mailto:terry@yourduino.com" target="_blank" href="mailto:terry@yourduino.com" style="">terry@yourduino.com</a><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">---------------------( COPY )---------------------<br clear="none" class="yiv3113430373" style="">Not sure about the 1-wire.  I have some DHT22 / AM2302 (one signal wire,<br clear="none" class="yiv3113430373" style="">but not "1-wire" protocol) running about 16 meters on wire that was once<br clear="none" class="yiv3113430373" style="">used for security system sensors.  Hooked to an Arduino right now, but they<br clear="none" class="yiv3113430373" style="">worked similarly on a Raspberry Pi before I used that for another project.<br clear="none" class="yiv3113430373"
 style=""><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">On Fri, May 2, 2014 at 4:06 PM, Grawburg <<a rel="nofollow" shape="rect" class="yiv3113430373" ymailto="mailto:grawburg@myglnc.com" target="_blank" href="mailto:grawburg@myglnc.com" style="">grawburg@myglnc.com</a>> wrote:<br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">> I have an RPi set up with two DS18B20 temperature sensors - one is fixed<br clear="none" class="yiv3113430373" style="">> on a breadboard and one is the waterproof unit with about a meter<br clear="none" class="yiv3113430373" style="">> extension (got from AdaFruit).  Works fine as is. I do not need a<br clear="none" class="yiv3113430373" style="">> waterproof sensor but would like to put the sensor 10 to 15 feet away from<br clear="none" class="yiv3113430373" style="">> the RPi: we are measuring the
 temperature at different points in a room.<br clear="none" class="yiv3113430373" style="">>  What's the reasonable limit for extending the sensor away from the Pi?<br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">> Thanks,<br clear="none" class="yiv3113430373" style="">> Brian Grawburg<br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">> --<br clear="none" class="yiv3113430373" style="">> I will no longer use Mozilla/Firefox. I now use Opera Web Browser.<br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373" style="">>
 _______________________________________________<br clear="none" class="yiv3113430373" style="">> Triangle, NC Embedded Computing mailing list<br clear="none" class="yiv3113430373" style="">> <a rel="nofollow" shape="rect" class="yiv3113430373" ymailto="mailto:TriEmbed@triembed.org" target="_blank" href="mailto:TriEmbed@triembed.org" style="">TriEmbed@triembed.org</a><br clear="none" class="yiv3113430373" style="">> <a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" style="">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br clear="none" class="yiv3113430373" style="">> TriEmbed web site: <a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://triembed.org/" style="">http://TriEmbed.org</a><br clear="none" class="yiv3113430373" style="">><br clear="none" class="yiv3113430373"
 style="">_______________________________________________<br clear="none" class="yiv3113430373" style="">Triangle, NC Embedded Computing mailing list<br clear="none" class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" ymailto="mailto:TriEmbed@triembed.org" target="_blank" href="mailto:TriEmbed@triembed.org" style="">TriEmbed@triembed.org</a><br clear="none" class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" style="">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br clear="none" class="yiv3113430373" style="">TriEmbed web site: <a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://triembed.org/" style="">http://TriEmbed.org</a><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style=""><br clear="none"
 class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">Regards, Terry King<br clear="none" class="yiv3113430373" style="">...In the Woods in Vermont USA<br clear="none" class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" ymailto="mailto:terry@terryking.us" target="_blank" href="mailto:terry@terryking.us" style="">terry@terryking.us</a><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">-The One who Dies with the most Parts LOSES. What do you need??<div class="yiv3113430373" id="yiv3113430373yqtfd60437" style=""><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style="">_______________________________________________<br clear="none" class="yiv3113430373" style="">Triangle, NC Embedded Computing mailing list<br clear="none" class="yiv3113430373" style=""><a rel="nofollow"
 shape="rect" class="yiv3113430373" ymailto="mailto:TriEmbed@triembed.org" target="_blank" href="mailto:TriEmbed@triembed.org" style="">TriEmbed@triembed.org</a><br clear="none" class="yiv3113430373" style=""><a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" style="">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br clear="none" class="yiv3113430373" style="">TriEmbed web site: <a rel="nofollow" shape="rect" class="yiv3113430373" target="_blank" href="http://triembed.org/" style="">http://TriEmbed.org</a><br clear="none" class="yiv3113430373" style=""></div><br clear="none" class="yiv3113430373" style=""><br clear="none" class="yiv3113430373" style=""></div>  </div> </div>  </div></div> </div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>