How To Use An RGB LED - Arduino Tutorial : 4 Steps (with Pictures)
Maybe your like
Introduction: How to Use an RGB LED - Arduino Tutorial
By codebender_ccwww.codebender.ccFollow More by the author: 

About: Arduino Tutorials by Codebender.cc Team More About codebender_cc »An RGB LED has 4 pins, one for each color (Red, Green, Blue) and a common cathode. It has tree different color-emitting diodes that can be combined to create all sorts of color! Any color is possible depending on how bright each diode is.
Watch the following video:
In this tutorial you will learn how to use an RGB LED with Arduino and create unique color combinations.
So, let's get started!
Step 1: What You Will Need
For this tutorial you will need:
- Arduino uno
- Breadboard
- RGB LED
- 3x 330Ohm resistors
Step 2: The Circuit
The connections are pretty easy, see the image above with the breadboard circuit schematic.
Step 3: The Code
Here's the code, embedded using codebender!
We will use code from SparkFun Inventor's Kit - SIK Guide, Example sketch 03. This is the best sketch to learn how an RGB LED works. The code is pretty self-explanatory, and the comments do a better job than me explaining how it works.
Try downloading the codebender plugin and clicking on the Run on Arduino button to program your Arduino board with this sketch. And that's it, you've programmed yourArduino with the RGB LED sketch!
Step 4: Well Done!
You have successfully completed one more Arduino "How to" tutorial and you learned how to use an RGB LED with Arduino.
Tag » Arduino Lesson 4 Rgb Led Code
-
Lesson 4 - RGB LED - YouTube
-
Getting Started With The Elegoo Mega 2560, Lesson 4 RGB LED
-
Lesson 4 RGB LED - GitHub
-
[PDF] Lesson 4 RGB LED - Fab Academy
-
Lesson 4 - RGB LED - Getting Started With Arduino - Research Guides
-
Arduino Tutorial #4: RGB LED - Legacy Personal Blogs
-
Arduino Lesson 4. Eight LEDs And A Shift Register
-
RGB LED | Arduino Tutorial
-
How To Use A RGB LED With Arduino | Tutorial - How To Mechatronics
-
Arduino RGB LED Tutorial - Starting Electronics
-
Arduino Lesson 4 - Control An RGB LED With PWM - Adeept Video
-
Lesson 4: The Arduino Programming Environment - Tech Explorations
-
Arduino Tutorial #4: RGB LEDs - Pinterest
-
[PDF] Arduino: RGB LEDs Diagrams & Code - Brown County Library