SMD RGB LED Module Arduino Compatible
ARD2-2209
$4.45
QTY | Price |
---|---|
1 | $4.45 |
Description
The SMD RGB LED module Arduino compatible consists of a full-colour LED made by a RGB three pin PWM voltage input that can be adjusted. The strength of the red, green and blue light can be controlled independently to achieve full colour output. This SMD RGB LED module features an RGB trichromatic limiting resistor to prevent burnout.
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);
}
Features
- Full colour LED display
- RGB trichromatic limiting resistor to prevent burnout
Specifications
Operating Voltage
5V
Board Colour
Black
Material
PCB
Dimensions
Length (mm)
25
Width (mm)
15
Height (mm)
2
Resources
All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.