In this video, we are going to see how to use a common cathode RGB LED with Arduino.
WHERE TO BUY
Arduino Uno: http://educ8s.tv/part/ArduinoUno
RGB LEDs: http://bit.ly/10_RGB_LED
Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!
Hey guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. In this video, we are going to learn how to use an RGB led with Arduino, a very interesting type of LED. As you can see I have connected this LED to an Arduino Uno and every second it changes its color. That’s very handy because we can use only one LED in our projects and produce many colors!
But what is an RGB LED? An RGB LED is a light emitting diode which can display any color we want. It consists of 3 discrete LEDs, a RED, a GREEN, and a BLUE LED housed in a single package. So by combining these 3 colors we can create any color. As you can see, the RGB LED has 4 pins. So far the LEDs we were using only had 2 pins. The pins are used in order to control the color of the LED. The longest pin is either the anode or the cathode depending on the type of the RGB LED. The LED I have bought is a common cathode LED so the longest leg will be connected to GND. If it was a common anode LED, the longest pin would connect to 5V. The other three pins are Red, Green, and Blue. Let’s connect this RGB LED to Arduino and see how to make it work.
CODE OF THE PROJECT
Get Rich Quiz Game
You can download my latest Android Game which is called Get Rich here:
Arduino Datalogger: https://www.youtube.com/watch?v=oei3Y6tOhVI
Arduino Weather Station Project: https://www.youtube.com/watch?v=9jN-3DtS1RI
Arduino Nokia 5110 LCD Display: https://www.youtube.com/watch?v=aDwrMeu4k9Y
Arduino OLED display tutorial: https://www.youtube.com/watch?v=A9EwJ7M7OsI
DIY Arduino: https://www.youtube.com/watch?v=npc3uzEVvc0
Educ8s.tv is a Youtube channel and website which is dedicated to developing high-quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information: http://www.educ8s.tv
SUBSCRIBE ON YOUTUBE
Never miss a video: https://www.youtube.com/subscription_center?add_user=educ8s