4 x 5050 SMD RGB LED Module for Arduino Projects
Red, Green and Blue LED for Lighting Arduino Projects
SKU: TA0063
4 x 5050 SMD RGB LED Module for Arduino Projects
Red, Green and Blue LED for Lighting Arduino Projects
Display a full range of colours with this RGB LED module. The 4 x SMD 5050 LEDs onboard are super bright and controlled by the 74HC595 chip.
•    5VDC operation
•    Colours: RGB
•    Dimensions: 48(L) x 38(W) x 5(H)mm
Pin outs
Vcc - 5V
SDA - D2
SLK - D5
STB - D4
GND - GND
Sample code
 int data = 2;//74HC595的14脚 数据输入引脚SI 
int clock = 5;//74hc595的11脚 时钟线 SCK
int latch = 4;//74hc595的12脚 输出存储器锁存线RCK 
int ledState = 0;
const int ON = HIGH;
const int OFF = LOW;
void setup()
{
pinMode(data, OUTPUT);
pinMode(clock, OUTPUT);
pinMode(latch, OUTPUT);
}
void loop()
{
for(int i = 0; i < 256; i++)
{
updateLEDs(i);
delay(500);
}
}
void updateLEDs(int value)
{
digitalWrite(latch, LOW);//
shiftOut(data, clock, MSBFIRST, ~value);//串行数据输出,高位在先
digitalWrite(latch, HIGH);//锁存
}
CLICK HERE TO SEE OTHER ARDUINO SENSORS
CLICK HERE TO SEE OTHER ARDUINO MODULES
CLICK HERE TO SEE OTHER ARDUINO PRODUCTS
3 Month Warranty
| SKU | TA0063 | 
| Barcode # | 9351634002979 | 
| Brand | iduino | 
| Shipping Weight | 0.0300kg | 
| Shipping Width | 0.140m | 
| Shipping Height | 0.020m | 
| Shipping Length | 0.090m | 
| Shipping Cubic | 0.000252000m3 | 
| Unit Of Measure | ea | 
Be The First To Review This Product!
Help other Aus Electronics Direct users shop smarter by writing reviews for products you have purchased.
 
 
			 
		 
			 
			 
		 
		 
		 
		 
		