In this project i made a rgb cube out of 3 normal led's. Rgb stands for red, green and blue, so i used 1 led of each color. I also placed a paper cube above the led's so that you can see the rgb colors instead of just the 3 led's. To make different colors, you can adjust the brightness of each led, by writing higher or lower values to the led's using an arduino. For example if you want to make purple, we write a value of 255 to the red led, a value of 0 to the green led, and a value of 100 to the blue led.
Step 1: Parts Needed for This Project
Here is a list of the parts needed for this project :
- jumper wires
- 3 220 ohm resistors
- 1 red, 1 green and 1 blue led
Step 2: Schematics
The circuit is not that difficult to make. Place 3 led's like in the picture, and connect the shorter legs of the led's(-) to the ground row on the breadbord. Connect the ground row to ground on the arduino. After that connect the 220 ohm resistors to the longer legs(+)of the led's and connect some jumper wires from the resistors to pins 11,12 and 13 on the arduino.
Step 3: The Paper Box
Step 4: The Code
Step 5: Final
The last step is to upload the code to the arduino and experiment with the colors of the rgb cube.
Feel free to leave a comment if you don't understand something, or if you know how to improve the rgb cube.