WLED icon indicating copy to clipboard operation
WLED copied to clipboard

Pls add option to disable LED_BUILTIN (nodemcu)

Open ilyaroot opened this issue 6 years ago • 6 comments

Pls add option to disable LED_BUILTIN (led wi-fi connection?) NodeMcu has rather bright LED, so it disturbs at night.

ilyaroot avatar Apr 24 '20 13:04 ilyaroot

A quick solution is black electrical tape wrapped around the NodeMCU board. Wrap it around the board just to the left of the LED. Continue the wrap all the way around the board, and this time, just to the right of the LED. Continue the wrap one more time, directly centered over the LED, and end it about 1/2 way around the back of the NodeMCU. Do flip back a few mm (1/4") of tape onto itself so you can easily remove it later on. You can recompile the WLED project and disable the builtin LED by defining the built-in LED pin as 0.

huggy-d1 avatar Apr 24 '20 14:04 huggy-d1

Or you could put the node mcu in a little case and make the whole install look more professional than just having a board and wires hanging around 🙂.

I usually don't have issues with the inbuilt led on any project because I do tend to like things in proper cases, but I guess there could be situations where it would be nice to disable the inbuilt LED.

It's quite easy to do in code, as long as you don't use the same IO as your LED data or clock pin.

austwhite avatar Apr 24 '20 14:04 austwhite

Oh, that's such an engineer's way to handle all problems - by fixing them with an electrical tape! Ok, I'll try to recompile this project and disable the builtin LED in code. Thanks anyway!

ilyaroot avatar Apr 24 '20 15:04 ilyaroot

This is documented in the wiki:

How to turn off the bright blue onboard LED?

This LED can be very distracting. Unfortunately it can't easily be disabled as it shares the gpio2/D4 pin with the LED output. Currently there are 3 workarounds:

Cover the LED

Remove the LED permanently (desolder or apply pressure with e.g. a flathead screwdriver)

Use a different LEDPIN, although the default is recommended for stable operation

mjferro avatar Apr 24 '20 17:04 mjferro

Personally I got a waterproof enclosure like this for mine as mine are permanently mounted anyway and I didn't want a loose board hanging around. https://amzn.to/3aY47W0

JoshWobbles avatar Apr 30 '20 19:04 JoshWobbles

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. Thank you for using WLED!

stale[bot] avatar Aug 29 '20 03:08 stale[bot]