Can I do anything to increase the precission of the ADC?
What is used as voltage reference?
I want to measure weight and do use an analog amplifier to amplify the resistor bridge
I am not sure how stable the internal reference is.
Reading out VREF did not deliver a stable value (it was only just most of the time stable)
increase precission?
Re: increase precission?
It's a 12-bit ADC (max value 4095). The voltage reference is the A3V3 pin (pin X23 on bottom row), and that's connected to 3V3 by a small inductor to reduce noise. The ground reference is AGND (pin X24) and that has ground shielding around pins X19, X20, X21, X22. So these are the best pins to use for quite ADC input.
Schematics can be found at: http://docs.micropython.org/en/latest/hardware/
There is still a small bit of noise on the ADC inputs. You could try lowering the CPU frequency to eliminate some of it. And/or average a few samples.
There might be some improvements we can make to the code, for example to allow the sample time of the ADC to be increased (it's currently 15 cycles).
Schematics can be found at: http://docs.micropython.org/en/latest/hardware/
There is still a small bit of noise on the ADC inputs. You could try lowering the CPU frequency to eliminate some of it. And/or average a few samples.
There might be some improvements we can make to the code, for example to allow the sample time of the ADC to be increased (it's currently 15 cycles).
Re: increase precission?
my suggestion is to take 30 measurements, sort them from lowest to highest, throw away the ten lowest and the ten highest readings and average the remaining ten readings.