Arduino RGB LED Tutorial

preview_player
Показать описание
Support The Geek Pub by going Premium and get access to all of our plans and member videos:

Support this Channel on Patreon:

In this Arduino Tutorial we cover the basics of using RGB LEDs in our Arduino projects!

00:00 - Intro
00:11 - Concept
00:17 - What you need
00:31 - Hardware build
01:38 - Software configuration
03:00 - RGB LED switching colors
03:12 - Software change to Rainbow code
03:22 - Rainbow RGB LED
03:52 - More at TheGeekPub!

Detailed article with wiring diagrams and code examples:

Get your very own GEEK PUB UNO here:

PARTS LIST FOR THIS PROJECT:

Find us on Social Media:
Рекомендации по теме
Комментарии
Автор

It should be noted that I have a habit of always connecting the Arduino's +/- rails to the breadboard. But in this project the + rail was not really needed. Old habits!

TheGeekPub
Автор

I like how your jumper cables are double bent on each end so that you can easily see where they are plugged in.

Electronzap
Автор

You didn't explain LED's pins, also no need the 5 Volts and also you didn't use rgb integers in your code.

remali
Автор

Q tal mucho gusto alguien de casulidad save que significa el 255 en cada color

orlandoorozco
Автор

Umm, it seems you are not using the positive rail in this project, why did you connect it then?

Dukefazon
Автор

I actually get excieted when I see your new videos, and when I hear the entry music. I'm 52 LOL that is pathetic... but please keep all these video coming. More Please!

robertshowe
Автор

I got a kit and I'm going through the lessons for RGB. Changing the value of the timing works, but nothing changes when I change the values if the colors. I took a break and when so plugged it back in the light faded just with blue as before it was red blue and white. I hadnt changed anything to make it do that. Where is the exact spot where you change the values? The text on mine goes through the different values 3 times describing the fading between the colors. I am so confused as the obvious place I think to change the values doesnt do anything. Thank you.

MattyJ
Автор

What is the website that you used for the coding

manoshraam
Автор

It is not rgb, it comes only blueish greenish. Can you update the code?

kaustubhgupta
Автор

Why not just use 1 resistor on the ground pin instead of 3 on the other pins?

arsailor