Connecting an ESP32 to a 5V voltage requires caution regarding flow. While the ESP32 S3 operates at 3.3V, inserting a 1k resistance can help you to safely interface with 5V levels . This technique https://binksites.com/story12024054/esp32-s3-projects-utilizing-a-1k-resistor-with-5v