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.

RGB LED Tutorial (using an Arduino) (RGBL)

Step 6Finished

Finished
By this point you've mastered controlling an RGB LED all that's left is coming up with great ideas on how to use it.

We have loads of plans for them around oomlout HQ and we'd love too hear about what you get up to. Please leave a coment below or send us an e-mail to info@oomlout.com with any details.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Sep 12, 2010. 2:26 PMrobot+more says:
Where did you get that glowing USB cord or did u make it ?
May 11, 2010. 1:24 PMakebonoCherry says:
 Thank you for posting this info and the sample code! It's a big help.

I'm using some 4 pin Common Anode RGB LEDs w/ 220ohm resistors to good effect. My LED pins are the straight kind, different from your example but same enough. With the long pin Pin2 (second in from the left) they are Pin1.Green; Pin2.Power(+5v); Pin3.Blue; Pin4.Red. I'd been having trouble because I'd connected Pin2 to Ground, which might be true for Common Cathode? Anyway, your example gave me some concepts to play with and I got it working. Thanks!!!

I've integrated my PWM RGB LED with some random value generating code to produce an Arduino mood light that changes into a notification light when signaled from "Processing" over the Serial Connection.

Maybe I'll turn it into my first instructable. :)
Cheers!
Portland, Oregon.

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!
408
Followers
14
Author:oomlout