• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Lamps and Lights / RGB Light Strip Controller Circuits

RGB Light Strip Controller Circuits

Last Updated on January 12, 2024 by Swagatam 32 Comments

In this post we are going to see how we can construct an RGB LED light strip controller circuit for PC cabinets and also for general decoration purposes. In this post we will construct a couple of RGB light strip controller designs, one for a PC cabinets and one for general purpose which can be operated using any IR remote and push buttons. 

Table of Contents
  • PC cabinet RGB strip controller circuit: Static illumination 
  • Incorporating brightness control:  
  • PWM source:
  • Running light for PC cabinet:
  • Incorporating brightness control:
  • IR controlled RGB light strip: (for general purpose)
  • How to smoothly transition between colors?

RGB lights for PC

RGB LED light strip overview:

image5

LED light strips are long flexible PCB (with sticky back) with RGB LEDs soldered on it; they can be cut into different lengths as we wish and can be powered with the same voltage regardless of the customized length. 

There are single colored and multi-colored LED light strips. A single colored light strip contains only one color LED, obviously and doesn’t need a control circuitry unless you want it for flashing or controlling brightness. 

The most common light strips are multi-colored RGB and RGBW; RGB light strip contains red, green and blue LEDs and RGBW consists of one additional pure white LED, because achieving white color by mixing RGB may not always look pleasant. RGB LEDs illuminate together with different brightness to achieve several different colors that individual LEDs cannot. The RGB light strip requires a control circuitry.

PC cabinet RGB strip controller circuit: Static illumination 

The proposed circuit is segregated into multiple sections for better understanding and illustration.  The proposed RGB controller for the PC cabinet can illuminate 7 different colors and after the 7th color the strip turns OFF. The circuit shown below is responsible for selecting an illumination color.

1

The above circuit consists of IC 4017, bunch of NPN transistors and diodes which are connected to a RGB LED strip. An IC 4017 is employed, which is a Johnson decade counter which can count from 0 to 9 (it can make its output sequentially HIGH according to the incoming clock pulse). 

The outputs of IC 4017 are fed to the base terminal of the transistors which will turn ON and OFF specific LED color of the light strip. We can also see there are a bunch of diodes connected to collector terminals, this is for selecting multiple LEDs simultaneously to generate a new color and also to prevent current passing to inactive transistors which will light up unwanted LEDs.

The last two transistors are connected in parallel to create white color, since it needs to illuminate all the LEDs in a strip which will demand a larger current. If you have an RGBW light strip you may connect the last transistor to white LED terminal.

E:\Working\Homemade-circuits\PC light\monostable.jpg

The above circuit is responsible for providing a proper clock signal to IC 4017 which in turns changes the LED illumination color. The above circuit is a monostable multivibrator / debouncing stage which takes a (noisy) negative pulse from the push button and gives out a clean HIGH signal for a pre-determined period of time, so that the IC 4017 won’t register multiple button presses or skip some colors.  

A potentiometer is provided to adjust the output timing and please try to keep the pulse at pin #3 between 0.5 to 1 second for optimum operation. 

Incorporating brightness control:  

Many PC enthusiasts will love to have brightness control for their RGB light illumination, using the below shown circuit modification one can achieve variable brightness control.

3

The above circuit is employed with a couple of logic AND gates, the upper one controls the upper four transistors and lower AND gate controls the rest of the three transistors. One of the inputs of all AND gates are tied together and connected to a PWM source. The other inputs of all AND gates are connected to IC 4017’s output for selecting an illumination color.

NOTE: Please note that the above circuit also needs the debouncing stage for button input.

PWM source:

4

The above circuit generates a PWM signal which will be fed to AND gate. By adjusting the provided 47K potentiometer you can adjust the brightness of the LED strip. 

Running light for PC cabinet:

If you are not a fan of static illumination of LED light strips, you can try this circuit which flashes red, green and blue. 

5

The circuit is very easy to build; it has an astable multivibrator using IC 555 and IC 4017 to flash between red, green and blue. The astable multivibrator circuit generates a steady clock pulse which is fed to IC 4017. Every time when the IC 4017 receives a clock signal the output will be switched to a new color.  

You can set how fast switching of RGB color you want by adjusting the 100K potentiometer. 

Incorporating brightness control:

6

The above circuit is same as the previous one, only the difference is the addition of logic AND gate. There are four AND gates in the IC 7408 and we are utilizing three of them. One of the AND gate input of all three gates are tied together and connected to a PWM source and the other three inputs are for selecting illumination color. 

IR controlled RGB light strip: (for general purpose)

IR receiver debouncing circuit compressed

The above circuit is an IR receiver stage which can detect IR signals from any commonly used IR remote controllers.  

When an infrared signal is targeted towards the circuit, the incoming signal will be picked by TSOP1738 and converted to pulsating electrical pulses; the pulses are encoded with information which is irrelevant for this project, so we are using a capacitor to smooth it out. 

The output after smoothing is feeble and needs amplification, to accomplish this we are using a low power PNP transistor. A LED is connected to the IR stage which indicates that the IR signal has been detected. 

The amplified output is fed to a debouncing circuit which gives out a steady HIGH signal to the next stage. The purpose of debouncing circuit is to pick the received signal from the IR stage which could be noisy and gives a smooth output signal, thus noise and unintended multiple button clicks are eliminated. 

1

The clock signal from the debouncing stage is fed to pin 14 of IC 4017 which will switch the light strip’s illumination color. By pressing any button on the IR remote you can switch to your desired illumination color, after white color which is the last one you can turn off the LEDs in the light strip and by pressing a button on the remote we can cycle through all the colors again.

How to smoothly transition between colors?

We can smoothly transition between Red, Green and Blue colors by utilizing a capacitor with appropriate values (220uF to 1000uf) connected to the collector terminal and +12V. This will eliminate abrupt change of colors and also looks pleasant to our eyes. 

Note 1: The control circuitry works on 5V and the LED light strip works on 12V, meaning you need a dual power supply.

Note 2: If you are decorating your PC cabinet with RGB, do not power the control circuit or the RGB LED strip from the computer's SMPS, power it from an external wall adapter. 

You'll also like:

  • 1.  3 Watt, 5 Watt LED DC to DC Constant Current Driver Circuit
  • 2.  LED Arrow Direction Indicator Circuit
  • 3.  Electronic Candle Flame Simulator Circuit
  • 4.  Beacon Level Indicator Circuit for Combine Harvester Grain Tanks
  • 5.  Underwater LED Boost Converter Circuit with Dimmer
  • 6.  5 Easy 1 Watt LED Driver Circuits

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Microamp Meter Circuit
Next Post: Exploring Current Mirror Circuits with Practical Designs »

Reader Interactions

Comments

  1. Abhi Mehta says

    November 8, 2023 at 11:34 pm

    Hello Swagatam,
    Do you know of any ready made controller ICs which are used in commercial controllers like SP104E or SP105E and other similar very inexpensive controllers which are currently available in the market or are they made of these basic ICs like 4017 and 555?

    I am thinking that they are made of dedicated ICs for lower cost advantage but cannot find much details regarding the same. I know we can achieve all the functionality using ESP 32 and other similar ICs but they are more expensive than the total package costs of these controllers currrently available in the market for Rs 80 or less.

    Thanks
    Abhi

    Reply
    • Swagatam says

      November 9, 2023 at 9:32 am

      Hi Abhi, sorry, unfortunately I do not have any idea about these ICs since I have never used them, I normally design circuits using discrete ICs and parts only.

      Reply
  2. suat kaleli says

    May 12, 2023 at 9:01 am

    Hi Swagatam;
     
    I will use strip led lights in single color. As I searched the market the problem is that the transformers in higher current capacity are too expensive.
    I think that the strips I will use have the current capacity 0.5 Amps in 1 meter length. If we use 10 meters of the strips that means we need over 5 Amps transformer. So I need your advices on the following subjects.
    A) If it is possible to use AC 220 V for 10 meter strips instead of DC transformer / adapter?
    B) Another sample is: For instant, I will use separately 3 pcs of the strip leds as 1 pc of 60 cm and 2 pcs of 20 cm (totally 1 meter of strip lights total current is 0.5 Amps) on a single panel board. I can connect them either serial or parallel and please advise if it is possible to use AC 220 V to light them without DC transformer.
     
    Best Wishes

    Reply
    • Swagatam says

      May 12, 2023 at 9:37 am

      Hi Suat,
      There’s no other alternative other than a transformer or an SMPS. It is not possible to get a high current of 5 amp without using a transformer or an SMPS.

      Reply
  3. João Sousa says

    March 1, 2023 at 10:02 pm

    Hello Swagatam

    I would like to ask if it is possible to adapt any of the proposed circuits, to control an RGB led light from an old scanner?
    The intensity of the light should be adjustable, should allow the progressive adjustment between the different colours in a fixed way.

    Thank you in advance,

    Best wishes

    Reply
    • Swagatam says

      March 2, 2023 at 1:25 pm

      Hello Joao,

      Yes they can be used, if your LEDs are rated at around 12 V.

      You can also try the manual method using the following concept:
      https://www.homemade-circuits.com/rgb-led-color-mixer-circuit/

      Reply
      • João Sousa says

        March 5, 2023 at 9:51 am

        Hi Swagatam, thanks for your reply.

        Regarding the RGB LED, taken from the Scanner of an Inkjet printer, I don’t know what is its maximum working power and Intensity.

        What I do know is that:
        – It is common anode and starts to light up with 3 VDC and I tested it up to 9 V, soldered on the original PCB;
         – It is quite small and has a shape that resembles a boot;
         – It is approximately 1 mm thick and 10 mm high with its 4 pins in line;
        – It has a micro inscribed code 7909AH77, on the side that projects light, (it was not possible to find any reference/datasheet on Google);
        – Does not have any heat sink;
        – It has attached a light-conducting rectangular bar, approximately 3 mm thick and about 225 mm long, possibly made of acrylic.

        I suppose I’ll have to remove it from the PCB, to test it on the test board and connect resistors to its terminals, but I don’t know how.

        Could you tell me how I should do it and with what values?

        Thank you in advance,
        Best wishes

        Reply
        • Swagatam says

          March 5, 2023 at 1:07 pm

          Hi Joao,

          If its illuminating at 3V, then probably the LED modules are rated to work with 3.3V supply optimally.
          If you intend to use a supply higher than 3.3V then after removing them from the PCB you may have to connect a resistor as per the following calculations:

          R = Supply input – 3.3 / LED current

          If you use 3.3V supply input then no need of any resistor.

          Reply
          • João Sousa says

            March 6, 2023 at 5:37 am

            Hello Swagatam, thank you for your reply.

            My question is about the correct way to connect the Current Limiter Resistor to this common anode RGB LED.
            a) Does each color need a separate resistance?
            b) A single resistance in the anode, calculated as if 3 LEDs in series?
            c) both, a) and b)?

            To use a supply of 5 VDC, How will be the control and supply circuit, to have the functions mentioned earlier “The intensity of the light should be adjustable, should allow the progressive adjustment between the different colours in a fixed way.
            ”

            Does equipment like a “Tweezers Digital Multimeter SMD Tester” can show me the correct voltage of the LED?

            Can I upload a photo of that RGB LED and how?

            Thank you in advance,

            Best wishes

            Reply
            • Swagatam says

              March 6, 2023 at 8:26 am

              Hello Joao,

              Each color will require a separate resistor.
              3 LEDs cannot be in series otherwise you cannot adjust their intensity separately and progressively.

              For adjusting the intensity of each LED color progressively you can try the following circuit

              https://www.homemade-circuits.com/rgb-led-color-mixer-circuit/

              You can send the image to contact @ homemade-circuits.com….I will check it out.

              I have never used Tweezers Digital Multimeter SMD Tester, so not sure about its working.

              Reply
              • João Sousa says

                March 6, 2023 at 10:15 pm

                Hello Swagatam, thank you for your reply.

                Analyzing all proposed circuits I came to the following conclusions (please correct me if I’m wrong):
                a) To regulate the light intensity, I will need to use 1 “pwm source” circuit and connect it to each of the “5 V input”;
                b) To mix the colors I will need 3 circuits of the type “Simple RGB Color Mixer using Transistors”, one for each color.
                But now I ask the following question:
                Due to my RGB LED being common anode (+), I cannot connect it to GND nor use the same type of transistor proposed in that circuit. Am I correct? if so how will the circuit be for this use?

                Thank you in advance,
                Best wishes

                Reply
                • Swagatam says

                  March 7, 2023 at 10:12 am

                  Hello Joao,
                  According to me PWM control is not required. The intensity is automatically controlled by the variable voltage regulator using LM317 or using transistor regulator. Just make sure to add a current limiting resistor with each LED.

                  For transistor intensity controller you can try the following concept for your common anode LEDs

                  " rel="ugc">comment image

                  Reply
                  • João Sousa says

                    March 8, 2023 at 11:03 pm

                    Hello Swagatam, thank you for your reply.

                    Unfortunately I don’t understand how to connect the 4 terminals of the common anode RGB LED, with all the proposed circuits.
                    I just need a simple circuit to power an RGB LED predictably at 3V, 20 mA, per color, with a 5Vdc power supply. In which the light intensity must be adjustable, it must allow progressive adjustment between the different colors in a fixed way.

                    I’m just a curious person for electronics, the DIY type.

                    When you have the opportunity, can you suggest a inexpensive complete schematic, with all connections for this type of LED.?

                    Thank you in advance,
                    Best wishes

                    Reply
                    • Swagatam says

                      March 9, 2023 at 9:15 am

                      Hello Joao,

                      The BJT circuit which I suggested earlier is exactly as per your requirement. It will control the color intensities of a common anode LED from zero to maximum using transistors.
                      You will need three such circuits to control your 3 LEDs.

                      However for the connecting you LED with any circuit, you will have to first identify the anodes, cathodes of your LED module without which the connections may not be possible.

                      I have no idea about the LED that you are referring to, since I have never used it practically.

                    • João Sousa says

                      March 15, 2023 at 10:13 am

                      Hello Swagatam, thank you for your reply.
                       

                      I never intended to doubt the proposed schematics, since I know very little or nothing about electronics.
                      If this was understood as such, please accept my apologies…

                      My doubt always had to do with the connection of each of the circuits to the various terminals of the RGB LED.
                      a) Is “my schematic” attached correct?
                      b) And now where am I going to connect the circuit and which one, to adjust the intensity of the light emitted by the whole set? 

                      Can you please correct what is wrong, and indicate what is missing to include?

                      Thank you in advance,
                      Best wishes

                    • Swagatam says

                      March 15, 2023 at 10:39 am

                      No problem Joao,
                      I just wanted to say that the PNP transistorized circuit which I sent earlier will do the job for you, it will enable you to control the intensity of the 3 LEDs progressively. But you will need 3 separate circuits for the independent adjustments of the 3 LEDs.

                      Yes your common anode RGB LED schematic sent in my email is correct.

                      You can connect the RGB LED with the transistorized controller circuit in the following way:

                      " rel="ugc">comment image

                    • João Sousa says

                      March 16, 2023 at 10:30 am

                      Hello Swagatam, thank you for your reply.

                      I would like to know if I can use the suggested circuit of “Variable power supply” to regulate the light intensity of the set of 3 LEDs, which form the RGB LED?
                      a) If yes, as I don’t have the 8050 transistor, I can use one PNP, like the BC 546B; 547B or C; 548B or C or even BD135?

                      b) Is it necessary to use some tipe of diode in the connection of the “power supply” to the “RGB-LED-intensity-controller”?

                      c) For the “transistor LED controller” circuit, Can I use any PNP, like BC557C; 558C or 636?

                      Is “my schematic” attached correct?

                      Thank you in advance,
                      Best wishes

                    • Swagatam says

                      March 16, 2023 at 11:24 am

                      Thank Joao,
                      Your schematic is correct:
                      " rel="ugc">comment image

                      For the NPN transistor I would recommened a TIP122, BC547, 546, 548 can handle only 100 mA therefore not suitable.

                      The diode can be removed, it is not compulsory. If you decide to add one then use a 1N4007.

                      For the PNP transistors I would recommened using 2N2907…BC636 will also work.

                    • João Sousa says

                      March 17, 2023 at 12:43 am

                      Hello Swagatam, thank you for your reply.

                      Unfortunately at the moment I don’t have any “TIP (Darlington transistor)”, I only have “BD135,139 and the 2N3055)
                      I will need to purchase some.

                      Thank you in advance,
                      Best wishes

                    • Swagatam says

                      March 17, 2023 at 9:13 am

                      OK, no problem Joao, I think a BD139 should work, you can try that!

                    • João Sousa says

                      March 17, 2023 at 8:43 pm

                      Hello Swagatam, thank you for your reply.
                      I will try it out shortly.

                      I’m thinking of buying a DC clamp meter.
                      Do you have any suggestions?

                      Thank you in advance,
                      Best wishes

                    • Swagatam says

                      March 18, 2023 at 9:19 am

                      Thank you Joao,
                      Hope it works for you.
                      I have not yet investigated or used a DC camp meter, so I am not sure about any recommendations.
                      All the best to you!

                    • João Sousa says

                      March 19, 2023 at 9:54 am

                      Hello Swagatam, thank you for your reply.

                      What about multimeters, any suggestions?

                      Thank you in advance,
                      Best wishes

                    • Swagatam says

                      March 19, 2023 at 11:35 am

                      Hello Joao,

                      According to me the multimeters that are not very cheap but also has a frequency, capacitance and inductance measuring facility are the good ones and recommended.

                    • João Sousa says

                      March 19, 2023 at 9:40 pm

                      Hello Swagatam, thank you for your reply.

                      Best wishes

                    • Swagatam says

                      March 20, 2023 at 9:05 am

                      You are welcome Joao!

  4. BETO says

    September 28, 2021 at 7:35 pm

    Hola, SWAGATAM, permíteme hacer una sugerencia: en lugar de una fuente doble se puede utilizar un 7805 para obtener los 5v. Saludos desde ARGENTINA.

    Reply
    • Swagatam says

      September 28, 2021 at 7:41 pm

      Thanks Beto, for your valuable suggestion! Noted!

      Reply
  5. Hary says

    September 28, 2021 at 7:33 pm

    Very Nice. Thank you Bro

    Reply
    • Swagatam says

      September 28, 2021 at 7:41 pm

      My pleasure Hary!

      Reply
  6. Gerry Brown says

    September 28, 2021 at 7:18 pm

    Have any of the members or posters of “Homemade Circuit Projects” ever seen or constructed a collision avoidance type radar system that operates similar to those in automotive use presently. We have a non-automotive application requirement to provide audible notice of a a structure, typically 10-20 yards ahead. If anyone is aware of such a circuit, hopefully simple, please let us know. We would try one from an automobile but the fully integrated systems seem difficult to adapt.

    Reply
  7. Mitesh says

    September 28, 2021 at 7:02 pm

    Thank you for your reply and help

    Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Understanding SG3525 IC Pinouts
  • Dan on Understanding SG3525 IC Pinouts
  • Swagatam on High Current Wireless Battery Charger Circuit
  • Swagatam on Timer Based Cell Phone Charger Circuit
  • Nitesh Agrawal on Timer Based Cell Phone Charger Circuit

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations