Connecting a 1k load to a 5V source with an ESP32 S3 module requires precise consideration. The ESP32 S3's logic pins are typically rated for lower voltages , generally 3.3V. Directly applying 5V can damage https://compoden.com/collections/batteries