Calibrating ADC

arao23
Posts: 30
Joined: Tue Dec 13, 2016 4:44 pm

Calibrating ADC

Postby arao23 » Tue Jan 10, 2017 1:46 am

I read that analog inputs are nonlinear on the ESP32, and therefore we will have to manually calibrate it. How do we calibrate the ESP32 so that the values are read in correctly? I didn't have this problem in the proof-of-concept arduino project.

arao23
Posts: 30
Joined: Tue Dec 13, 2016 4:44 pm

Re: Calibrating ADC

Postby arao23 » Mon Jan 16, 2017 8:19 pm

Bump! Any updates on this?

Maybe I should switch over to 8266 until 32 is more mature. It may not be viable for production use if ADC is nonlinear :/

StefanRvO
Posts: 16
Joined: Sun Mar 06, 2016 9:25 pm

Re: Calibrating ADC

Postby StefanRvO » Mon Jan 16, 2017 11:12 pm

I second this.
I will be using the ESP32 in a project this spring, which will involve the using the integrated ADC.
Are you able to provide some kind of documentation on the non-linearity of the ADC?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Calibrating ADC

Postby WiFive » Tue Jan 17, 2017 1:35 am


arao23
Posts: 30
Joined: Tue Dec 13, 2016 4:44 pm

Re: Calibrating ADC

Postby arao23 » Wed Jan 18, 2017 12:44 am

Thanks, that's not as nonlinear as I fretted, good to know.

jaegertuning
Posts: 3
Joined: Sun Jan 22, 2017 3:10 am

Re: Calibrating ADC

Postby jaegertuning » Mon Jan 23, 2017 4:12 am

I'm assuming the DAC is not linear either? I was testing it and a voltage sent to the ADC from an external sensor was a bit higher than if the same value is sent through the DAC

Who is online

Users browsing this forum: No registered users and 32 guests