Topic about protecting DS18B20 is also mine
My bad didnt look at the topic starter.
I looked at the LM335 and looks prety simple. it has an output 10mv/K.
so 0V is 0K or -273 degrees
2.73V is 273K or 0 degrees
Now the sensor should be calibrated and used as shown in datasheet. Its beeing calibrated at 25 degrees and should have once calibrated 2.98V
As far it goes for analog reading u have to multiply analog value with 5 and then divide by 1024
At this point u get voltage value on analog pin.
Now u multiply everything by 100 or divide by 0.01 (10mV) to get value in Kelvin, if u want value in degrees Celzius substract by 273
Personaly i would use the DS cause it uses digital communication and is therefore less subject to outside interferance.
And as someone mentioned u can use multiple of them on just 1 pin.
The only problem with DS as mentioned before is program size as ur using atmega8.