Home » Mini Projects » Simple Scrolling RGB LED Circuit
Simple Scrolling RGB LED Circuit

Simple Scrolling RGB LED Circuit

A simple RGB (Red, Green, Blue) moving or scrolling LED display can be made using a few 4017 ICs. Let's learn the procedure in detail.

Understanding RGB LED

RGB LEDs have become quite popular these days due to its three-in-one color feature, and because these can be driven independently using three distinct supply sources.

I have already discussed one interesting RGB color mixer circuit, which can be used to manually set the color intensities of the LEDs for producing unique color combinations through gradual transitions.

In the proposed RGB scrolling LED circuit we incorporate the same LED for implementing the effect.

The following image shows a standard RGB LED with independent pinouts for controlling the three embedded RGB LEDs.

We'll require 24 of these LEDs for producing intended scrolling effect, once procured these may be assembled serially as shown in the following image:

As can be seen , the cathodes are all made common and grounded via individual 100 ohm resistors (connected to the negative supply f the circuit).

The anode ends can be seen designated with some relevant numbers which need to be appropriately connected with the respective output pinouts of the IC 4017 circuit as shown in the following figure:

How the Circuit Functions

The circuit functioning may be understood with the help of the following points:

We can see four IC 4017, 10 stage Johnson's decade counter/divider device which are cascaded in a special way such that the intended scrolling effect is achieved from the design.

Pin#14 which is the clock input of the ICs are all hooked up together and integrated with a clock source, which can be easily achieved from any standard astable circuit such as a IC 555 atable, transistor astable, a 4060 circuit or simply a NAND gate oscillator circuit.

The speed of the frequency set on the astable circuit decides the speed of the scrolling effect of the LEDs.

When power is switched ON, C1 instantly forces pin#15 of IC1 to go high momentarily. This pulls pin#3 of IC1 to a high while the remaining pinouts of IC1 are all set to zero logic.

With pin#3 of IC1 going high causes pin#15 of IC2 to also go high, which similarly puts pin#3 of IC2 at a high logic and all its other pinouts at logic zero......this in turn forces IC3 and IC4 to go through an identical set of pinout orientation .

So during power switch ON all the 4017 ICs attain the above condition and stay disabled making sure that initially all the RGB LEDs are kept switched OFF.

However the moment C1 charges fully, pin#15 of IC1 is relieved from the high created by C1, and now it's able to respond to the clocks, and in the process the high logic sequence from its pin#3 moves to the next pin#2....the first RGB string now lights up (first RED string lights up).

With pin#3 of IC1 becoming low, IC2 too now becomes enabled and quite similarly gets ready to respond to the subsequent clock at its pin#14.

Therefore the moment IC1 logic sequence shifts further from its pin2 to pin4, IC2 corresponds by pushing the pinout high from its pin#3 to pin#4....the next RGB string now lights up (green string lights up and replaces the previous red LED string, the red being moved to the next RGB string).

With the subsequent clocks at pin#14 of the ICs the same is followed by IC 3 and IC4, such that the RGB string now appears to be moving or scrolling across the given 8 subsequent LED strips.

As the sequencing proceeds across the 4 cascaded 4017 ICs, at some point of time the last logic pulse reaches pin#11 of IC4, as soon as this happens the high logic at this pin instantly "pokes" pin#15 of IC1 and forces it to reset and return to its initial position, and the cycle starts afresh....

The above RGB scrolling effect may not be too impressive, since the moving pattern would be in the manner R>G>B......, that is one color appearing behind the other. 

In order to achieve a more interesting looking pattern in the manner R>R>R>R>G>G>G>G>B>B>B>B.....and so on, we need to implement the following circuit, it shows a 4 channel design, for more number of channels, you may simply go on adding the IC 4017 ICs in the identical, fashion as explained in the the following paragraphs.

RGB Moving Alphabet Display Circuit

This next circuit is designed to generate a sequencing pattern over a group of Red, Green, Blue, or RGB LEDs producing a beautiful moving or shifting transition effect from red, to green, to blue and back to red.

The main control circuit for the proposed RGB LED alphabet chaser circuit can be witnessed below, consisting of 3 Johnsons decade counter 4017 ICs and a clock generator IC 555.

How the RGB Effect Works

Let's first try to understand the role of this stage and how it's supposed to carry out the running RGB LED effect.

The 555 IC astable clock generator stage is included for generating the sequencing pulse for the 3 ICs, whose pin14 can be seen combined and joined with the output of the IC 555 for the required triggering.

When power is switched ON, the 0.1uF capacitor connected with pin15 of the IC1 4017 resets this IC such that the sequencing is able to begin from pin3 of this IC, that is from pin3>2>4>7>10...and so on in response to every clock pulse at its pin14.

However at the onset, when it's reset by the 0.1uF cap, except pin3 all its output pins become low including its pin11.

With pin11 at zero, the pin15 of IC2 is unable to get a ground potential and therefore it stays disabled, and the same happens with IC3 as well...so IC2 and IC 3 stay disabled for the moment, while IC1 begins sequencing.

Now as a result IC1 outputs start sequencing producing a sequencing (shifting) "high" across its output pins from pin3 towards pin11, until finally the sequence high reaches pin11.

As soon as pin11 becomes high in the order, the pin13 of IC1 also becomes high which instantly freezes IC1, and the high logic at pin11 gets locked....the IC now remains in this position unable to do anything.

However the above triggers the associated BC547, which instantly enables IC2 which now imitates IC1 and starts sequencing from its pin3 towards pin11, one by one....and quite identically as soon as the pin11 of IC2 goes high, it likewise gets locked and enables IC3 to the repeat the procedure.

IC3 also follows the footprints of the earlier ICs and as soon as the sequencing logic high reaches its pin11, the logic high is transferred to pin15 of IC1....which instantly resets IC1 restoring the system back to its original form, and IC1 yet again begins the sequencing process, and the cycle keeps repeating itself.

Circuit Diagram

Simple RGB scrolling display circuit using IC 4017

We learned and understood how exactly the above RGB controller circuit is supposed to function with the stipulated sequencing procedures, now it would be interesting to see how the sequencing outputs from the above circuit may be used with a compatible driver stage for producing the scrolling or moving RGB LED over a selected set of alphabets.

scrolling LED connection diagram

All transistors are 2N2907
All SCRs are BT169
SCR gate resistors and PNP base resistors are all 1K
LED series resistors will be as per the LED current.

The above image depicts the RGB driver stage, we can see 8 numbers of RGB LEDs utilized (in the shaded square boxes), this is because the discussed 4017 Circuit is designed to produce 8 sequential outputs and therefore the driver stage too accommodated 8 numbers of these LEDs.

To learn more about RGB LEDs you can refer to the following related posts:

RGB color mixer circuit

RGB flasher, controller circuit

The Role of the SCRs

In the design SCRs can be seen included at the negative ends with each of the LEDs and also PNP transistors over the positive ends of the LEDs.

Basically the SCRs are positioned for latching the LED illumination while the PNP is connected exactly for the opposite that is for breaking the latch.

The sequencing or rather the typical alphabet scrolling effect is implemented by assigning the various LEDs in the following pattern:

How it Works

All the red LEDs from the RGB modules can be seen connected with the IC1 outputs, the green LEDs with the IC2 outputs and the blue LEDs with the IC3 outputs, via the corresponding SCR gates. When the SCRs are triggered the relevant LEDs become illuminated in a chasing sequence.

As explained in the earlier section, the IC1, IC2, and the IC3 are rigged in a way that the ICs respond in a cascaded fashion, wherein IC1 begins sequencing first, followed by IC2 and then IC3, the cycle then keeps repeating itself.

Therefore when IC1 begins sequencing all the red LEDs in the respective  RGB modules get triggered and latched.

When IC2 is enabled with the sequencing it starts illuminating and latching the green LED in the array via the concerned SCRs, but simultaneously also breaks the RED led latch via the associated PNP transistors. The same is carried out by the IC3 outputs but this time for the green LEDs in the RGB modules,

When green LED sequencing elapses it's yet again replaced by the IC1 for processing the red LEDs, and the entire procedure starts simulating a dazzling RGB LED scrolling effect.

Scrolling Display Simulation

scrolling LED GIF simulation

The above shown animated simulation provides an exact replica of the scrolling of the LEDs that may be expected from the proposed design.

The indicated running white spots on the SCR gates indicate the triggering and the execution of the latching function by the SCRs, while the PNP base white spots indicate the breaking of the relevant SCR latches.

Single LEDs are shown in the sequence, but depending on the supply voltage more numbers of series LEDs could be inserted within each of the RGB channels. For example with a 12V supply 3 LEDs may be incorporated on each of the channels, with 24V this may be increased to 6 LEDs on each of the channels.

Example Welcome Scrolling Simulation

How to configure the above effect for creating a running or moving RGB LED alphabets

scrolling "WELCOME" LED display simulation

The above example shows a classic RGB moving graphical alphabet simulation using the above explained circuit.

Each alphabet can be seen wired with the red, green and the blue LEDs from the 8 RGB LED modules.

The series parallel connections can be a little complex, and might require some experience and skill, the following articles can be studied for understanding the calculations involved for wiring LEDs in series and parallel:

How to Wire LED Lights

How To Calculate and Connect LEDs in Series and Parallel

Many different innovative patterns can be designed and implemented using ones own creative imaginations and by wiring the RGB LEDs appropriately across the sequence.


About the Author

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials. If you have any circuit related query, you may interact through comments, I'll be most happy to help!

8 thoughts on “Simple Scrolling RGB LED Circuit”

    • for increasing the number of LEDs you will have to incorporate transistor driver stages across the various outputs of the 4017 ICs.

      I have updated the new diagram you may check it out.

    • any 12V DC supply will do, I'll be updating the article soon with a modified design which will be exactly as per the video you had sent.

    • hello basit, yes the circuit can be modified as per the video sent by you…presently it's not exactly as you may want it.

Leave a Comment