Linking an ESP32 S3 to a 5V supply requires care regarding amperage . While the ESP32 S3 operates at 3.3V, inserting a 1k resistance can assist you to properly interface with 5V outputs. This technique https://bookmarkfavors.com/story7796699/esp32-s3-projects-utilizing-a-1k-resistor-with-5v