Implementing an ESP32 to a 5V supply requires attention regarding current . While the ESP32-S3 operates at 3.3V, using a 1k resistor can allow you to properly interface with 5V signals . This technique https://tinybookmarks.com/story22014034/esp32-s3-projects-utilizing-a-1k-resistor-with-5v