Electronic components: RGB LEDs

An RGB LED is a special kind of LED that looks like a regular LED, but it has 4 leads and it can display a different color based on the configuration.

We talked about LEDs previously. Normal LEDs typically have one color, which can usually …


This content originally appeared on flaviocopes.com and was authored by flaviocopes.com

An RGB LED is a special kind of LED that looks like a regular LED, but it has 4 leads and it can display a different color based on the configuration.

We talked about LEDs previously. Normal LEDs typically have one color, which can usually be red, blue, green, yellow, white, and it has 2 leads:

An RGB LED is like 3 LEDs into one, but it’s even more, because it can create any color from those 3 primary colors, by providing different amounts of current to each lead. Just search “mixing primary colors” on Google for more information on this.

The 4 leads are one for each primary color, red, blue, green, and then one common pin.

There are 2 kinds of RGB LEDs: common anode and common cathode.

Remember, LEDs are diodes, so the direction of the current is important

In a common cathode configuration, the common pin is the ground.

In a common anode configuration, the common pin is Vcc, the positive voltage.

This is very important for how we build our circuits. Remember that LEDs need to be connected to a resistor to limit the current.

How do you find out, if you don’t now which type of RGB LED do you have? The easiest way is to test it.

Connect the RGB LED to a breadboard:

Now connect the longest pin to ground and a pin to + through a resistor. I used a 1kΩ resistor in this example:

Now connect a battery, a 9V battery for example, and see if it lights up:

Great! Now you can change the color of the LED by connecting the other 3 pins with resistors of different resistance values:


This content originally appeared on flaviocopes.com and was authored by flaviocopes.com


Print Share Comment Cite Upload Translate Updates
APA

flaviocopes.com | Sciencx (2021-03-11T05:00:00+00:00) Electronic components: RGB LEDs. Retrieved from https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/

MLA
" » Electronic components: RGB LEDs." flaviocopes.com | Sciencx - Thursday March 11, 2021, https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/
HARVARD
flaviocopes.com | Sciencx Thursday March 11, 2021 » Electronic components: RGB LEDs., viewed ,<https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/>
VANCOUVER
flaviocopes.com | Sciencx - » Electronic components: RGB LEDs. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/
CHICAGO
" » Electronic components: RGB LEDs." flaviocopes.com | Sciencx - Accessed . https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/
IEEE
" » Electronic components: RGB LEDs." flaviocopes.com | Sciencx [Online]. Available: https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/. [Accessed: ]
rf:citation
» Electronic components: RGB LEDs | flaviocopes.com | Sciencx | https://www.scien.cx/2021/03/11/electronic-components-rgb-leds/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.