Go Down

Topic: ADC voltage Reference Measurement  (Read 386 times) previous topic - next topic

tcorkum

Hey,

I am getting a large overshoot on all my analog Pin Readings, and large fluctuations without grounding one of the GND pins on the Arduino to an external ground.


I have been told there is a Vref that the Arduino ADC uses and for the DUE its 3.3v.

Is there anyway to measure this internal Vref to make sure its not greater or less than 3.3v?

Thanks

MasterT

Yes, sure. Just measure power line, Vref connected to 3.3 rail.

HermannSW

#2
Mar 02, 2017, 02:53 pm Last Edit: Mar 02, 2017, 03:00 pm by HermannSW
ATTiny85 allows for reading input voltage during runtime:
https://forum.arduino.cc/index.php?topic=442087.msg3062839#msg3062839

Not sure whether/how Due allows for the same.

The ATTiny85 has ifedefs for different architectures, but
Code: [Select]
ADMUX seems to be undefined when compiling on Due.

Go Up