Connecting an ESP32 S3 to a 5V source requires attention regarding current . While the ESP32 S3 operates at 3.3V, using a 1k resistance can allow you to properly interface with 5V outputs. This technique https://compoden.com/collections/robotics-motion