Many ESP32 design require a stable Z level for accurate signal reading. Frequently, a easy solution utilizes a 1k component linked between the Z voltage output and ground. The creates a well-defined potential, generally https://compoden.com/collections/robotics-motion