RGB led module 3 Color Full Color LED sensor SMD module

Share on (1600217891087):


Price:

Quantity:


Product Overview

Description


RGB led module 3 Color Full Color LED sensor SMD module

Product Description
Features:
the use of plug-in full-color LED

RGB trichromatic limiting resistor to prevent burnout

Through the PWM adjusting three primary colors can be mixed to obtain different colors

With a variety of single-chip interface

The working voltage: 5V

LED drive mode: common cathode driver

Size:19X19X1.5mm(approx)
Test code:
int redpin = 11; // select the pin for the red LED
int bluepin = 10; // select the pin for the blue LED
int greenpin = 9 ;// select the pin for the green LED
int 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(1);
}
for (val = 0; val <255; val++)
{
analogWrite(11, val);
analogWrite(10, 255-val);
analogWrite(9, 128-val);
delay (1);
}
Serial.println(val, DEC);
}
Our Services

We have types of Modules.Active electronic components(Integrated Circuits, Relay, Sensors, and etc)and Passive electronic components (Filter, Magnetic Bead.Diodes, Transistors, Capacitors, Resistors, Inductors, and etc...

Company Information

_01.jpg_02.jpg_03.jpg_04.jpg_05.jpg_06.jpg_07.jpg_08.jpg


0.1915 s.