I think there's a conversion formula in one of the Getting Started guides. The pin voltage should nominally be the power-supply voltage and I think the conversion values are refed to that voltage, rather than a the fixed (internal? have to look at the schematic...) value. However I believe the sensor is not entirely linear so you should find the formula... MS
fiasco wrote:
Hi all, I am working on the temperature sensor on Mica sensorboard with Mica2. I can get the ADC sampling value from Mica2, but I am not sure how to convert the ADC value to real temperature. Since the temperature sensor is powered by INT2-pin, the voltage of INT2-pin is needed to calculate the value of thermally sensitive resistance. My question is, what is the output voltage of INT2-pin and how can I get it from Mica2 ? I have read some sample codes of Xbow. They use the voltage of battery as reference voltage to calculate the value of thermally sensitive resistance. I doubt whether these two voltages are same or not. Any suggestion is appreciated. Regards, fiascoo _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
