<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>hmmm.... &#187; geek</title>
	<atom:link href="http://michael.thegrebs.com/tag/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://michael.thegrebs.com</link>
	<description></description>
	<pubDate>Mon, 01 Jun 2009 17:53:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>YAPC&#124;10</title>
		<link>http://michael.thegrebs.com/2009/06/01/yapc10/</link>
		<comments>http://michael.thegrebs.com/2009/06/01/yapc10/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 17:53:44 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[yapc]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=227</guid>
		<description><![CDATA[I will be at YAPC&#124;10 in Pittsburgh the end of June.  Here&#8217;s a schedule of the talks I plan to attend.  There are a few holes not because the talks at those time suck but because they rock so hard I can&#8217;t decide which I want to attend.

]]></description>
			<content:encoded><![CDATA[<p>I will be at <a href="http://yapc10.org/yn2009/">YAPC|10</a> in Pittsburgh the end of June.  Here&#8217;s a schedule of the talks I plan to attend.  There are a few holes not because the talks at those time suck but because they rock so hard I can&#8217;t decide which I want to attend.</p>
<p><iframe src="https://www.google.com/calendar/hosted/thegrebs.com/embed?mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=thegrebs.com_hoqmg0gv7oikpa0op34pjbm5tg%40group.calendar.google.com&amp;color=%23B1440E&amp;ctz=America%2FNew_York" style=" border:solid 1px #777 " width="500" height="600" frameborder="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2009/06/01/yapc10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Playing a Tone Through an Arduino Connected Piezo</title>
		<link>http://michael.thegrebs.com/2009/03/23/playing-a-tone-through-an-arduino-connected-piezo/</link>
		<comments>http://michael.thegrebs.com/2009/03/23/playing-a-tone-through-an-arduino-connected-piezo/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 02:27:52 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[arduino]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[piezo]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=214</guid>
		<description><![CDATA[I&#8217;m working on a top secret project, all I&#8217;ll say is it involves the Arduino, Twitter, and the refrigerator, and needed to play a tone through a piezo connected to the Arduino.  I looked around and the closest I could find was a tutorial  that included code to play a melody.
This wasn&#8217;t quite [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a top secret project, all I&#8217;ll say is it involves the Arduino, Twitter, and the refrigerator, and needed to play a tone through a piezo connected to the Arduino.  I looked around and the closest I could find was <a href="http://www.arduino.cc/en/Tutorial/PlayMelody">a tutorial  that included code to play a melody</a>.</p>
<p>This wasn&#8217;t quite what I wanted and the playTone function expects the notes and timing to be in global variables which makes the baby jesus cry.  The premise was simple though.  Take the period and divide by two then bring the output high then low for this amount of time, repeat to make up the desired duration. </p>
<pre class="textmate-source black_pearl"><span class="source source_c"><span class="storage storage_type storage_type_c">int</span> pinSpeaker = <span class="constant constant_numeric constant_numeric_c">10</span>;

<span class="storage storage_type storage_type_c">void</span><span class="meta meta_function meta_function_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function punctuation_whitespace_function_leading punctuation_whitespace_function_leading_c"> </span><span class="entity entity_name entity_name_function entity_name_function_c">setup</span> <span class="meta meta_parens meta_parens_c">()</span> <span class="meta meta_block meta_block_c">{
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">    </span><span class="support support_function support_function_any-method support_function_any-method_c">pinMode</span>(</span>pinSpeaker, OUTPUT);
}</span></span>

<span class="storage storage_type storage_type_c">void</span><span class="meta meta_function meta_function_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function punctuation_whitespace_function_leading punctuation_whitespace_function_leading_c"> </span><span class="entity entity_name entity_name_function entity_name_function_c">loop</span> <span class="meta meta_parens meta_parens_c">()</span> <span class="meta meta_block meta_block_c">{
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">    </span><span class="support support_function support_function_any-method support_function_any-method_c">playTone</span>(</span><span class="constant constant_numeric constant_numeric_c">750</span>, <span class="constant constant_numeric constant_numeric_c">500</span>);
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">    </span><span class="support support_function support_function_any-method support_function_any-method_c">delay</span>(</span><span class="constant constant_numeric constant_numeric_c">750</span>);
}</span></span>

<span class="comment comment_line comment_line_double-slash comment_line_double-slash_c++"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_c">//</span> duration in mSecs, frequency in hertz
</span><span class="storage storage_type storage_type_c">void</span><span class="meta meta_function meta_function_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function punctuation_whitespace_function_leading punctuation_whitespace_function_leading_c"> </span><span class="entity entity_name entity_name_function entity_name_function_c">playTone</span><span class="meta meta_parens meta_parens_c">(<span class="storage storage_type storage_type_c">long</span> duration, <span class="storage storage_type storage_type_c">int</span> freq)</span> <span class="meta meta_block meta_block_c">{
    duration *= <span class="constant constant_numeric constant_numeric_c">1000</span>;
    <span class="storage storage_type storage_type_c">int</span> period = (<span class="constant constant_numeric constant_numeric_c">1.0</span> / freq) * <span class="constant constant_numeric constant_numeric_c">1000000</span>;
    <span class="storage storage_type storage_type_c">long</span> elapsed_time = <span class="constant constant_numeric constant_numeric_c">0</span>;
    <span class="keyword keyword_control keyword_control_c">while</span><span class="meta meta_initialization meta_initialization_c"> <span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">(</span></span>elapsed_time &lt; duration) <span class="meta meta_block meta_block_c">{
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">        </span><span class="support support_function support_function_any-method support_function_any-method_c">digitalWrite</span>(</span>pinSpeaker,HIGH);
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">        </span><span class="support support_function support_function_any-method support_function_any-method_c">delayMicroseconds</span>(</span>period / <span class="constant constant_numeric constant_numeric_c">2</span>);
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">        </span><span class="support support_function support_function_any-method support_function_any-method_c">digitalWrite</span>(</span>pinSpeaker, LOW);
<span class="meta meta_function-call meta_function-call_c"><span class="punctuation punctuation_whitespace punctuation_whitespace_function-call punctuation_whitespace_function-call_leading punctuation_whitespace_function-call_leading_c">        </span><span class="support support_function support_function_any-method support_function_any-method_c">delayMicroseconds</span>(</span>period / <span class="constant constant_numeric constant_numeric_c">2</span>);
        elapsed_time += (period);
    }</span>
}</span></span></span></pre>
<p>This simple sketch plays a 500Hz tone for 750 mSec, pauses 750 mSec and repeats.  To use it in your sketch simply define pinSpeaker and set it for output, copy playTone to your sketch and call it with the duration in milliseconds and the frequency in hertz.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2009/03/23/playing-a-tone-through-an-arduino-connected-piezo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I am so totally a nerd</title>
		<link>http://michael.thegrebs.com/2009/03/03/i-am-so-totally-a-nerd/</link>
		<comments>http://michael.thegrebs.com/2009/03/03/i-am-so-totally-a-nerd/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 01:39:03 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[LOGO]]></category>

		<category><![CDATA[nerd]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=209</guid>
		<description><![CDATA[Somebody came into the IRC support channel for work and their nick was &#8216;turtle&#8217;.  I made a logo joke and a co-worker corrected my short LOGO triangle.  This prompted me to waste 20 minutes in a LOGO interpreter.

RT 30
REPEAT 3 [REPEAT 3 [FD 100 RT 120] RT 120]
PENUP
FD 100
PENDOWN
RT 90
REPEAT 360 [FD 1.75 [...]]]></description>
			<content:encoded><![CDATA[<p>Somebody came into the IRC support channel for work and their nick was &#8216;turtle&#8217;.  I made a logo joke and a co-worker corrected my short LOGO triangle.  This prompted me to waste 20 minutes in a LOGO interpreter.<br />
<code><br />
RT 30<br />
REPEAT 3 [REPEAT 3 [FD 100 RT 120] RT 120]<br />
PENUP<br />
FD 100<br />
PENDOWN<br />
RT 90<br />
REPEAT 360 [FD 1.75 RT 1]<br />
</code></p>
<p>The output:<br />
<a href="http://michael.thegrebs.com/wp-content/uploads/2009/03/logo.png"><img src="http://michael.thegrebs.com/wp-content/uploads/2009/03/logo.png" alt="logo" title="logo" width="282" height="251" class="size-full wp-image-210" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2009/03/03/i-am-so-totally-a-nerd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>pitz prepares to rock my socks</title>
		<link>http://michael.thegrebs.com/2009/02/22/pitz-prepares-to-rock-my-socks/</link>
		<comments>http://michael.thegrebs.com/2009/02/22/pitz-prepares-to-rock-my-socks/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 04:16:57 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=198</guid>
		<description><![CDATA[Matt Wilson must be spying on my dialogs in sekrit IRC channels.  After setting up Task this evening I mentioned there being several project ticketing systems, like Ditz, that store data in the RCS.  I was lamenting the fact that there wasn&#8217;t any of these systems written in anything other than ruby that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.tplus1.com/">Matt Wilson</a> must be spying on my dialogs in sekrit IRC channels.  After setting up <a href="http://www.beckingham.net/task.html">Task</a> this evening I mentioned there being several project ticketing systems, like <a href="http://ditz.rubyforge.org/">Ditz</a>, that store data in the RCS.  I was lamenting the fact that there wasn&#8217;t any of these systems written in anything other than ruby that I was aware of.</p>
<p>Reading my RSS feeds before bed, I found <a href='http://blog.tplus1.com/index.php/2009/02/22/my-new-ticket-tracking-system-is-now-vaporware/'>&#8220;My new ticket tracking system is now vaporware&#8221;</a> from <a href="http://blog.tplus1.com/">Matt Wilson&#8217;s blog</a> talking about <a href="http://pitz.tplus1.com/">Pitz</a>, his soon to exist Python implementation of <a href="http://ditz.rubyforge.org/">Ditz</a>.</p>
<p>Please take a few moments to read over the feature set and example commands on the <a href="http://pitz.tplus1.com/">Pitz</a> site and let Matt know about any ideas/suggestions you may have.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2009/02/22/pitz-prepares-to-rock-my-socks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>~/.bashrc Perl Module Version Tip</title>
		<link>http://michael.thegrebs.com/2009/01/09/bashrc-perl-module-version-tip/</link>
		<comments>http://michael.thegrebs.com/2009/01/09/bashrc-perl-module-version-tip/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 16:41:12 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=189</guid>
		<description><![CDATA[I often need to quickly check the version of a perl module currently installed.  A while back I got tired of running:
[michael@orion(~/)] perl -MPOE::Filter -e 'print $POE::Filter::VERSION, "\n"'
1.2357
So I added a quick function to .bashrc:

pm-vers () {
&#160;&#160;&#160;&#160;perl -M$1 -e "print \$$1::VERSION, \"\n\""
}

Now I just run:
[michael@orion(~/)] pm-vers POE::Filter
1.2357
]]></description>
			<content:encoded><![CDATA[<p>I often need to quickly check the version of a perl module currently installed.  A while back I got tired of running:</p>
<pre>[michael@orion(~/)] perl -MPOE::Filter -e 'print $POE::Filter::VERSION, "\n"'
1.2357</pre>
<p>So I added a quick function to .bashrc:<br />
<code><br />
pm-vers () {<br />
&nbsp;&nbsp;&nbsp;&nbsp;perl -M$1 -e "print \$$1::VERSION, \"\n\""<br />
}<br />
</code><br />
Now I just run:</p>
<pre>[michael@orion(~/)] pm-vers POE::Filter
1.2357</pre>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2009/01/09/bashrc-perl-module-version-tip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>git diff and white space</title>
		<link>http://michael.thegrebs.com/2009/01/07/git-diff-and-whitespace/</link>
		<comments>http://michael.thegrebs.com/2009/01/07/git-diff-and-whitespace/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 04:44:04 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=182</guid>
		<description><![CDATA[So I&#8217;m getting ready to make a commit to wxperl and I run a git diff to check on changes and git yelled at me that I had some trailing white space.  Well it didn&#8217;t yell but it hi-lighted the white space in red.  Way awesome!

]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m getting ready to make a commit to <a href="http://michael.thegrebs.com/software/wxperl/">wxperl</a> and I run a <code>git diff</code> to check on changes and git yelled at me that I had some trailing white space.  Well it didn&#8217;t yell but it hi-lighted the white space in red.  Way awesome!</p>
<p><a href="http://michael.thegrebs.com/wp-content/uploads/2009/01/git-diff-trailing-white-space.png"><img src="http://michael.thegrebs.com/wp-content/uploads/2009/01/git-diff-trailing-white-space-300x145.png" alt="git-diff-trailing-white-space" title="git-diff-trailing-white-space" width="300" height="145" class="aligncenter size-medium wp-image-185" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2009/01/07/git-diff-and-whitespace/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geeky Weather Station Stuffs</title>
		<link>http://michael.thegrebs.com/2008/12/21/geeky-weather-station-stuffs/</link>
		<comments>http://michael.thegrebs.com/2008/12/21/geeky-weather-station-stuffs/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 03:08:55 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[weather]]></category>

		<category><![CDATA[wxperl]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=141</guid>
		<description><![CDATA[
http://weather.thegrebs.com/
I recently received a nice Honeywell weather station.  It turns out they are actually manufactured by a company called Irox which also sells stations under it&#8217;s own name but they seem to be more popular in Europe.  Being a geek, one of the first things I did was check out Linux or OS [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://michael.thegrebs.com/wp-content/uploads/2008/12/wxperl.png" alt="wxperl" title="wxperl" width="200" height="385" class="alignright size-full wp-image-176" /><br />
<a href="http://weather.thegrebs.com/">http://weather.thegrebs.com/</a></p>
<p>I recently received a nice Honeywell weather station.  It turns out they are actually manufactured by a company called Irox which also sells stations under it&#8217;s own name but they seem to be more popular in Europe.  Being a geek, one of the first things I did was check out Linux or OS X support.  Unfortunately only one piece of software supports this weather station under Linux, <a href="http://www.weather-display.com/index.php">Weather Display</a>.  There Linux software is freeware but not open source and leaves quite a bit to be desired but at least it would talk to the weather station and collect data from it.</p>
<p>With a bit of Googling I found <a href="http://saratoga-weather.org/template/index.php">Saratoga Weather</a> which seems to be based on a template from <a href="http://www.carterlake.org/webtemplates.php">Carter Lakes</a>.  Unfortunately the PHP code is a bit of a mess with 43 separate php files all in a top level directory and including each other.  With a bit of work I was able to bend it to my will but every little change was a pain to accomplish.</p>
<p>I started slowly re-implementing things in Perl.  I found an <a href="http://www.tnetweather.com/wd-parser.php">online WD data-file parser</a> which greatly helped in figuring out what the fields in Weather Displays native log files meant.  Fast-forward a couple of weeks and I think things are pretty much done feature wise.  I lack NWS warning/watch/advisory notification, the thermometer image with today&#8217;s information is still PHP generated, and I don&#8217;t yet have a wind graph.  These last few details shouldn&#8217;t take too much work when I get around to it.  I also have a few features the original lacks, graphs, a daily tweet with today&#8217;s high/low, and sane code :p.</p>
<p>The information from my weather station is available online at <a href="http://weather.thegrebs.com/">http://weather.thegrebs.com/</a> and the source is available via git clone from http://git.thegrebs.com/git/wxperl.  You may also browse the repo via Git Web at <a href="http://git.thegrebs.com/?p=wxperl">http://git.thegrebs.com/?p=wxperl</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2008/12/21/geeky-weather-station-stuffs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Join the FSF Today</title>
		<link>http://michael.thegrebs.com/2008/12/05/join-the-fsf-today/</link>
		<comments>http://michael.thegrebs.com/2008/12/05/join-the-fsf-today/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 03:24:46 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[free software]]></category>

		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=139</guid>
		<description><![CDATA[The Free Software Foundation is having a year end fund drive.  Go join today.  Can you think of a better way to spend $10 per month?  Tell them member 7097 sent you.


]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.fsf.org/associate/support_freedom/join_fsf?referrer=7097">Free Software Foundation</a> is having a year end fund drive.  Go join today.  <strong>Can you think of a better way to spend $10 per month?</strong>  Tell them member 7097 sent you.</p>
<div align="center">
<a href="http://www.fsf.org/associate/support_freedom/join_fsf?referrer=7097"><img src="http://static.fsf.org/fsforg/img/thin-image.png" alt="Support freedom" title="Help protect your freedom, join the Free Software Foundation" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2008/12/05/join-the-fsf-today/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby&#8217;s not Ready</title>
		<link>http://michael.thegrebs.com/2008/11/11/rubys-not-ready/</link>
		<comments>http://michael.thegrebs.com/2008/11/11/rubys-not-ready/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 03:28:20 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=138</guid>
		<description><![CDATA[Was looking for a specific essay about some of the issues with Ruby to point my boss to and stumbled across this instead, still haven&#8217;t quite finished reading it yet but good stuff.  Increases my desire to further my Python skillz.
Ruby&#8217;s not Ready at glyphobet
]]></description>
			<content:encoded><![CDATA[<p>Was looking for a specific essay about some of the issues with Ruby to point my boss to and stumbled across this instead, still haven&#8217;t quite finished reading it yet but good stuff.  Increases my desire to further my Python skillz.</p>
<p><a href="http://glyphobet.net/blog/essay/228">Ruby&#8217;s not Ready at glyphobet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2008/11/11/rubys-not-ready/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quick &amp; Easy Temperature Logging with the Arduino</title>
		<link>http://michael.thegrebs.com/2008/11/02/arduino-temperature-logging/</link>
		<comments>http://michael.thegrebs.com/2008/11/02/arduino-temperature-logging/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 03:29:50 +0000</pubDate>
		<dc:creator>mikegrb</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[arduino]]></category>

		<category><![CDATA[electronics]]></category>

		<category><![CDATA[geek]]></category>

		<category><![CDATA[thermistor]]></category>

		<guid isPermaLink="false">http://michael.thegrebs.com/?p=137</guid>
		<description><![CDATA[Basic Voltage Divider with a Thermistor:

Typical voltage divider, matched would have made better sense but the thermistor was a random one salvaged from consumer electronics so I didn&#8217;t know the value in advance.
Would work just fine like this with TP1 connected to an Arduino analog input and Vcc and GND connected.  Energy savings for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Basic Voltage Divider with a Thermistor:</strong></p>
<p><img src='http://thegrebs.com/~michael/therm-vd.png' alt='Thermistor Voltage Divider Schematic' class='alignleft' /></p>
<p>Typical voltage divider, matched would have made better sense but the thermistor was a random one salvaged from consumer electronics so I didn&#8217;t know the value in advance.</p>
<p>Would work just fine like this with TP1 connected to an Arduino analog input and Vcc and GND connected.  Energy savings for the win though, connected the top of the divider (Vcc) to a digital pin on the Arduino.  Set the pin HIGH when you want to take a reading, LOW the rest of the time.  Now the divider is not consuming power when a reading isn&#8217;t being taken.</p>
<p><strong>Arduino Code</strong></p>
<pre class="textmate-source black_pearl"><span class="source source_c"><span class="storage storage_type storage_type_c">int</span> pinDivEn   = <span class="constant constant_numeric constant_numeric_c">4</span>;
<span class="storage storage_type storage_type_c">int</span> pinDivRead = <span class="constant constant_numeric constant_numeric_c">1</span>;
<span class="storage storage_type storage_type_c">int</span> pinLED     = <span class="constant constant_numeric constant_numeric_c">13</span>;

<span class="storage storage_type storage_type_c">void</span><span class="meta meta_function meta_function_c"> <span class="entity entity_name entity_name_function entity_name_function_c">setup</span><span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">()</span></span> {
    Serial.begin(<span class="constant constant_numeric constant_numeric_c">9600</span>);
    pinMode(pinLED, OUTPUT);
    pinMode(pinDivEn, OUTPUT);
    Serial.println(<span class="string string_quoted string_quoted_double string_quoted_double_c"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_c">"</span>READY<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_c">"</span></span>);
}

<span class="storage storage_type storage_type_c">void</span><span class="meta meta_function meta_function_c"> <span class="entity entity_name entity_name_function entity_name_function_c">loop</span><span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">()</span></span> {
    <span class="keyword keyword_control keyword_control_c">if</span><span class="meta meta_function meta_function_c"> <span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">(</span>Serial.available(<span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">)</span></span> &gt; <span class="constant constant_numeric constant_numeric_c">0</span>) {
        digitalWrite(pinDivEn, HIGH);
        digitalWrite(pinLED, HIGH);
        delay(<span class="constant constant_numeric constant_numeric_c">100</span>);
        <span class="keyword keyword_control keyword_control_c">while</span><span class="meta meta_function meta_function_c"> <span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">(</span>Serial.available(<span class="punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_c">)</span></span> &gt; <span class="constant constant_numeric constant_numeric_c">0</span>)
            <span class="storage storage_type storage_type_c">int</span> serByte = Serial.read();
        Serial.println(analogRead(pinDivRead));
        digitalWrite(pinDivEn, LOW);
        digitalWrite(pinLED, LOW);
    }
}</span></pre>
<p>pinDivEn is the divider enable pin (Vcc), pinDivRead is the analog input connected to TP1 in the divider, pinLED is is a digital pin with an LED that is lit while a reading is taken.</p>
<p>Once the Arduino boots it sends READY on the serial port at 9600 bps.  It then waits for any data to be available on the serial port, when bytes are available, the voltage divider is enabled, the LED is lit, the bytes on the serial port are consumed, the value of TP1 is read and then written to the serial port, the divider enable pin is brought back low and the led is extinguished.</p>
<p><strong>Perl Code</strong></p>
<pre class="textmate-source black_pearl"><span class="source source_perl"><span class="meta meta_comment meta_comment_full-line meta_comment_full-line_perl"><span class="comment comment_line comment_line_number-sign comment_line_number-sign_perl"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_perl">#</span>!/usr/bin/perl
</span></span>
<span class="keyword keyword_control keyword_control_perl">use</span> strict;
<span class="keyword keyword_control keyword_control_perl">use</span> warnings;

<span class="keyword keyword_control keyword_control_perl">use</span> IO::Handle;
<span class="keyword keyword_control keyword_control_perl">use</span> Device::SerialPort;

<span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>dev</span> = <span class="support support_function support_function_perl">tie</span> (*FH, <span class="string string_quoted string_quoted_single string_quoted_single_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">'</span>Device::SerialPort<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">'</span></span>, <span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span>/dev/tty.usbserial-A4001JwW<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>)
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span>|| <span class="keyword keyword_control keyword_control_perl">die</span> <span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span>Can't tie: <span class="variable variable_other variable_other_predefined variable_other_predefined_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>!</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>;

<span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>dev</span><span class="keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_perl">-&gt;</span>baudrate(9600);
<span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>dev</span><span class="keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_perl">-&gt;</span>databits(8);
<span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>dev</span><span class="keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_perl">-&gt;</span>parity(<span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span>none<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>);
<span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>dev</span><span class="keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_perl">-&gt;</span>stopbits(1);

<span class="support support_function support_function_perl">open</span> (<span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>log</span>, <span class="string string_quoted string_quoted_single string_quoted_single_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">'</span>&gt;&gt;<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">'</span>ohms.log<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">'</span></span>) || <span class="keyword keyword_control keyword_control_perl">die</span> <span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span>can't open: <span class="variable variable_other variable_other_predefined variable_other_predefined_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>!</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>;
<span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>log</span><span class="keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_perl">-&gt;</span>autoflush(1);

<span class="meta meta_comment meta_comment_full-line meta_comment_full-line_perl"><span class="comment comment_line comment_line_number-sign comment_line_number-sign_perl"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_perl">#</span> wait for arduino to boot
</span></span><span class="keyword keyword_control keyword_control_perl">while</span> (1) {
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>val</span> = &lt;FH&gt;;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="keyword keyword_control keyword_control_perl">last</span> <span class="keyword keyword_control keyword_control_perl">if</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>val</span>;
}

<span class="support support_function support_function_perl">print</span> FH <span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span>1<span class="constant constant_character constant_character_escape constant_character_escape_perl">\n</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>;
<span class="keyword keyword_control keyword_control_perl">while</span> (1) {
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>val</span> = &lt;FH&gt;;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="keyword keyword_control keyword_control_perl">next</span> <span class="keyword keyword_control keyword_control_perl">unless</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>val</span>;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="support support_function support_function_perl">chomp</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>val</span>;

<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>vR2</span> = <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>val</span> / 1023 * 5;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>vR1</span> = 5 - <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>vR2</span>;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>i</span>   = <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>vR1</span> / 1_000 * 1_000;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="storage storage_modifier storage_modifier_perl">my</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>R2</span>  = <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>vR2</span> / <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>i</span>;

<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="support support_function support_function_perl">print</span> <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>log</span> <span class="support support_function support_function_perl">time</span> . <span class="string string_quoted string_quoted_single string_quoted_single_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">'</span> <span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">'</span></span> . <span class="variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_perl"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_perl">$</span>R2</span> . <span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span><span class="constant constant_character constant_character_escape constant_character_escape_perl">\n</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="comment comment_line comment_line_number-sign comment_line_number-sign_perl"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_perl">#</span> printf("V_R2=%.2fV, i=%.2fmA  R2=%.2fK&amp;#8486;\n", $vR2, $i, $R2);
</span>
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="support support_function support_function_perl">sleep</span> 10;
<span class="meta meta_leading-tabs"><span class="meta meta_odd-tab">    </span></span><span class="support support_function support_function_perl">print</span> FH <span class="string string_quoted string_quoted_double string_quoted_double_perl"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_perl">"</span>1<span class="constant constant_character constant_character_escape constant_character_escape_perl">\n</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_perl">"</span></span>;
}</span></pre>
<p>Opens the serial port, waits for something (the Arduino sending &#8216;READY&#8217; but it pays no attention to what) on the serial port then every 10 seconds sends a 1\n to the Arduino prompting it to send a value.  The result of analogRead is an integer from 0 - 1023 so this is converted to a voltage.  The current through the divider is found allowing the resistance of the thermistor to be solved for.  The resistance and time are written to a space separated log file.  If the thermistor wasn&#8217;t unknown it would make more sense to solve for the actual temp using the Steinhart–Hart equation or similar and logging that rather than the resistance.</p>
<p><strong>Sample log file entries</strong><br />
<code>1224349429 10.1195652173913<br />
1224349439 10.3666666666667<br />
1224349449 10.3666666666667<br />
1224349459 10.3666666666667<br />
1224349469 10.4943820224719<br />
1224349479 10.3666666666667<br />
1224349489 10.2417582417582</code></p>
<p>A few lines in a text file gets us a graph from the log file by way of GnuPlot:</p>
<pre class="textmate-source black_pearl"><span class="source source_apache-config">set term png transparent nocrop enhanced font <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>./arial.ttf<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> 9 size 800, 600
set xdata time
set timefmt <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>%s<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>
set format x <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>%m/%d %H:%M<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>
set xtics  rotate by -45
set title <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>Thermistor Value<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>
set xlabel <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>Date/Time<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>
set ylabel <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>Resistance (kOhms)<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>
set grid
set output <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>ohms.png<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>
plot \
    <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>ohms.log<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> using 1:2 title <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>10 sec interval readings<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> linecolor 2, \
    <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>ohms.log<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> using 1:2 title <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>Bezier fit curve<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> smooth bezier linecolor 4 lw 2, \
    10 title <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>77 F<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> lw 2 linecolor 1
</span></pre>
<p><img src='http://thegrebs.com/~michael/ohms.png' alt='GnuPlot Graph of Time vs Resistance' class='alignnone' /></p>
]]></content:encoded>
			<wfw:commentRss>http://michael.thegrebs.com/2008/11/02/arduino-temperature-logging/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
