Adafruit
Rugged Metal Pushbutton - 22mm 6V RGB Momentary
By popular demand, we now have rugged metal buttons with a full color RGB LED ring light! These chrome-plated metal buttons are rugged, but certainly no...
Get notified when back in stock
By popular demand, we now have rugged metal buttons with a full color RGB LED ring light! These chrome-plated metal buttons are rugged, but certainly not lacking in flair.
This is a 22mm Momentary 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.
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. The outer two spade contacts are a normally-open switch. When you press the button, these contacts will open until it is released.
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.
Jargon buster
Plain-language definitions for the technical terms used above.
- LED
- A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
- PWM
- Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
- RGB
- Short for red, green and blue, the three primary colours of light that are mixed in varying amounts to make a wide range of colours. In electronics RGB can refer to an LED or pixel that blends these three colours, or to a colour signal or interface that carries separate red, green and blue channels.
Find this product in
Components
Related Tutorials
Free guides on learn.littlebird.com.au