Tags: Led, Rgb, Module, Ky-016, 3 Colors, board, breakout

LED RGB Module KY-016 3 Colors

  • 5.00 AED
    • Ex Tax:5.00 AED
    • Product Code: Ky-016 RGB Module
    • Availability: In Stock
    The RGB Led Module KY-016 is a board that aims to facilitate the implementation of small projects with an RGB LED. The RGB LED has the ability to display a large number of colors that originate from three primary colors. This type of LED has three LEDs encapsulated in the same device, wher..

    The RGB Led Module KY-016 is a board that aims to facilitate the implementation of small projects with an RGB LED. The RGB LED has the ability to display a large number of colors that originate from three primary colors. This type of LED has three LEDs encapsulated in the same device, where each LED represents a different color: red ( Red), green ( G green), and blue ( Blue). Each of these LEDs can be individually controlled and if combined they can generate different colors.

    - Specifications and characteristics:

    - Operating voltage (red): 2 to 2.5VDC
    - Operating voltage (green): 3.2 to 3.6VDC
    - Operating voltage (blue): 3.2 to 3.6VDC
    - Operating current (in each LED): 20mA
    - Configuration: common cathode
    - Wavelength (red): 620nm
    - Wavelength (green): 520nm
    - Wavelength (blue): 470nm
    - Operating temperature: -40º to 85º celsius
    - Opening angle: 30th

    - Applications:

    Projects with Arduino or other microcontroller platforms that require an RGB LED to signal something through different colors and without the need to use an LED for each signaling.

    - Practice proposal:

    Use the RGB Led Module - KY-016 in conjunction with the Arduino and mix the primary colors to generate several other colors.

    - List of needed items:

    1* - Arduino with USB Cable
    1* - KY-016 RGB Led Module
    4* - Male-female Jumper cables

    this how to connect LED RGB Module KY-016 3 Color in the below connection scheme

    img01_como_usar_com_arduino_modulo_led_rgb_ky-016_uno_mega_2560_leonardo_nano


    -The Arduino Code for LED RGB Module KY-016 3 Color :

    Arduino
    int pinoRed = 9; 
    int pinoGreen = 10;
    int pinoBlue = 11;
    int val; //VARIÁVEL DO TIPO INTEIRA
    void setup(){
    pinMode(pinoRed, OUTPUT); 
    pinMode(pinoBlue, OUTPUT); //DEFINE O PINO COMO SAÍDA
    pinMode(pinoGreen, OUTPUT); //DEFINE O PINO COMO SAÍDA
    }
    void loop (){
    for(val = 255; val > 0; val --){ //PARA val IGUAL A 255, ENQUANTO val MAIOR QUE 0, DECREMENTA val
    analogWrite(pinoRed, val); //PINO RECEBE O VALOR
    analogWrite(pinoBlue, 255-val); //PINO RECEBE O VALOR
    analogWrite(pinoGreen, 128-val); 
    delay (10);
    }
    for(val = 0; val < 255; val ++){
    analogWrite(pinoRed, val); 
    analogWrite(pinoBlue, 255-val);
    analogWrite(pinoGreen, 128-val); 
    delay (10); 
    }
    }

    There are no reviews for this product.

    Write a review

    Please login or register to review