{"product_id":"3424-rugged-metal-on-off-switch-22mm-6v-rgb-on-off","title":"Rugged Metal On\/Off Switch - 22mm 6V RGB On\/Off","description":"\u003cp\u003eBy 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.\u003c\/p\u003e\u003cp\u003eThis is a \u003cstrong\u003e22mm On\/Off\u003c\/strong\u003e 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.\u003cem\u003e \u003c\/em\u003eOn 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 \u003ca href=\"https:\/\/www.adafruit.com\/product\/3423\"\u003emomentary pushbuttons\u003c\/a\u003e.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eTo use the RGB LED:\u003c\/strong\u003e 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.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eTo use the switches:\u003c\/strong\u003e 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.\u003c\/p\u003e\u003cp\u003eThe 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.\u003c\/p\u003e\u003cp\u003e\u003ciframe src=\"\/\/www.youtube.com\/embed\/xmu2iq3csqc%0A?start=14\" allowfullscreen=\"\" tc-textcontent=\"true\" data-tc-id=\"w-0.624977667468913\" width=\"560\" height=\"315\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e\u003cp\u003e \u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"4-6 Giorni","offer_id":47700443955545,"sku":"ADA-3424\/B","price":24.81,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47886558724441,"sku":"ADA-3424\/A","price":24.81,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47886724137305,"sku":"ADA-3424","price":24.81,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/3424-01_a82ee21d-87b2-4b77-80e4-886b66d9558b.jpg?v=1705519817","url":"https:\/\/xernuqvalzi.pro\/products\/3424-rugged-metal-on-off-switch-22mm-6v-rgb-on-off","provider":"Robot Italy","version":"1.0","type":"link"}