[HELP] ADC not stable.
Posted: Tue Jan 26, 2021 11:15 am
I have a humidity analog sensor that I am trying to read. The sensor outputs a 4-20 mA signal. I converted it into a 0 - 3.3V potential with a 165 Ohm resistor. When I measure the voltage across the resistors with a multimeter, I get the correct values. I get a voltage of around 2.9V which corresponds to about 87 % humidity which seems to be correct. However the values of ADC are haywire. I get values between 2500 to 4095, which correspond to between 61 % and 100 % humidity. The sensor is quite accurate so its not a problem with the sensor. I am using ADC on pin 25.
My circuit is shown as an attachment..
I have also attached the values of ADC measured/
My circuit is shown as an attachment..
I have also attached the values of ADC measured/