I really hate to revisit topics already covered but my knowledge is pretty basic with regards to basic electronics and AVR's. I have read the ADC section on the AVR data sheet about 10 times and the data sheets on the LM335 quite a few times too and I am drowning in the information.
I am using an Atmega16 with an LCD screen and wish to read temperature using the LM335. I want to display the temp in °C to 1 decimal place. So far I have made a voltage divider with the LM335. The resistor I am using with the LM335 is about 37K (I just guessed a value). AREF is external 5V. I have the code working to read the ADC to 10bit accuracy and displaying it on the LCD screen. I am also reading from an LDR too and so I know the code works OK. I just can't work out how to get the accuracy and range from the LM335 that I need.
The output from the LM335 is supposedly 10mv/°K, so ideally I would like to read 1mv per ADC step. That way each step would be 0.1°. Is that right? I have no idea how to get that to happen. At the moment, if I warm up the LM335 by holding it with my fingers (I am guessing it would warm up almost 10°), the reading from the ADC drops by about 4.
If someone can explain to me in "simple" terms how I proceed from here I would really appreciate it.