ESP32 ADC Range Calculator
ESP32 ADC Range Calculator
animation
sensors
Try Keep ADC attenuation setting at 11 dB and ADC resolution at 12-bit (4096). Lower Sensor max output voltage from 3.30 V until it enters the displayed range.
Observe The default 3.30 V is outside the stored 0.15–3.1 V range. The nominal span code width is 0.72 mV/step, and the hypothetical span index is clipped to 4095.
Explain ADC resolution sets the number of divisions used for nominal code width. Sensor max output voltage is compared with the selected range and mapped to a rounded, clipped span index.
Technical boundaries. The illustration assumes an evenly rescaled documented voltage span, rather than the real ADC transfer curve. Its fixed attenuation table describes the original ESP32; the index is not a raw ADC code or a guaranteed linear measurement.
ESP32 ADC Range Calculator. For the original ESP32 with Arduino-ESP32 core v3.3.12, compare sensor outputs with the documented measurable ranges; these are not guaranteed linearity limits.