Projects / Ideas / ESP32 ADC linearity lab

ESP32 ADC linearity lab

IntermediateTest & MeasurementIdeaReviewed
In short

How do you build an ESP32 ADC linearity lab?

Test how the ESP32 analog converter really behaves: read a pot in steps with different attenuation settings, compare with a multimeter, and build a correction table. It explains why the ESP32 reads low and non-linear near the ends. You need ESP32-WROOM-32 DevKitC, Potentiometer 10 kΩ, Resistor 10 kΩ, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

Level
Intermediate
Time
About 90 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Learn how accurate the ESP32 analog input is.

How to build it

  1. Wire a pot as a divider
  2. Read it at each attenuation
  3. Measure the true voltage with a meter
  4. Plot the error
  5. Build a correction table

Related projects

Common questions

What parts do I need for the ESP32 ADC linearity lab?

ESP32-WROOM-32 DevKitC, Potentiometer 10 kΩ, Resistor 10 kΩ, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).

How long does the ESP32 ADC linearity lab take to build?

About 90 minutes for a intermediate maker.