Make: Projects

RGB LED Lamp

Create an RGB LED lamp with an Arduino.

Steps

Step #1: Electronic Sketch.

PrevNext
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:

PrevNext
RGB LED LampRGB LED LampRGB LED Lamp

The gray cable is obviously the ground.

Step #3:

PrevNext
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.


  • Reed S

    Me too!

  • Reed S

    Whoa, what language was the app in???

    -Re3d

  • Sante Kotturi

    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.

  • warn people

    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.

  • Tripp

    Why doesn’t this tutorial recommend at least 100o resistors on the input lines?

  • Chinmay K

    Sir according to your program. Is that a Common anode or Common Cathode RGB Led?

    • Josh

      Common cathode. The common is running to ground. Common anode would have the common connected to 3.3v or 5v.