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

kokonuts
Posts: 15
Joined: Tue Jul 11, 2017 6:39 pm

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

Postby kokonuts » Wed Jan 25, 2023 12:57 pm

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
....

kokonuts
Posts: 15
Joined: Tue Jul 11, 2017 6:39 pm

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

Postby kokonuts » Fri Jan 27, 2023 5:58 pm

So anyone bother helping?

kokonuts
Posts: 15
Joined: Tue Jul 11, 2017 6:39 pm

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

Postby kokonuts » Fri Jan 27, 2023 6:20 pm

Can I provide custom attenuation? how come arduino core can read up to 3.3v

Who is online

Users browsing this forum: No registered users and 157 guests