3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino RGB led controller

Arduino RGB led controller
i recently got an arduino and the first project i tried was oomlouts instructable. there was to much work to do on the code so i made a simpler one.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts

parts
for the parts you will need
a common cathode rgb led
3 270-330 ohm resistors
an arduino der

if you have a common anode instead
you will need
3 NPN transistors
3 1k resistors
« Previous StepDownload PDFView All StepsNext Step »
17 comments
Aug 17, 2010. 9:00 PMAzurusNova says:
I have been looking for a way to do this but to safely use my arduino to control the RGB lighting in my room with the 12V 3A power supply without burning out my arduino and using the PWM for the control. Do you have any advice?
Apr 12, 2012. 11:45 PMarduinopowered says:
Also try MOSFETS
Dec 24, 2011. 6:26 AMdiy_bloke says:
I cld be mistaken but isn't the Arduino capable of sinking the LED current and therefore you wld not really need the transistors?
Apr 12, 2012. 11:44 PMarduinopowered says:
Its for say driving more than 1 rgb led
Apr 15, 2010. 1:56 AMNyox says:
Shouldn't be better to use a led driver for an rgb led with different voltages for every channel? Someone said using resistors is not safe for the led lifetime.
Jan 6, 2012. 11:50 PMHyperStudioGuy says:
Is the diagram correct for the direction of the diodes? It looks like the triangles are facing the wrong direction.
Apr 12, 2012. 11:44 PMarduinopowered says:
Yes the dirgram for the diodes is wrong reverse them
Jul 20, 2011. 10:50 AMSnuletek says:
isnt this a picture of a common anode?
Nov 15, 2010. 6:57 AMAbaud4 says:
The code isn't downloading as the correct file, everytime I try to run it out the folder it won't open.
Nov 11, 2010. 8:52 PMsatiredun says:
(removed by author or community request)
Oct 13, 2010. 3:10 PMAdam Manick says:
What arduino is this?
Oct 19, 2010. 2:41 PMcatsnw says:
a duemilanove with, looks to be, 328.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
5
Followers
3
Author:sapc