I got a large box of goodies from adafruit last week, including a full ARDX kit, LCD screen, and various other odds and ends. For my first off tutorial project, I decided to build myself a simple thermostat.
I hooked up the TMP36 according to the ARDX tutorial here: http://www.oomlout.com/a/products/ardx/circ-10
And then hooked up my LCD according to the adafruit tutorial here: http://www.ladyada.net/learn/lcd/charlcd.html
I mashed up the sample code from those pages and ended up with a fairly simple sketch: http://pastie.org/private/h3eoxvac1wsdwvnlwdnpyg
The problem is I am getting some pretty erratic readings, usually ranging +/- 2 degrees Fahrenheit, sometimes spiking >10 degrees above/below the average temp. I know these aren't super accurate sensors, but I thought they were accurate to ~.1 degrees, and that is not at all what I am seeing.
Is there some method for getting a more accurate reading? Could my LCD be causing some sort of interference? my wires are pretty closely grouped together on my breadboard, and right next to the TMP36 sensor, could they be causing some interference?

