Light / Color

Specials

No special products at this time.

Viewed products

2 color LED module 3mm

350240

New product

KWD 1.750

The 3mm bi-color LED has a common cathode (- pin), connected with the ‘-’ pin on the PCB. The centre pin activates the red light and the ‘S’ pin the green light. No series resistor is included in the circuit. A suitable value for low voltage operation would be 220 ohms.

More details

  • Send to a friend

    Send to a friend

    2 color LED module 3mm

    2 color LED module 3mm

    The 3mm bi-color LED has a common cathode (- pin), connected with the ‘-’ pin on the PCB. The centre pin activates the red light and the ‘S’ pin the green light. No series resistor is included in the circuit. A suitable value for low voltage operation would be 220 ohms.

    Recipient :

    * Required fields

      or  Cancel

  • Print

product description

3mm red and green LED (common cathode) module

  • Color: Green + Red
  • Diameter: 3mm
  • Case Color: None
  • Package Type: Diffusion
  • Voltage (V) :2.0-2 .5
  • Using a current (MA): 10
  • Viewing angle: 150
  • Wavelength (NM): 571 +644
  • Luminous intensity (MCD) :20-40; 40-80
  • Stent type: long-legged

Schematic

  • Arduino pin 10 --> resistor 330 Ohm --> Signal pin of the module
  • Arduino pin 11 --> resistor 330 Ohm --> Middel pin of the module
  • Arduino GND --> module -/GND

Example Code

// Arduino test code for KY011
int redpin = 11; // select the pin for the red LED
int greenpin = 10; // select the pin for the green LED
int val;
void setup () {
   pinMode (redpin, OUTPUT);
   pinMode (greenpin, OUTPUT);
}
void loop () {
   for (val = 255; val> 0; val--)
      {
      analogWrite (greenpin, val);
      analogWrite (redpin, 255-val);
      delay (15);
   }
   for (val = 0; val <255; val++)
      {
      analogWrite (greenpin, val);
      analogWrite (redpin, 255-val);
      delay (15);
   }  
}

Related products

TOP