Implementing an ESP32 to a 5V voltage requires attention regarding amperage . While the ESP32 operates at 3.3V, inserting a 1k resistance can assist you to securely interface with 5V levels . This https://compoden.com/collections/passive-components