By popular demand, we now have these buttons with a full-colour RGB LED ring light! These chrome-plated metal buttons are rugged, but certainly not lacking in flair. Simply drill a 16mm hole into any material up to 1/4" thick and you can fit these in place – there's even a rubber gasket to keep water out of the enclosure. On the front of the button is a flat metal actuator, surrounded by a plastic RGB LED ring. On the back, there are two gold contacts for the button and 4 for the RGB LED ring (one anode and 3 cathodes for each red, green, and blue). Power the anode at 3-6V and light up the red, green, and blue LEDs by pulling their designated contacts to the ground as you desire – there's a built-in resistor! If you want to use this with a higher voltage, say 12V or 24V, simply add a 1K ohm resistor in series with the LED cathodes to keep the LED current at around 20mA. You can PWM the RGB pins to make any colour you like.
This button is a momentary push button when you press the 'normally-open contact shorts to the common contact. When you release it, the contacts open up again.
The switch and LED are electrically separated, so to change the colour, use a microcontroller to both read the contact pins and toggle the colour control pins.
You may also like