adc reading value oscillation
Posted: Mon May 18, 2009 9:42 am
Hi,
I\'m using the function EE_trimmer_get_volt() to read an input signal, using reference voltages of 3 and 0. I found one problem.
The read value is oscillating, for example, for a input signal of 2 V the value read is : 2, 2, 3, 2, 2, 3, 3, 2, 2, 2 (one sample per second, during 10 seconds). what might be the problem?
and can the sensor read, for example, an integer value like 2.2? instead of rounding the value to 2?
thanks,
Bruno Santos
I\'m using the function EE_trimmer_get_volt() to read an input signal, using reference voltages of 3 and 0. I found one problem.
The read value is oscillating, for example, for a input signal of 2 V the value read is : 2, 2, 3, 2, 2, 3, 3, 2, 2, 2 (one sample per second, during 10 seconds). what might be the problem?
and can the sensor read, for example, an integer value like 2.2? instead of rounding the value to 2?
thanks,
Bruno Santos