Make: Projects

RGB LED Lamp

Create an RGB LED lamp with an Arduino.

  • By alpinenapo
  • Category: Arduino
  • Time Required: 10 minutes
  • Difficulty: Easy
RGB LED Lamp

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

Steps

Step #1: Electronic Sketch.

Next
RGB LED Lamp
  • The RED pin is attached to pin 9
  • The GREEN pin is attached to pin 6
  • The BLUE pin is attached to pin 5
  • The BLACK pin is atteched to GND

Step #2:

Next
RGB LED LampRGB LED LampRGB LED Lamp
  • The gray cable is obviously the ground.

Step #3:

RGB LED LampRGB LED LampRGB LED LampRGB LED Lamp
  • The three colours in series. There is a small fade between one colour and the next.

4 Responses to RGB LED Lamp

  1. Me too!

  2. Whoa, what language was the app in???

    -Re3d

  3. Sante Kotturi on said:

    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.

  4. warn people on said:

    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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

%d bloggers like this: