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