Connecting an ESP32 to a 5V source requires care regarding current . While the ESP32 operates at 3.3V, using a 1k ohm can allow you to safely interface with 5V signals . This technique limits the https://compoden.com/collections/sensors