Connecting a 1k resistor to a 5V source with an ESP32 S3 board requires precise consideration. The ESP32 S3's digital pins are typically designed for lower voltages , generally 3.3V. Directly introducing 5V https://compoden.com/collections/power-energy