Many ESP32 project need a stable Z reference to precise analog reading. Typically, a basic approach employs a 1000-ohm resistor connected to the Z level junction and earth. The generates a well-defined voltage, https://bookmarkunit.com/story21749790/esp32-s3-projects-utilizing-a-1k-resistor-for-z-voltage