Re: Reading formula
Hi,
You use the formula as follows:
Sensor output in Volts(Vs) = ( N * Vref ÷ Nf) ÷ A
Where N = Current ADC Count
Vref = Vlaue of the reference Voltage in Volts ( 2V, 2.5V , 5V etc.)
Nf = ADC Full scale count (1023 for a 10 bit ADC, 255 for an 8Bit ADC etc.)
A = Amplifier Gain if used, else A = 1
Sensor Output as variable X = Vs÷ K, where K is the Conversion factor V/U(X),
U(X) is the unit of X
For LM35, K = 10 mV/°C = 0.01V/°C
So the current temperature measured Tc = Vs÷0.01 °C
= [( N * Vref ÷ Nf) ÷ A ]÷0.01 °C
Regards,
Laktronics