A basic setup illustrates the way regarding form an voltage divider with a ESP32 S3 microcontroller and the 1k kiloohm resistor. By placing two impedances to series, you can can lower a electrical level into an reading http://theengineerstore.in/products/5v-2-1a-3-usb-power-bank-battery-charger-module-circuit-board-step-up-boost-diy