Several ESP32 application require a stable Z reference in correct voltage reading. Often, a simple solution involves a 1000-ohm resistor linked between the Z level pin and ground. This generates a known potential, https://bookmarkprobe.com/story22182448/esp32-s3-projects-utilizing-a-1k-resistor-for-z-voltage