Introduction: RGB LED Color Changer
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
- Half sized breadboard
- Three buttons
- Jumper wires
- RGB led
- 1 KΩ resistor
- 9V battery
- 9V battery clip
These items can also be bought together from an electronics set, just search for breadboard kit on amazon.
Step 1: Add Buttons to the Breadboard
First place the buttons as shown above:
- First on e1 and e3
- Second on e6 and e8
- 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.
Step 2: Add RGB LED
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:
- Top on e19
- Second/Cathode on e20
- Third on e21
- Fourth on e22
The other legs are red, green and blue respectively.
Step 3: Add Resistor
Add the resistor from the second leg (cathode) from d20 to d24.
Step 4: Wire Everything Up
Connect the wires as shown above, or follow these steps:
- a1 to positive rail, usually marked with a '+' (does not matter where on the rail)
- a6 to positive rail
- a11 to positive rail
- a24 to negative rail
- d3 to d19
- c8 to c21
- b13 to b22
Step 5: Connect 9V Battery
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.
Step 6: We're Done!
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.





