KY-011 TWO COLOR LED MODULE - Composants et circuits électroniques
SUBTOTAL :

Follow Us

All products led price_100.00 DA Sensors
KY-011 TWO COLOR LED MODULE

KY-011 TWO COLOR LED MODULE

All products led price_100.00 DA Sensors
Short Description:

Product Description

KY-011 Description

3mm Two color LED module KY-011 for Arduino, emits red and green light. You can adjust the amount of each color using PWM. This module is similar to KY-029.
  • KY-011 Fritzing custom part image

KY-011 Specifications

This module consist of a common cathode 3mm red/green LED and a 0Ω resistor, Since operating voltage is 2.0v ~2.5v you'll need to use limiting resistors to prevent burnout when connecting to the Arduino.
Operating Voltage2.0v ~ 2.5v
Working Current10mA
Diameter3mm
Package TypeDiffusion
ColorRed + Green
Beam Angle150
Wavelength571nm + 644nm
Luminosity Intensity (MCD)20-40; 40-80

KY-011 Connection Diagram

We'll use a couple of 330Ω resistors to limit the current from the Arduino and prevent burning the LED.
KY-011BreadboardArduino
G330Ω resistorPin 10
R330Ω resistorPin 11
YGND

Arduino KY-011 Two color LED module connection diagramclick to enlarge


KY-011 Example Code

The following Arduino sketch will gradually alternate between red and green color.
int redpin = 11; // pin for red signal
int greenpin = 10; // pin for green signal
int val;

void setup() {
 pinMode(redpin, OUTPUT);
 pinMode(greenpin, OUTPUT);
}

void loop() {
 for(val = 255; val > 0; val--) { 
  analogWrite(redpin, val); //dim red
  analogWrite(greenpin, 255 - val); // brighten green
  delay(15);
 }
 for(val = 0; val < 255; val++) { 
  analogWrite(redpin, val); //brighten red
  analogWrite(greenpin, 255 - val); //dim green
  delay(15);
 }
}

0 Reviews:

Post Your Review