<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Cheap Temperature Logging</title>
	<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging/</link>
	<description>Comments on Ask MetaFilter post Cheap Temperature Logging</description>
	<pubDate>Fri, 29 Jun 2007 07:09:32 -0800</pubDate>
	<lastBuildDate>Fri, 29 Jun 2007 07:09:32 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Cheap Temperature Logging</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging</link>	
		<description>How can I do cheap temperature logging?  Is Arduino a good choice? &lt;br /&gt;&lt;br /&gt; I want to log temperatures unattended.  It&apos;s in my yard on a periodic basis, so it doesn&apos;t need to be waterproof or anything, but I don&apos;t have a laptop (and the location isn&apos;t close to a window in the computer room) so I can&apos;t log right to the computer.&lt;br&gt;
&lt;br&gt;
Temperature loggers seem to be pretty expensive and are single-purpose.  Then I thought of the Arduino.  For just $35 I can get a general purpose, reusable microcontroller, stick a thermistor on there and I&apos;m done.  &lt;br&gt;
&lt;br&gt;
Except the idea of the Arduino is that it just passes the data back to the computer, it doesn&apos;t store it there.  But there seems to be some storage space (in the &quot;EEPROM&quot;) for about 512 bytes that I guess stays there even when it turns off.  I wouldn&apos;t expect the temperatures to get above 255C (or the thermistor to read them if it does), so I think I can just stash one reading per byte once every N minutes for 512*N minutes of logging.&lt;br&gt;
&lt;br&gt;
I&apos;m more or less a n00b at electronics, but I do have some basic experience, tools and parts.  The Arduino tutorials don&apos;t address this exact application, but there are several similar ones so I don&apos;t think it would be too technically hard.&lt;br&gt;
&lt;br&gt;
Is there a cheaper solution out there?  (I&apos;m giving the general purposeness and reusability of the Arduino about a 15-20% bonus, so a specialized device would probably have to cost less than $28 or so to be worth switching to, assuming they both work about equally well.)</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.65885</guid>
		<pubDate>Fri, 29 Jun 2007 05:55:41 -0800</pubDate>
		<dc:creator>DU</dc:creator>
		
			<category>temperature</category>
		
			<category>logging</category>
		
			<category>electronics</category>
		
	</item> <item>
		<title>By: lowlife</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989887</link>	
		<description>I believe you can attach external storage to the arduino too using i2c or some other protocol. This &lt;a href=&quot;http://www.arduino.cc/playground/Main/ComponentLib&quot;&gt;page in the Arduino playground&lt;/a&gt; may give you some ideas.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989887</guid>
		<pubDate>Fri, 29 Jun 2007 07:09:32 -0800</pubDate>
		<dc:creator>lowlife</dc:creator>
	</item><item>
		<title>By: Jeff Howard</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989888</link>	
		<description>The Arduino does have onboard storage, but it&apos;s for the program you upload to the board to run the sensor configuration. I haven&apos;t seen anything that lets you store output on the board.&lt;br&gt;
&lt;br&gt;
You&apos;d also need an external power source if you&apos;re not tethering the Arduino to your computer via the USB cable. That adds the cost of batteries and the wiring attachments. Long term that would add up.&lt;br&gt;
&lt;br&gt;
The Bluetooth Arduino can communicate with your computer over a distance of about 100 feet I think, but it&apos;s quite a bit more expensive.&lt;br&gt;
&lt;br&gt;
. . .&lt;br&gt;
&lt;br&gt;
Here&apos;s a cheap temperature logging solution if you already have a camera. Set it on time-lapse mode and buy a large dial thermometer and an analog clock to photograph together on an hourly/daily basis. Probably less than $28.00.&lt;br&gt;
&lt;br&gt;
Also, RSS feeds from services like Yahoo or the Weather Channel are free and have decent granularity. You could plug in your zipcode and log the temperature they report.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989888</guid>
		<pubDate>Fri, 29 Jun 2007 07:11:23 -0800</pubDate>
		<dc:creator>Jeff Howard</dc:creator>
	</item><item>
		<title>By: DU</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989896</link>	
		<description>I got the 512 bytes from &lt;a href=&quot;http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1182359052&quot;&gt;this thread&lt;/a&gt;.  But maybe the EEPROM is where the program is stored?&lt;br&gt;
&lt;br&gt;
External power shouldn&apos;t be a problem, should it?  Just plug a 9v battery into a battery clip and plug it in.  Or not?&lt;br&gt;
&lt;br&gt;
The RSS feed won&apos;t work, since I&apos;m not measuring outdoor temperature.&lt;br&gt;
&lt;br&gt;
The camera solution is brill--I already built a Mindstorms Lego-based time-lapse camera, so I could probably do this without any trouble whatsoever.  (I actually considered a direct Lego solution to temperature problem, but the temp sensor costs as much as the Arduino.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989896</guid>
		<pubDate>Fri, 29 Jun 2007 07:21:23 -0800</pubDate>
		<dc:creator>DU</dc:creator>
	</item><item>
		<title>By: exogenous</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989906</link>	
		<description>I&apos;ve used a relatively cheap Protek 608 multimeter with thermocouple attachment.  I forget how much internal storage it had (it wasn&apos;t a lot) but maybe newer models have more.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989906</guid>
		<pubDate>Fri, 29 Jun 2007 07:28:48 -0800</pubDate>
		<dc:creator>exogenous</dc:creator>
	</item><item>
		<title>By: tmcw</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989970</link>	
		<description>Definitely ask on the Arduino forums, I&apos;d bet you get a reply in less than a day. And, yeah, battery power is very simple with the Arduino, you just need to check that it doesn&apos;t run out.&lt;br&gt;
&lt;br&gt;
@Jeff Howard: You would still need to write an image processing application to get useful data.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989970</guid>
		<pubDate>Fri, 29 Jun 2007 08:24:32 -0800</pubDate>
		<dc:creator>tmcw</dc:creator>
	</item><item>
		<title>By: DU</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989980</link>	
		<description>I have to write the numbers down on paper anyway, so whether they start on a computer or in an image doesn&apos;t matter.  But in the general case (which could apply later), good point about the image processing.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989980</guid>
		<pubDate>Fri, 29 Jun 2007 08:30:48 -0800</pubDate>
		<dc:creator>DU</dc:creator>
	</item><item>
		<title>By: suedehead</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989996</link>	
		<description>I&apos;ve been trying to do this lately: interfacing GPS data and temperature data with Arduino, and storing it on a memory card. Arduino uses AVR processors, and I believe SD/MMC memory cards are the easiest kind of card to store on, as they can be interfaced  by &lt;a href=&quot;http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus&quot;&gt;SPI&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
There are libraries and examples out there, although I haven&apos;t gotten around to getting it work yet. Here are some links that I&apos;ve been using myself:&lt;br&gt;
&lt;a href=&quot;http://elm-chan.org/docs/mmc/mmc_e.html&quot;&gt;How to use MMC/SD&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://hubbard.engr.scu.edu/avr/avrlib/&quot;&gt;AVRLIB -- library for AVR microprocessors&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.ulrichradig.de/home/index.php/avr/mmc-sd&quot;&gt;AVR - mmc/sd schematics and code (german)&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.retroleum.co.uk/mmc_cards.html&quot;&gt;SD/MMC read-write protocol&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.captain.at/electronic-atmega-mmc.php&quot;&gt;Code for the ATmega16, should be ported to Arduino&apos;s ATmega168&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.robs-projects.com/filelib.html&quot;&gt;FAT32 library for AVR&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989996</guid>
		<pubDate>Fri, 29 Jun 2007 08:45:51 -0800</pubDate>
		<dc:creator>suedehead</dc:creator>
	</item><item>
		<title>By: JackFlash</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#989997</link>	
		<description>The Arduino board uses an Atmel ATmega16 microcontroller.  The microcontroller has 16KB of self-programmable Flash to hold your program.  Separately it has up to 512 bytes of EEPROM that you can use to capture your data.  In addition it has up to 1K of SRAM that you use for the program stack but can also be used for storing captured data as long is you keep power applied.  If you need more memory, you can easily connect a $2 Atmel SPI serial EEPROM chip to give you another 256KB or more.&lt;br&gt;
&lt;br&gt;
The on-chip analog to digital converter is 10 bits, which generally would require two bytes of storage per sample, but you may find that you can just throw away the two least significant bits if you don&apos;t need the accuracy.&lt;br&gt;
&lt;br&gt;
To increase battery life you will want to keep the microcontroller in power down mode and use the on-chip timer to wake up periodically only when you need to take a sample.  You can also reduce power consumption by lowering the clock frequency, but there is a trade off in some cases in which it is better to run at a fast clock rate so that you can take your sample more quickly and return to power down mode.  With clever programming, it might be possible to run for a year or more on one battery.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-989997</guid>
		<pubDate>Fri, 29 Jun 2007 08:46:03 -0800</pubDate>
		<dc:creator>JackFlash</dc:creator>
	</item><item>
		<title>By: DU</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#990006</link>	
		<description>Awesome.  I just need 8 hours or so at a time, so a year should be plenty.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-990006</guid>
		<pubDate>Fri, 29 Jun 2007 08:53:52 -0800</pubDate>
		<dc:creator>DU</dc:creator>
	</item><item>
		<title>By: zippy</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#990201</link>	
		<description>Perhaps you want an Atmel Butterfly. It&apos;s a business-card size board with, if I remember correctly, a thermistor plus meory, a lcd display, a speaker, ...&lt;br&gt;
&lt;br&gt;
It has pads for external connectors, and it supportssome standard serial protocol, but you&apos;d have to solder a connector on.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-990201</guid>
		<pubDate>Fri, 29 Jun 2007 12:07:38 -0800</pubDate>
		<dc:creator>zippy</dc:creator>
	</item><item>
		<title>By: DU</title>
		<link>http://ask.metafilter.com/65885/Cheap-Temperature-Logging#999951</link>	
		<description>Followup: I have the Arduino and it is &lt;b&gt;awesome&lt;/b&gt;.  Even if the temperature thing doesn&apos;t work out, it&apos;s well worth the $35 to play with.&lt;br&gt;
&lt;br&gt;
However, the temperature thing does seem to be working out.  I salvaged a thermistor from a broken electronic thermometer.  Then I read up on thermistors a bit to get the characteristic equation and did some calibration to back-calculate the parameters.  Over the range of ~0-100 C (and possibly wider, but I don&apos;t have an easy way, or need, to test that) I&apos;m within a degree of my kitchen thermometer.&lt;br&gt;
&lt;br&gt;
I just need to make it portable (i.e. battery power) and I&apos;m good to go.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.65885-999951</guid>
		<pubDate>Tue, 10 Jul 2007 11:59:41 -0800</pubDate>
		<dc:creator>DU</dc:creator>
	</item>
	</channel>
</rss>
