A thermistor is just about one of the easiest devices to use with the BasicStamp. Take a look at the RCTime examples in the BasicStamp Syntax and Reference Manual => page 363. Just use the thermistor instead of a potentiometer - 10K ohms is a good size.
After you get your circuit built, you will have to calibrate DEBUG readings against a thermometer in order to get temperature conversions into a formula.
It's really easy to get a number related to temperature, but what is really difficult is converting that to useful measurements. (Celsius, Fahrenheit) The formula to convert the number usually requires log or ln or crazy small numbers with very high powers after them.
It's really easy to get a number related to temperature, but what is really difficult is converting that to useful measurements. (Celsius, Fahrenheit) The formula to convert the number usually requires log or ln or crazy small numbers with very high powers after them.
Curve fitting is quite possible once several data points are calibrated. Alternatively, there's a nice technique shown in the code at
Comments
After you get your circuit built, you will have to calibrate DEBUG readings against a thermometer in order to get temperature conversions into a formula.
Would this help [page 33] ?:
http://www.parallax.com/Portals/0/Downloads/appnt/stamps/bs1Appnotes.pdf
There is also a Parallax resource for converting BS1 code to BS2.
cheers, David
Curve fitting is quite possible once several data points are calibrated. Alternatively, there's a nice technique shown in the code at
http://www.parallax.com/dl/docs/prod/acc/SharpGP2D12Snrs.pdf for interpolating between data points. It's likely a similar type curve between the Sharp IR sensor there and the thermistor discussed here.