• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

New Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos | Circuits for Beginners | Basic Circuits | Hobby Projects | Transistor Circuits | LED Drivers 

You are here: Home / 4017 IC Circuits / Simple Scrolling RGB LED Circuit

Simple Scrolling RGB LED Circuit

Last Updated on February 23, 2020 by Swagatam 13 Comments

caution electricity can be dangerous

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.

You'll also like:

  • 1.  How to Understand IC 4017 Pinouts
  • 2.  Using a Fan Dimmer for Controlling LED Intensity
  • 3.  How to Connect Car LED Downlight
  • 4.  32V, 3 Amp LED Driver SMPS Circuit
  • 5.  Controlling LED Strip Light ON/OFF and Brightness with any Remote Control
  • 6.  10 Stage Sequential Latch Switch Circuit

About Swagatam

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!

Reader Interactions

Comments

    Have Questions? Please post your comments below for quick replies! Comments should be related to the above artcile Cancel reply

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

  1. Lucky says

    September 15, 2021

    This project is very interesting, but how can I use it to write multiple words not just welcome.

    Reply
    • Swagatam says

      September 15, 2021

      Multiple words is not possible, you can have only a 7 letter word or figure in this circuit.

      Reply
  2. Bernie says

    January 9, 2021

    in your article above the supply rail is 12 dc. Can this circuit be run at 9v dc with the led’s resister at 470 ohms and using RGB led’s instead of single led’s

    Reply
    • Swagatam says

      January 10, 2021

      The LEDs are RGB modules, so you can use them….. 9 V will also work with 470 ohm resistor

      Reply
      • Bernie says

        January 10, 2021

        Thanks for the reply

        Reply
  3. basit momin says

    July 12, 2015

    Ok sir and thanks for all u have done……….but how can I increase the no.s of led upto 50 nos

    Reply
    • Swagatam says

      July 12, 2015

      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.

      Reply
  4. basit momin says

    July 11, 2015

    Ok but which smps can I use
    for the circuit and which volt and wat will be the ampere for the circuit thanks

    Reply
    • Swagatam says

      July 12, 2015

      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.

      Reply
  5. basit momin says

    July 11, 2015

    Hello sir .is this the circuit which i am requesting for pixel led …….Thank u

    Reply
    • Swagatam says

      July 11, 2015

      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.

      Reply
  6. c00e6752-9f70-11e3-b67b-000bcdcb5194 says

    July 11, 2015

    what does NOS mean?

    Reply
    • Swagatam says

      July 11, 2015

      numbers…quantity

      Reply

Primary Sidebar

Calculators

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Arduino Engineering Projects (83)
  • Audio and Amplifier Projects (114)
  • Battery Chargers (82)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (33)
  • Electronic Components (100)
  • Electronic Devices and Circuit Theory (36)
  • Electronics Tutorial (116)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (13)
  • GSM Projects (9)
  • Health Related (20)
  • Heater Controllers (29)
  • Home Electrical Circuits (102)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LED and Light Effect (93)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (65)
  • Mini Projects (148)
  • Motor Controller (67)
  • MPPT (7)
  • Oscillator Circuits (26)
  • PIR (Passive Infrared) (8)
  • Power Electronics (34)
  • Power Supply Circuits (77)
  • Radio Circuits (10)
  • Remote Control (48)
  • Security and Alarm (61)
  • Sensors and Detectors (120)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (16)
  • Water Level Controller (45)

Calculators

  • AWG to Millimeter Converter
  • 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
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2023 · Swagatam Innovations