A easy setup demonstrates the way to create a voltage circuit by the ESP32 S3 microcontroller plus a 1k Ω impedance. Using positioning two impedances to sequence, you may decrease a electrical level to a measurement https://tamzinajoh759932.theblogfairy.com/40496792/esp32-s3-and-1k-resistor-a-simple-voltage-divider