Controlling the RGB LED Strip using the Arduino
We depict the mood of the weather forecast by using RGB LED lighting. We indicate cold weather indications with blue color lighting, fair weather conditions with green lighting, and warm/dangerous weather conditions using red lighting. In this section, we will look into controlling an RGB LED using the Arduino.
The RGB LED strip sold by Adafruit industries (http://www.adafruit.com/products/1004) consumes about 60 mA per segment. It is best recommended to drive the RGB LED strip using a transistor switching circuit. We need to use three transistors for the three colors and it is possible to control each color individually and it is also possible to obtain a combination of colours.
Note
It is possible to produce a secondary color using the RGB combinations. This can be achieved by turning on the RGB segments at the same time and varying the brightness of the primary colors. There are vast resources available for such tips and tricks on the Internet...