Page 1 of 1

Analog read 12 bits

Posted: Mon Apr 13, 2020 12:02 pm
by carloca
Hi,
it looks like the analogRead function reads only a 10bits value (0-1023)
is there any way to read an analog value with the 12-bits resolution offered by this chip??
thanks
carlo

[self SOLVED]

Posted: Mon Apr 13, 2020 12:27 pm
by carloca
analogReadResolution(12); solved the problem

sorry for the silly question

Re: Analog read 12 bits

Posted: Tue Apr 14, 2020 1:53 am
by mrburnette
Remember. Going from 10-bits to 12-bits increasingly make the low-order bits more sensitive to noise on analog inputs and analog reference. You may need to implement better electronic hardware designs.

Ray

Re: Analog read 12 bits

Posted: Thu Apr 16, 2020 7:27 pm
by carloca
yes, i'm just facing this challenge..
Thanks
mrburnette wrote: Tue Apr 14, 2020 1:53 am Remember. Going from 10-bits to 12-bits increasingly make the low-order bits more sensitive to noise on analog inputs and analog reference. You may need to implement better electronic hardware designs.

Ray