I have an LM335 temperature sensor and am trying to figure out why it gives values that bounce around 15 degrees or more.
It hooked up to my Analog 0. I am using the analogRead(A0);
I am not using the adjust pin on the sensor, negative pin is connected to arduino gnd.
Positive pin connected through 2.2k to arduino 5v.
A0 connected to positive pin.
My readings come back somewhat accurate - sometimes - for example, maybe 4-5 readings - then suddenly it might drop (or rise) 5, 10 or even 15 degrees!
Well, the raw "K" reading from the sensor is a difference of 2, 3, 4 +.
Any thoughts as to why the sensor is so wacky? According to the LM335 spec, it looks like the adj pin is ok not connected. Is 2.2k a valid resistance?