A simple setup shows the way to form an potential divider using an ESP32 S3 module & the 1k ohm impedance. With placing two impedances on order, you are able to lower the potential quantity for an measurement https://bookmarkcitizen.com/story21598064/esp32-s3-and-1k-resistor-a-simple-voltage-divider