Many ESP32 design need a accurate Z reference for precise signal reading. Often, a easy solution utilizes a 1k component connected across the Z reference junction and ground. The provides a well-defined level, generally https://siambookmark.com/story21931779/esp32-s3-projects-utilizing-a-1k-resistor-for-z-voltage