Hi,
For my project, i want to read 2 temperatures, 1 depends on the weather (so this one can be positive or negative), which i measure with a LM335, and the other depends on a fluid (beer that has to be brewed, this one is only positive but can be higher than 100 degrees Celcius).
For this one i choosed for the LM35.
I used existing sketches for the hardware and software, but i had troubles with it.
Measuring with both sensors gave a good result from the LM335, but not from the LM35, which gave strange values.
Measuring and processing with one sensor gave good results for both!
I solved this with a resistor from 1K between the output from the LM35 and the ground.
My idea about this is that the analog input from the LM35 is internal disconnected while reading the other input, which means that the output from the LM35 floats and the value could be wrong once read en processed again.
The output from the LM335 is connected with a resistor to 5V according to the hardware example that i found on the net.
Is there anyone who had the same problem and maybe has a better solution?