RGB LED Controlled by Arduino

by fdr1929 in Circuits > Arduino

3206 Views, 14 Favorites, 0 Comments

RGB LED Controlled by Arduino

Control de LED RGB 5mm Arduino
Control de LED RGB 5mm Arduino

Hello my friends, in this instructable i will show you how to make a basic RGB led controller with Arduino.

This control will let you to switch between seven colors, in 5 operational modes. To change the color or the mode you just have to press a button. So when you press the button the led will change the color, and after the seventh color it will change its operational mode. The order of colors and modes is the following:

  1. Manual Mode:
    1. Blue.
    2. Magenta.
    3. Red.
    4. Yellow.
    5. Green.
    6. Cian.
    7. White
  2. Automatic Faded Mode.
  3. Inverted Automatic Faded Mode.
  4. Automatic Temporized Color Change Mode.
  5. Inverted Automatic Temporized Color Change Mode.

Watch the video so you can see how it works!!!

Materials and Connections Diagram

Control LED RGB con Arduino Diagrama.jpg

For doing this controller you will need the following things:

  1. Arduino UNO Board.
  2. Common catode RGB LED x 1.
  3. Protoboard.
  4. Push Button normally open x 1.
  5. 10K Resistor x 1.
  6. 220 ohms Resistors x 3.

When you have all of the materials just follow the connections diagram posted here.

Uploading the Code to Your Arduino!!

Control LED RGB arduino código preview.JPG

When you are done with the hardware connections, just plug your Arduino board to your PC with the USB cable, and upload the sketch that you can download in the link below:

http://www.mediafire.com/file/cblzd828wgwdllk/Control_RGB_Psh_Buton.rar

Once you have done this, your RGB led should be shining in blue. Yayy!!!

So that's all my friends, if you have any doubt let me know on the comments and i will be happy to help you. Happy coding!!