Many ESP32 S3 project utilize a stable Z level for accurate voltage measurement. Often, a easy approach involves a 1k resistance associated to the Z voltage junction and earth. The provides a known level, generally https://compoden.com/collections/dev-boards