Turn off power LED of Arduino Nano ESP32 via sketch?

Hello,

Is it possible to turn off the power LED of Arduino Nano ESP32 within the sketch? I'm able to achieve this on my Nano 33 boards by running digitalWrite(LED_PWR, LOW); but I haven't been able to achieve the same with the Nano ESP32. I've checked some of Nano ESP32's system files and couldn't find LED_PWR. Thanks!


no GPIO on power LED

1 Like

No.
As you can see from this part of the Nano ESP32 schematic, the power LED is connected directly to GND and to +3.3V through a resistor R8.

To get what you want, you needed to rework the board.

Ref: "https://docs.arduino.cc/resources/schematics/ABX00083-schematics.pdf

image

1 Like

To get what you want, you needed to rework the board.

Thank you. And this would be physically de-soldering the power LED I believe?

No.
Remove R8, and put a new discrete 500 Ohms from LED to any GPIO.

I think the purpose of routing the power LED to a GPIO is to still keep the power LED while adding a way to control its on/off state right? What if I don't care about the power LED? Can't I just desolder it? Or even break it to save me the worry of desoldering?

Yes, you can.

1 Like