รหัสสินค้า | AS10051 |
หมวดหมู่ | LED / LED Drive |
ราคา | 25.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
KY-009 Description
RGB full color LED Module KY-009 for Arduino, emits a range of colors by mixing red, green and blue. The amount of each primary color is adjusted using PWM.
KY-009 Specifications
The KY-009 RGB Full Color LED SMD Module consists of a 5050 SMD LED, use with limiting resistors to prevent burnout. Compatible with popular electronics platforms like Arduino, Raspberry Pi and ESP8266.
Operating Voltage
5V max
Red 1.8V ~2.4V
Green 2.8V ~ 3.6V
Blue 2.8V ~ 3.6V
Forward Current 20mA ~ 30mA
Operating Temperature -25°C to 85°C [-13°F ~ 185°F]
Dimensions 18.5mm x 15mm [0.728in x 0.591in]
KY-009 Connection Diagram
You need to use resistors to prevent burnout, check the 5050 LED SMD Datasheet on the downloads section for more info.
KY-009 Breadboard Arduino
R 180Ω resistor Pin 9
G 110Ω resistor Pin 10
B 110Ω resistor Pin 11
- GND GND
KY-009 Example Code
The following Arduino sketch will cycle through various colors by changing the PWM value on each of the three primary colors.
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(redpin, val); //set PWM value for red
analogWrite(bluepin, 255 - val); //set PWM value for blue
analogWrite(greenpin, 128 - val); //set PWM value for green
Serial.println(val); //print current value
delay(1);
}
for(val = 0; val < 255; val++)
{
analogWrite(redpin, val);
analogWrite(bluepin, 255 - val);
analogWrite(greenpin, 128 - val);
Serial.println(val);
delay(1);
}
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,393,408 ครั้ง |
ผู้ชมทั้งหมด | 5,896,486 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 16 ก.ย. 2568 |