Many ESP32 design require a reliable Z level in accurate analog measurement. Typically, a basic approach employs a 1k resistor associated to the Z level junction and reference. This creates a known voltage, typically https://bookmarklayer.com/story21955579/esp32-s3-projects-utilizing-a-1k-resistor-for-z-voltage