A easy setup demonstrates how to create one electrical network with the ESP32 S3 module & a 1k kiloohm resistance. With placing two impedances to sequence, you may lower a voltage amount to the value suitable for input https://bookmarktiger.com/story21554769/esp32-s3-and-1k-resistor-a-simple-voltage-divider