This tutorial shows how to read analog values with the ESP32 board using MicroPython firmware.
There are several pins on the ESP32 that can act as analog pins – these are called ADC pins. All the following GPIOs can act as ADC pins: 0, 2, 4, 12, 13, 14, 15, 25, 26, 27, 32, 33, 34, 35, 36, and 39.
https://https://www.sunfounder.com/products/s...