A basic circuit shows the way regarding build one electrical circuit using a ESP32 S3 processor and a 1k ohm resistor. With placing pair of impedances on series, you may lower an potential quantity to an measurement https://johsocial.com/story12292144/esp32-s3-and-1k-resistor-a-simple-voltage-divider