Why ESP32 ADC voltage readings vary: calibration and configuration explained
Espressif's ESP-IDF documentation explains that ESP32 analog readings depend on the chip's reference voltage, which is nominally 1100 mV but can range from 1000 mV to 1200 mV between chips. The calibration driver uses eFuse-stored parameters where available, and falls back to an estimated default reference when none are burned. The oneshot driver requires attenuation and bit width to be set per channel and matched in the calibration scheme. The docs also warn that adc_oneshot_read() must be called from a task rather than an interrupt, and that ADC2 is shared with Wi-Fi. The review concludes that absolute voltage accuracy requires calibration and checking the board's calibration source.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in