RGB LED Color Changer
![20230624_165357.jpg](/proxy/?url=https://content.instructables.com/FB7/RTE2/LJA0HC7K/FB7RTE2LJA0HC7K.jpg&filename=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
- 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.
Add Buttons to the Breadboard
![Untitled.png](/proxy/?url=https://content.instructables.com/FZH/8M4D/LJA0HJ4M/FZH8M4DLJA0HJ4M.png&filename=Untitled.png)
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.
Add RGB LED
![Untitled.png](/proxy/?url=https://content.instructables.com/FBU/QY51/LJA0HJ7P/FBUQY51LJA0HJ7P.png&filename=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:
- Top on e19
- Second/Cathode on e20
- Third on e21
- Fourth on e22
The other legs are red, green and blue respectively.
Add Resistor
![Untitled.png](/proxy/?url=https://content.instructables.com/FNP/XUH1/LJA0HK9Y/FNPXUH1LJA0HK9Y.png&filename=Untitled.png)
Add the resistor from the second leg (cathode) from d20 to d24.
Wire Everything Up
![Untitled.png](/proxy/?url=https://content.instructables.com/FMD/R6IH/LJA0HL3T/FMDR6IHLJA0HL3T.png&filename=Untitled.png)
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
Connect 9V Battery
![Untitled.png](/proxy/?url=https://content.instructables.com/F1E/MS4M/LJA0HLIB/F1EMS4MLJA0HLIB.png&filename=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](/proxy/?url=https://content.instructables.com/FGL/2W9H/LJA0HLXV/FGL2W9HLJA0HLXV.jpg&filename=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](/proxy/?url=https://content.instructables.com/FH9/CI4U/LJA0HM1T/FH9CI4ULJA0HM1T.png&filename=R.png)