Make an Interesting Project--LED Chaser

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general.
kyson
Posts: 3
Joined: Mon Feb 20, 2017 3:31 am

Make an Interesting Project--LED Chaser

Postby kyson » Mon Sep 11, 2017 10:56 am

A simple LED chaser hobby circuit can be made using 555 timer and CD4017 counter IC. You can use this circuit for decorative purposes. By modifying the circuit in a proper way, you can even use this to control lights working on AC mains.

Components Required

    CD4017 Counter IC – 1
    555 Timer IC – 1
    LED – 11
    680Ω Resistor – 11
    10KΩ Resistor – 1
    10KΩ Variable Resistor – 1
    10μF Capacitor – 1
    0.01μF Capacitor – 1
    9V Battery / Power Supply – 1

Circuit Diagram
9.11.15.jpg
9.11.15.jpg (34.31 KiB) Viewed 141 times


You can see that the 555 timer wired as an astable multivibrator and its output is connected to the clock input of 4017 counter IC. The output frequency of the 555 timer is determined by the resistors R1, RV1 and capacitor C1. VCC (8th pin) and GND (1st pin) is connected to the power supply. Reset (RST – 4th pin) is connected directly to the positive power supply to avoid accidental reset of 555 timer. Control Voltage (CV – 5th pin) is not used, so to avoid high frequency noises we are connecting a capacitor (C2 – 0.01μF) to the ground.

LED D1 is used to indicate the output of 555 IC and the resistor R3 is for current limiting.

Similarly VDD (16th pin) and VSS (8th pin) of the CD4017 IC is connected directly to the power supply. Clock enable (13th pin) is an active low input, so it is connected to ground. Clock input (14th pin) is connected to the output of 555 timer. Each decoded output pins (Q0 ~ Q9) is connected to LED. Resistor R3 is used for current limiting. Only one resistor is required for limiting current through all LEDs since only one LED will turn on at a time.

PCB

Here you can see the top and bottom view of the PCB design. You can download the PDF files of PCB at the end of this article.
9.11.17.jpg


Image

Here is the one we made in our lab.

Image

Working

9.11.16.gif


You can easily understand the working of the circuit from the above animation. As I explained above, 555 timer is wired as an astable multivibrator. Please read the article Astable Multivibrator using 555 Timer for detailed explanation. So the 555 will produce square wave output and which will act as a clock for the CD4017 counter IC.

You can see that for each high pulse output of 555, the output of 4017 is incrementing by one. Output frequency of 555 astable is given by the following equation.

Output Frequency = 1.44/((R1 + 2RV1) * C1)
So you can easily change the output frequency of above circuit by varying the preset RV1. By this we can change the LED chasing speed.

Tip

You can make use of Reset input (15th pin – MR) if you want to reduce the number of LEDs. Just connect the output pin to the reset pin as shown below. For eg. if you need only 2 LEDs, you can connect Q2 (4th pin) to Reset pin.

Jacon
Posts: 132
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 2 times
Been thanked: 1 time

Re: Make an Interesting Project--LED Chaser

Postby Jacon » Mon Sep 11, 2017 1:50 pm

You definitely chose the wrong board address for this post :shock: :roll:

User avatar
Giovanni
Site Admin
Posts: 10224
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 212 times
Been thanked: 197 times
Contact:

Re: Make an Interesting Project--LED Chaser

Postby Giovanni » Mon Sep 11, 2017 2:08 pm

Nah, it is fine, I am sure there will be a follow up with a uC and ChibiOS inside :)

Giovanni

User avatar
tfAteba
Posts: 409
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 51 times
Been thanked: 29 times

Re: Make an Interesting Project--LED Chaser

Postby tfAteba » Mon Sep 11, 2017 9:26 pm

Hello,

Nostalgic, this bring me back 20 years ago, when I was starting to learn electronics in Cameroun :cry: whit analog component without any micro-controller unit.

There was also a variant, you can remove the CD4017 and all the LEDs and place a buzzer or a High speaker to the output of the NE555 to make some song. By combining the modify circuit with some external material I was making a very chip alarm to place in a door or a windows :lol:

Thanks for this post.
regards,

Theo.


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 2 guests