Connecting a 1k resistance to a 5V voltage with an ESP32 S3 module requires thoughtful consideration. The ESP32 S3's logic pins are typically intended for lower voltages , generally 3.3V. Directly connecting https://compoden.com/collections/batteries