Create an RGB LED lamp with an Arduino.
A simple project using an Arduino that will allow you to create an RGB LED lamp.
All that you need for this project is an Arduino and an RGB LED.
Here you can download the code for the Arduino: Arduino code
The gray cable is obviously the ground.
The three colours in series. There is a small fade between one colour and the next.
Whoa, what language was the app in???
Yea, I bought the ultimate kit from make. They ship common anode, not cathode… only fried one RGB LED to figure that out…
@Kevin, there’s a technical reason why red isnt a bright. If you use a ‘smaller’ resistor, it should be brighter. I’m using 220 on blue & green, 100 on red and it’s working better.
You should be less critical, for something so basic it goes without saying that you have to “salt to taste” . Not all RGB LED s Will use the same voltage & current.
Why doesn’t this tutorial recommend at least 100o resistors on the input lines?
Sir according to your program. Is that a Common anode or Common Cathode RGB Led?
Common cathode. The common is running to ground. Common anode would have the common connected to 3.3v or 5v.
Send us feedback on our site design, bugs, story ideas, maker community events and any other share-worthy thoughts.
We can't guarantee a response to each submission, but we promise to think about every one.
Stay inspired with the Make: newsletter
Make: and Maker Faire are registered trademarks of Maker Media, Inc. | Privacy | Terms
Copyright © 2004-2017 Maker Media, Inc. All rights reserved
you are now signed up to the Make: newsletter.
The latest news about startups, products, incubators, and innovators.
Keep up with the Greatest Show(and tell) on Earth.
Be the first to learn about new products, plus exclusive discounts.
Thanks for signing up.
Your FREE PDF is on its way. Please check your email. You will also be receiving the weekly Make: Newsletter to keep you inspired with new projects and more product reviews.
Your changes have been saved. Keep Making!
Thanks for your submission. Our editors will review your materials and follow up with you via email as soon as possible. In the meantime, keep making stuff!
Make: is the voice of the Maker Movement, empowering, inspiring, and connecting Makers worldwide to tinker and hack. Subscribe to Make Magazine Today!
Stay inspired, keep making.