DEV Community


Posted on

Setting the brightness of the LED switch

I discovered an interesting switch on the market with an LED light in the lever. I have four LED colors, red, green, blue and white. According to the manufacturer, it is designed for 12V DC, i.e. direct current. However, the indicator light shines with a very strong brightness, it is unpleasantly dazzling when working indoors.

On Off switch with LED indicator


Connection example

What about that? Simply put a resistor in the path before the GND terminal, e.g. 1k2 and it's done. WARNING! This point will no longer be ground (GND) for the device but only for the LED switch. We calculate
the resistance R according to the formula R=U/I.

For more info, see hobbyport.electronics...
The website contains a translator

Top comments (0)