Connecting an ESP32 to a 5V supply requires attention regarding amperage . While the ESP32 S3 operates at 3.3V, inserting a 1k resistance can help you to safely interface with 5V signals . This approach https://compoden.com/collections/passive-components