I’ve been playing with Arduino boards in my limited spare time over the past few months. It’s a fun way to spend quality hands-on geek time that is clearly distinct (at least to me) from my day job. Plus, I’m able to start actually instantiating some of the ubiquitious computing / distributed sensor ideas that have been floating around in my head.
I’ve been working on a simple wireless light, temp, and motion sensor. Light was a trivial CDS photocell connected to the analog port of the arduino. My first attempt at temp is using the Dallas Semiconductor DS-18B20 digital one-wire sensor, which is pretty slick for $4.25.
There was some good sample code on the main arduino site, but I spent a small bit of time to flesh it out more completely, adding the ability to configure sensor resolution and extracting the temp value from the returned data. Code is here, if this is interesting or useful to you.