A basic circuit illustrates the way to create one potential divider with an ESP32 S3 processor and a 1k kiloohm impedance. Using positioning two resistances in sequence, you can lower a voltage level to an measurement https://bookmarksknot.com/story23634410/esp32-s3-and-1k-resistor-a-simple-voltage-divider