- Create a spectrum of colors using an RGB LED.
For this experiment, you will need
- Arduino Uno
- RGB LED (common cathode)
- Jumper cables (Male to Male)
RGB stands for Red, Green, and Blue. The combination of these three colors can produce over 16 million hues.
An LED having the ability to glow Red, Blue, and Green is called an RGB LED. There are two different types of RGB LEDs namely common cathode RGB LED and common anode RGB LED.
Interfacing Common cathode (-) RGB LED with Arduino
Coding on the Arduino IDE
Now, let’s make the RGB LED cycle through the entire color spectrum.
There you go!