Yes for the thermistor on the Anderson page as I wrote in my last post..
in case you missed it.. http://www.phanderson.com/picaxe/lin_thermistor.html.
copied here...
// LIN_THERM - Arduino
//
// Continually measures temperature using linearized thermistor.
//
// copyright, Peter H Anderson, Oct 1, '10
unsigned int ad_meas(byte channel, byte num);
void display_temperature(int T);
void setup()
{
Serial.begin(9600);
delay(2000);
}
void loop()
{
unsigned long Rtherm;
unsigned int adval, R_therm, R_therm_10;
int T_10;
Serial.println("!!!!!!!!!!!!!!!!!!!!!!!!!");
while(1)
{
adval = ad_meas(0, 32);
R_therm = ((unsigned long) 2200) * adval / (1024 - adval);
if (R_therm > 3700)
{
T_10 = 9999; // out of range
}
else if (R_therm > 1830)
{
T_10 = (R_therm * 10 - 37970) / -39;
}
else if (R_therm > 827)
{
T_10 = (R_therm * 10 - 33600) / -31;
}
else if (R_therm > 570)
{
T_10 = (R_therm * 10 - 22780) / -17;
}
else
{
T_10 = 9999; // out of range
}
display_temperature(T_10);
delay(5000);
}
}
unsigned int ad_meas(byte channel, byte num)
{
unsigned int sum = 0, adval;
byte n;
for (n=0; n<num; n++)
{
adval = analogRead(channel);
sum = sum + adval;
}
return(sum / num);
}
void display_temperature(int T)
{
int whole, fract;
whole = T / 10; fract = T % 10;
Serial.print(whole, DEC);
Serial.print(".");
Serial.println(fract, DEC);
}
Simple enough?