Introduction: Control RGB LED With Arduino and Processing.

About: I am a student of Electronics and Communication Engineering. Who loves Travelling, Nature and above all ELECTRONICS and SOLDERING :p. Want to make a breakthrough in my feild of study.

I will today tell you how to control a RGB LED with help of Arduino and Processing language. This is my first instructable So, please let me know if I could anything improve and if you have any kind of questions leave them in the comment box, I would love to answer them. Simply you need the following items for this sweet little project.

  • 1 X RGB LED
  • Arduino
  • 8 X Connecting Wires
  • reflecting sheet ( optional)
  • 1 X Breadboard

Step 1:

These two are the codes of Arduino and Processing respectively. Main thing we are doing here is just controlling and RGB Led by clicking anf image named "color" and having extention ".jpg".

Step 2:

Now how does this program works:

The image we have uploaded using Processing is basis of this program. When we click on the image anywhere, the RGB value of that particular spot or pixel is sent to the Arduino and the RGB value of the led changes correspondingly and lights up in that color.

Step 3:

One tip here is that if you do not have an RGB led you and do the same by one green, red and blue led and connecting them in the same way the RGB led is to be joined. Mine here is common cathode but a common anode will also work.

Please feel free to ask any question I would love to answer them. And suggestions are also invited

hope you Enjoy it.

Thank You.

Step 4: