Numerous ESP32 project need a accurate Z reference for correct analog measurement. Often, a basic method involves a 1k component associated to the Z level pin and ground. This provides a well-defined level, typically https://compoden.com/collections/power-energy