KY-029 Dual Color LED Module with Arduino

Introduction

The KY-029 Dual Color LED module is an essential electronic component in the field of DIY electronics and hobbyist projects. This module consists of two LEDs of different colors that can be controlled independently, allowing users to create various color combinations and light effects. It is a versatile and easy-to-use module that is widely used in a range of electronic projects.

This module is compatible with popular electronic platforms like Arduino, ESP32, Raspberry Pi, and other microcontrollers. This module is equivalent to the KY-011 Two-Color LED module.

Hardware Required

You will require the following Hardware Components for interfacing the KY-029 Dual Color LED Module with Arduino.

Components#Buy From Amazon
Arduino UNO1Buy Now
KY-029 Dual Color LED Module1Buy Now
Resistor 330Ω2Buy Now
Jumper Wires3Buy Now
Breadboard1Buy Now

What is the Module?

The KY-029 Dual Color LED module is an electronic component that consists of two LEDs of different colors that can be controlled independently. The module is composed of a PCB board, two LEDs (red and green), a resistor, and a few other electronic components. The module can be controlled using a microcontroller or other electronic components to create various color combinations and light effects.

KY-029 Dual-Color-LED-module-with-Arduino

Specifications

The module features a common cathode 5mm red/green LED, a 0Ω resistor, and 3 male pin headers. It is important to use this module with limiting resistors to prevent the LED from burning out during prolonged use.

Operating Voltage2.3-2.6V for green, 1.9-2.2V for red
Current Consumption20mA per LED
LED ColorsRed and Green
Output SignalDigital (High/Low)
Diameter5mm
Package TypeDiffusion
Wavelength571nm + 625nm
Luminous Intensity20~40mcd,  60~80mcd

Features

  1. Two LEDs of different colors that can be controlled independently
  2. Easy to integrate with other electronic components
  3. Low power consumption
  4. Versatile and easy to use
  5. Can create various color combinations and light effects

Pinout

KY-029 Dual-Color-LED-module-Pinout

Pin Configuration

Pin NamePin Type
SSignal Pin
middleVCC Pin
Ground Pin

Circuit Diagram

The following circuit shows you the connection of the KY-029 Dual Color LED Module with Arduino Please make the connection carefully

How-to-KY-029 Dual-Color-LED-module-Interfacing-with-Arduino-Circuit

Circuit Connections

ArduinoModule
GNDGND Pin
Pin 10S Pin with R1
Pin 11middle with R2

Installing Arduino IDE Software

First, you will require to Download the updated version of Arduino IDE Software and Install it on your PC or laptop. if you Learn How to install the Arduino step-by-step guide then click on how to install Arduino Button given Blow

Code

//For more Projects: www.arduinocircuit.com
int redpin = 11;  // pin for the red LED
int greenpin = 10;// pin for the green LED
int val;
void setup() 
{
  pinMode(redpin, OUTPUT);
  pinMode(greenpin, OUTPUT);
  Serial.begin(9600);
}
void loop() 
{
  for(val = 255; val > 0; val--)
  {
    analogWrite(redpin, val);
    analogWrite(greenpin, 255 - val);
    delay(10);
  }
  Serial.println("Green");
  delay(1000);
  
  for(val = 0; val < 255; val++)
  {
    analogWrite(redpin, val);
    analogWrite(greenpin, 255 - val);
    delay(10); 
  }
  Serial.println("Red");
  delay(1000); 
}

Applications

  1. DIY electronic projects
  2. Mood lighting
  3. Signage and displays
  4. Home automation
  5. Entertainment and gaming

Conclusion

The KY-029 Dual Color LED module is an essential electronic component in the field of DIY electronics and hobbyist projects. With its two LEDs of different colors that can be controlled independently, it allows users to create various color combinations and light effects. Whether you’re building a mood lighting system, a digital signage display, or an entertainment or gaming device, the KY-029 Dual Color LED module is a versatile and easy-to-use component that can help bring your projects to life.

Leave a Comment


error: