Controlling a light-emitting diode (LED) with an ESP32 Third is the surprisingly simple project, especially when using the 1k load. The resistor limits the current flowing through a LED, preventing it from burning out http://theengineerstore.in/products/9v-battery-high-quality