What is RGB LED?
The RGB semiconductor diode can emit fully totally different colours by combination the 3 basic colours red, inexperienced and blue. so it very consists of 3 separate LEDs red, inexperienced associate degreed blue packed in an extremely single case. That’s why it’s four leads, one lead for each one in all the 3 colours and one common cathode or anode relying upon the RGB semiconductor diode kind. throughout this tutorial, ready to|i’ll} be able to be using a typical cathode one.
The cathode goes to be connected to rock bottom and conjointly the 3 nodes square measure about to be connected through 220 Ohms resistors to 3 digital pins on the Arduino Board that will supply PWM signal. we’ll use PWM for simulating analog output which may supply entirely totally different voltage levels to the LEDs, therefore, we tend to square measure ready to get the desired colours.
We will use PWM for simulating analog output which is able to give completely different voltage levels to the LEDs therefore we are able to get the specified colours.