Quote Originally Posted by mackrackit View Post
That is the way the LM34 is when running on 5 volts. Figure the steps in 8 bit and all that.
If you want a 1 degree resolution set up the VREF and have the reference voltage at 3.3 volts.
Then in place of multiplying by 2
you would use
ADC_VAR * 4 / 3
At least that works for me
Glad you got it going.
Thanks for the tip. I'll have to try to find a 3.3v reference tomorrow. I have some 1.25's but that's a little shy.
The LM34 is doing what it's supposed to. It is putting out .700v at 70 degrees but the pic reads it as .350v.
Thanks..