Introduction: Simple Arduino RGB Led

Picture of Simple Arduino RGB Led

This is an simple RGB led for arduino you can plug it in and it takes pin:13(green) 12(red) 11(blue).
you can buy modules for 5$ that have ic2 or spi but they are a lot more complicated tot program
and for lees than 2$ you can make your town thats much simplyer tot program

Step 1: Things You Need

Picture of Things You Need

you will need a trough hole print, 4 headers, an soldering iron + tin, any common andode RGB led (i recommend a high power surface mount RGB led like this)

Step 2: Make It

Picture of Make It

1 - you take the though hole print and solder the led on it make sure it is in the right position
2 - start With one snap of tin
3 - solder the led on the tin
4 - solder all pins to the board
5 - solder all ground pins together
6 - solder on the headers
7 - now you have created your very own RGB led module for arduino or other things

Step 3: Try It

Picture of Try It

Plug it in your arduino or breadboard or solder it in a trough hole print,

Step 4: The Code

For the people who want to use it in arduino here a little demo code :

int red = 12;
int green = 13;
int blue = 11;

void setup() {
pinMode(red, OUTPUT);
pinMode(green, OUTPUT);
pinMode(blue, OUTPUT);
}

void loop() {
digitalWrite(red, HIGH);
delay(500);
digitalWrite(red, LOW);
delay(500);
digitalWrite(green, HIGH);
delay(500);
digitalWrite(green, LOW);
delay(500);
digitalWrite(blue, HIGH);
delay(500);
digitalWrite(blue, LOW);
delay(500);
}

Step 5:

i'am new on instructables and i'am fron Holland so if i make a mistake let me know about it

Step 6:

Comments

Akin Yildiz made it! (author)2014-12-22

finally finished my project - thank you for the very simple code.!!

domints (author)2013-12-08

You should not connect this like that, because of not having a resistors. You could break a LED or your arduino.

Techie20 (author)domints2013-12-12

Thanks for the hint i update the instructable soon!

domints (author)Techie202013-12-18

And if you use pins 9, 10 and 11 (I know it's hard because of distance from GND) you would be able to make even more colours using analogWrite ;)

About This Instructable

2,025views

22favorites

License:

More by Techie20:Simple arduino RGB led
Add instructable to: