This is a 22mm On/Off version of the RGB pushbutton. Simply drill a 22mm 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 4 metal contacts for the RGB LED ring (one anode and 3 cathodes for each red, green, and blue) and 4 spade contacts for the switches. Once pressed, the button will stay down until pressed a second time, unlike momentary pushbuttons.
To use the RGB LED: Power the anode at 3-6V and light up the red, green, and blue LEDs by pulling their designated contacts to 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 color you like.
To use the switches: There are two electrically separate SPST switches inside the button. The two inner set of spade contacts are a normally-closed switch. When you press the button, these contacts will open. When pressed again, the contacts will re-close. The outer two spade contacts are a normally-open switch. When you press the button, these contacts will open until it is pressed again.
The switch and LED are electrically separated, so to change the color, use a microcontroller to both read the contact pins and toggle the color control pins.
Drill hole diameter: 22mm
Switch current: not rated, we recommend no more than 1A / 24VDC
Switch contacts: 2 set, one normally open and one normally closed
Material: Chrome plated brass
Contact resistance: < 50 mOhm
Insulation resistance: > 1000 Mohm
Temperature: -20 C to +55 C
Mechanical life: > 500,000
Electrical life: > 50,000
Panel thickness: 1-7mm
Operating pressure: 1.5 - 2.5 N
Operating stroke: 2mm
LED rated voltage: 6V