Oferta!

KY-016 3-color LED module

Original price was: R$ 39,37.Current price is: R$ 32,81.

Em estoque

wws Camila / Dúvidas sobre o produto? Precisa de ajuda? Fale comigo.
0000000011501
SKU: 10360 Categoria:

Descrição

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 –> Pin R moduleArduino pin 10 –> Pin G moduleArduino pin 9 –> Pin B moduleArduino pin GND –> Pin – moduleYou don’t need any resistors, these are already included on the module.—————————————————————————-Example code—————————————————————————//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 –) { 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); }}

Informação adicional

Peso 0,0000 kg
Dimensões 0,0000 × 0,0000 cm