Control RGB Light With Computer Color Palatte

4,472

124

3

Intro: Control RGB Light With Computer Color Palatte

Hi guys in this instructable i'm gonna teach you how to control a RGB light with computer color palatte..
you can produce almost all colors in RGB light as your wish with the help of color palatte..

Step 1: Components Required

The materials required are

  • ARDUINO
  • RGB light
  • Resistor (220 ohm)
  • wires
  • wire cutter and wire stripper
  • USB cable

Step 2: Circuit Diagram

The connections are too simple. you just need to connect the RGB led with arduino pins 1,2 and 3 and connect the cathode of the led to GND with a series resistor of 220 ohm.

Step 3: CODE and VB Application

download arduino code and VB application from the link provided below
code and VB application


note: As i connected RGB LED with 3,5 and 6 pins,i declared them as output pins in setup function....please change change them per your need.

  1. Upload the using arduino IDE and run the VB application
  2. click color picker and select your desired color to be produced with RGB led.
  3. click write serial button and see the MAGIC.......!!!!
  4. In the COM port box write the com port where your is connected.(you can check it in device manager)

Share

    Recommendations

    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge
    • Optics Contest

      Optics Contest
    • Audio Contest 2018

      Audio Contest 2018

    3 Discussions

    0
    None
    FlorianS20

    2 years ago

    Could you please show the code for visual basic. I am trying to create a similar program, but since I have zero programming skills, I could use some examples :)

    1 reply