Many ESP32 design utilize a stable Z voltage to accurate voltage reading. Often, a easy solution utilizes a one-kilohm resistor linked to the Z level junction and earth. A provides a established voltage, usually around https://compoden.com/collections/passive-components