Any experiences about analog sensor LM35DZ? I used this example: main.c
The LM35 data sheet says it will operate from +4V to 30 V supply. I'm use supply only Vcc pretty low exactly cca 2.6 V. It is necessary to use external power supply for a sensor?
I used formula: Voltage at pin in mV = (reading from ADC) * (3300/1024) This formula converts the number 0-1023 from the ADC into 0-3300mV (= 3.3V) Then, to convert mV into temperature, use this formula: Centigrade temperature = [(analog voltage in mV) - 500] / 10
Connection: LM35DZ, R-C: 75G + 1 uF, to pin: AIN2
The sensor is slightly heated and the resulting value is 248 Celsius. Any solution? Thanks