A simple circuit shows the way regarding build an potential divider using a ESP32 S3 microcontroller plus one 1k Ω resistor. By connecting two resistances on series, you can reduce the potential level for an reading http://theengineerstore.in/products/1k-ohm-resistor-pack-of-10