I have attempted various things and searched fairly hard on the net. I took a voltmeter and measured 5V coming from the board into pin1, also 540mV going out of pin3 and into A0. It is roughly 25C in my house and I got these sensors from fry's electronics.
May I ask for help in eliminating the equation as the cause please?
The sensors came in a pack of 6 or so and I have tried all of them.
I thought about putting a large resistor between the output pin and ground as suggested on the TI datasheet but that same datasheet stated that it would still be close without it and that the "full range" can be read with the resistor configuration.
I called it A0Pin but how does the arduino know where to pull the info from on the board? I've tried
A0Pin = A0 and it returns 14.00
The sensor must output 250mV@25C.
Measure that without connecting sensor output to the Arduino.
Maybe best to post a picture of your setup before going any further.
Leo..
I was thinking maybe the sensor is doubling something, half of 540 is 270. For example, perhaps instead of 10mV/C it is 20mV/C for some reason. This would give Vout * 50 = T.