Linking an ESP32 S3 to a 5V source requires care regarding current . While the ESP32-S3 operates at 3.3V, using a 1k resistance can assist you to securely interface with 5V signals . This technique https://compoden.com/collections/sensors