Hello, i'm having an issue with ADC readings that are way off in the milivolt range, i'll post the measured input of the ADC with a DMM in mV range and the resulting code and discrepancies:
- 95.35mV-16(16 equals to 78.125mV)
As a baseline i measured the 5V rail, results in 1023, 0V results in 0
The results are horrid!, absolutely off!, we're talking about a 50% error below 50mV, ~30% error at 100mV~, 10% error at 240mV~ and that lowers to 3% above ~480mV.
¿Is this correct?.
i'm running a sketch that needs to read these super low values but there's no way i can convert them back to voltage when they're so wrong.
quick edit1: i did a simple circuit with a pot connected to the ADC input to validate my results: Vin is 133.3mV, code is 25=122mV
Also tried other analog inputs, same result