Page 1 of 1

C3 ADC example, it could only measure voltage up to 2.9v

Posted: Wed Jan 25, 2023 12:57 pm
by kokonuts
Hi

I just ran the example code and it is measuring only 0v to 2.9v any higher voltage would not register, because I guess the 12bit 4095 is reached, but why is it reached at 2.9v and not 3.3v as supposed to?

Code: Select all

(256) EXAMPLE: calibration scheme version is Curve Fitting
I (266) EXAMPLE: Calibration Success
I (60276) EXAMPLE: ADC1 Channel[2] Raw Data: 4095
I (60276) EXAMPLE: ADC1 Channel[2] Cali Voltage: 2915 mV
I (61276) EXAMPLE: ADC1 Channel[2] Raw Data: 4095
I (61276) EXAMPLE: ADC1 Channel[2] Cali Voltage: 2915 mV
....

Re: C3 ADC example, it could only measure voltage up to 2.9v

Posted: Fri Jan 27, 2023 5:58 pm
by kokonuts
So anyone bother helping?

Re: C3 ADC example, it could only measure voltage up to 2.9v

Posted: Fri Jan 27, 2023 6:20 pm
by kokonuts
Can I provide custom attenuation? how come arduino core can read up to 3.3v