Connecting a 1k resistance to a 5V supply with an ESP32 S3 board requires thoughtful consideration. The ESP32 S3's logic pins are typically designed for lower potentials , generally 3.3V. Directly applying 5V https://compoden.com/collections/dev-boards