Tag Archives: RGB

ESP8266 IoT Based RGB LED Strip Controller

In this project we are making WiFi based RGB LED Strip Controller using ESP8266 and Arduino IDE. First we make basic RGB LED Controller using NodeMCU to understand How to control RGB LED colors using PWM?. Then we make little advanced RGB LED Strip controller with easy to use color pallet selection user interface as shown below.

NodeMCU RGB LED Control

Continue reading ESP8266 IoT Based RGB LED Strip Controller

RGB LED Interfacing with Arduino

In some cases you need to display a static text with different colors, for this purpose you can use RGB LED Strips. In this tutorial we will learn how to interface RGB LED strip with arduino and drive it using ULN2003.

rgb-led-strip

This is a basic tutorial for using Common Anode RGB LED Strip, PWM, and switch. By the end, you will have single switch to control colors of the LED strip. Connect the LED’s anode lead to +12V and connect the 3 RGB cathode leads to digital pins 9, 10, 11 through ULN2003 respectively.

RGB LED Strip Pin out
RGB LED Strip Pin out

RGB LED Strip Connections with Arduino

To drive complete RGB LED Strip we have used ULN2003 as a driver circuit, LED strip works at 12V. You can combine ULN2003 driver outputs to get more current.

RGB LED Arduino Interfacing Circuit
RGB LED Arduino Interfacing Circuit

Arduino Code for RGB LED Color Control

Results

Press switch and see that we have around ten different colors; You can change the color using SetColor(R,G,B). try different values of RGB.