Gallery

RGB 3 Color Full Color LED SMD Module

RGB module keyes chiosz robots 2

RGB module keyes chiosz robots 3

RGB module keyes chiosz robots 4

RGB module keyes chiosz robots

Our ChiOSZ Products

RGB 3 Color Full Color LED SMD Module Arduino projects robots NEW

RGB LED module is made of full-color LED with patch. Through the R, G, B three pin PWM voltage input can be adjusted three primary colors ( red / blue / green ) strength in order to achieve full-color mixing effect. Control of the module with the Arduino cool lighting effects can be achieved .
•Product features:
1. Using 5050 full color LED
2. RGB trichromatic limiting resistor to prevent burnout
3. Through the PWM adjusting three primary colors can be mixed to obtain different colors
4. With a variety of single-chip interface
5. Operating voltage: 5V
6. LED drive mode: common cathode driver
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);
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s