Hello my friends, in this instructable i will show you how to make a basic RGB led controller with Arduino.
This control will let you to switch between seven colors, in 5 operational modes. To change the color or the mode you just have to press a button. So when you press the button the led will change the color, and after the seventh color it will change its operational mode. The order of colors and modes is the following:
- Manual Mode:
Watch the video so you can see how it works!!!
Step 1: Materials and Connections Diagram
For doing this controller you will need the following things:
- Arduino UNO Board.
- Common catode RGB LED x 1.
- Push Button normally open x 1.
- 10K Resistor x 1.
- 220 ohms Resistors x 3.
When you have all of the materials just follow the connections diagram posted here.
Step 2: Uploading the Code to Your Arduino!!
When you are done with the hardware connections, just plug your Arduino board to your PC with the USB cable, and upload the sketch that you can download in the link below:
Once you have done this, your RGB led should be shining in blue. Yayy!!!
So that's all my friends, if you have any doubt let me know on the comments and i will be happy to help you. Happy coding!!