{"id":1150,"date":"2018-01-16T11:23:49","date_gmt":"2018-01-16T13:23:49","guid":{"rendered":"https:\/\/arduxop.com.br\/loja\/produto\/ky-016-3-color-led-module\/"},"modified":"2024-07-25T07:58:38","modified_gmt":"2024-07-25T11:58:38","slug":"ky-016-3-color-led-module","status":"publish","type":"product","link":"https:\/\/arduxop.com.br\/loja\/produto\/ky-016-3-color-led-module\/","title":{"rendered":"KY-016 3-color LED module"},"content":{"rendered":"<p>RGB LED module consists of a plug-in full color LED made by R, G, B three pin PWM voltage input can be adjusted Section three primary colors (red \/ blue \/ green) strength in order to achieve full color mixing effect. Control of the module with the Arduino can be achieved Cool lighting effects.Specificationsthe use of plug-in full-color LEDRGB trichromatic limiting resistor to prevent burnoutthrough the PWM adjusting three primary colors can be mixed to obtain different colorswith a variety of single-chip interfacethe working voltage: 5VLED drive mode: common cathode driverSchematicArduino pin 11 &#8211;> Pin R moduleArduino pin 10 &#8211;> Pin G moduleArduino pin 9 &#8211;> Pin B moduleArduino pin GND &#8211;> Pin &#8211; moduleYou don&#8217;t need any resistors, these are already included on the module.&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-Example code&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\/\/KY016 3-color LED moduleint redpin = 11; \/\/ select the pin for the red LEDint bluepin = 10; \/\/ select the pin for the blue LEDint greenpin = 9 ;\/\/ select the pin for the green LEDint val;void setup () { pinMode (redpin, OUTPUT); pinMode (bluepin, OUTPUT); pinMode (greenpin, OUTPUT); Serial.begin (9600);}void loop (){ for (val = 255; val> 0; val &#8211;) { analogWrite (11, val); analogWrite (10, 255-val); analogWrite (9, 128-val); delay (10); Serial.println (val, DEC); } for (val = 0; val <255; val ++) { analogWrite (11, val); analogWrite (10, 255-val); analogWrite (9, 128-val); delay (10); Serial.println (val, DEC); }}\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RGB LED module consists of a plug-in full color LED made by R, G, B three pin PWM voltage input can be adjusted Section three primary colors (red \/ blue \/ green) strength in order to achieve full color mixing effect. Control of the module with the Arduino can be achieved Cool lighting effects.Specificationsthe use [&hellip;]<\/p>\n","protected":false},"featured_media":1151,"template":"","meta":[],"product_brand":[],"product_cat":[178],"product_tag":[],"class_list":{"0":"post-1150","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-sensores","8":"entry","9":"has-media","11":"first","12":"instock","13":"sale","14":"sold-individually","15":"purchasable","16":"product-type-simple","17":"has-product-nav","18":"col","19":"span_1_of_3","20":"owp-content-center","21":"owp-thumbs-layout-horizontal","22":"owp-btn-normal","23":"owp-tabs-layout-horizontal","24":"has-no-thumbnails"},"_links":{"self":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product\/1150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media\/1151"}],"wp:attachment":[{"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/media?parent=1150"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_brand?post=1150"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_cat?post=1150"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/arduxop.com.br\/loja\/wp-json\/wp\/v2\/product_tag?post=1150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}