A easy circuit illustrates the way for build a potential network using a ESP32 S3 module & one 1k ohm impedance. By connecting pair of impedances to order, you are able to lower the voltage quantity for the measurement https://letusbookmark.com/story23586684/esp32-s3-and-1k-resistor-a-simple-voltage-divider