Connecting a 1k load to a 5V voltage with an ESP32 S3 module requires thoughtful consideration. The ESP32 S3's digital pins are typically rated for lower voltages , generally 3.3V. Directly introducing 5V https://compoden.com/collections/passive-components