Several ESP32 design need a stable Z voltage to correct signal conversion. Often, a simple method involves a 1000-ohm resistance linked to the Z level junction and earth. The provides a well-defined voltage, generally https://compoden.com/collections/passive-components