Your code uses 1024 instead of 1023 for converting the raw ADC value to a resistance of the thermistor. I'm pretty sure that the number of quantization steps is 1023 (2^N - 1) for the ADC. The Arduino reference for the AnalogRead() function shows that the resolution is = 5V / 1024, but I don't think that's correct.
It's a minor difference in accuracy, but I think we should be consistant. I'm working up documentation for our Vernier Shield. I hope to have some good examples ready this week.
Your code uses 1024 instead of 1023 for converting the raw ADC value to a resistance of the thermistor. I'm pretty sure that the number of quantization steps is 1023 (2^N - 1) for the ADC. The Arduino reference for the AnalogRead() function shows that the resolution is = 5V / 1024, but I don't think that's correct.
http://en.wikipedia.org/wiki/Analog-to-digital_converter#Resolution
It's a minor difference in accuracy, but I think we should be consistant. I'm working up documentation for our Vernier Shield. I hope to have some good examples ready this week.