Linking an ESP32-S3 to a 5V voltage requires attention regarding amperage . While the ESP32-S3 operates at 3.3V, using a 1k resistance can help you to safely interface with 5V signals . This method https://compoden.com/collections/power-energy