Hi,
I am having some trouble getting stable readings from my Arduino Due. I have tried reading in both 10 bit and 12 bit resolution, but the values jump around significantly. I have tried the same circuit on an Arduino Leonoardo and it doesn't change more than 1-2 counts.
I have an voltage divider taking the 3.3v line and feeding it through an opamp as a voltage follower, which produces 1.1v which is then fed to the AREF pin. I have moved the 0-ohm resistor on the Due to use the external reference. I have tested the 1.1v reference voltage and there is only about 4mv of noise on it, but the readings are out by way more than that.
At 0v, it reads 0 fine, and at 1.1v it reads 1023 or 4095 fine (depending on the read resolution)
If i divide the voltage in half again (so 0.55v), i get approximately half the count, but it is not stable and jumps around a lot, producing unusable results.
Is there just something wrong with my Due? Its all fine on the Leonardo.
Any help is much appreciated.
Thanks