Many ESP32 project require a accurate Z reference in correct signal reading. Frequently, a easy approach involves a 1k resistor associated between the Z level junction and earth. This creates a well-defined voltage, https://2inchspeaker892820.thatgameblog.com/61390637/esp32-s3-projects-utilizing-a-1k-resistor-for-z-voltage