RGB LED Color Changer

by DumbDuck in Circuits > LEDs

1815 Views, 20 Favorites, 0 Comments

RGB LED Color Changer

20230624_165357.jpg

This is an RGB led controlled by three buttons which cause it to change colors, it's even able to mix colors!

Circuit design made with TinkerCAD.

[ This is also my first submission :) ]

Supplies

  1. Half sized breadboard
  2. Three buttons
  3. Jumper wires
  4. RGB led
  5. 1 KΩ resistor
  6. 9V battery
  7. 9V battery clip

These items can also be bought together from an electronics set, just search for breadboard kit on amazon.

Add Buttons to the Breadboard

Untitled.png

First place the buttons as shown above:

  1. First on e1 and e3
  2. Second on e6 and e8
  3. Third on e11 and e13

The top will be red, middle green and last blue. When held they will produce the desired color on the LED.

Add RGB LED

Untitled.png

The RGB LED will have four legs, the longest leg is the cathode. Put the cathode on e20 on the breadboard, and the rest as shown above:

  1. Top on e19
  2. Second/Cathode on e20
  3. Third on e21
  4. Fourth on e22

The other legs are red, green and blue respectively.

Add Resistor

Untitled.png

Add the resistor from the second leg (cathode) from d20 to d24.

Wire Everything Up

Untitled.png

Connect the wires as shown above, or follow these steps:

  1. a1 to positive rail, usually marked with a '+' (does not matter where on the rail)
  2. a6 to positive rail
  3. a11 to positive rail
  4. a24 to negative rail
  5. d3 to d19
  6. c8 to c21
  7. b13 to b22

Connect 9V Battery

Untitled.png

Apply the battery clip and connect the positive wire, usually red, to the positive rail marked with a '+'. Then connect the negative, usually black, to the negative rail marked with a '-'. It does not matter wher on the rail you connect the wires.

We're Done!

20230624_170400.jpg

Experiment by pressing each button and seeing which color the LED lights up. You can even try to hold multiple down together to make different colors. A guide to this is shown below.

Color Assistance

R.png