LED Chaser

27,889

111

22

Introduction: LED Chaser

About: I am electronics and robotics enthusiast and love making new and innovative things everyday!

Hello everybody! I'm back with another instructable about making an LED Chaser. It's a super simple project based on the 555 timer and the 4017 decade counter. It works incredibly well and it's quite easy. So let's get started!

Step 1: First, a Bit of Theory

The 555 timer IC is an integrated circuit (chip) used in a variety of timer, pulse generation, and oscillator applications. The 555 can be used to provide time delays, as an oscillator, and as a flip-flop element. Derivatives provide up to four timing circuits in one package.

The IC 555 has three operating modes:-

  • Bistable mode or Schmitt trigger : the 555 can operate as a flip-flop, if the DIS pin is not connected and no capacitor is used. Uses include bounce-free latched switches.
  • Monostable mode :in this mode, the 555 functions as a "one-shot" pulse generator. Applications include timers, missing pulse detection, bouncefree switches, touch switches, frequency divider, capacitance measurement, pulse-width modulation (PWM) and so on.
  • Astable mode : This project uses the 555 timer in the astable mode. The 555 can operate as an electronic oscillator. Uses include LED and lamp flashers, pulse generation, logic clocks, tone generation, security alarms, pulse position modulation and so on. The 555 can be used as a simple ADC, converting an analog value to a pulse length (e.g., selecting a thermistor as timing resistor allows the use of the 555 in a temperature sensor and the period of the output pulse is determined by the temperature). The use of a microprocessor-based circuit can then convert the pulse period to temperature, linearize it and even provide calibration means.

In order to understand the working of IC CD4017, one must know about its individual pins. It has 3 input pins, 10 output pins, one ground pin, one for the positive voltage supply and one for carry out pulses. Pin diagram of CD4017 is given in the pictures above.

Input pins

  • Reset pin (pin 15) - It is used to reset the counter to zero. For instance, if you want the counter to count up to third output then connect the fourth output to pin 15. Now after every third output, it will automatically starts counting from zero.
  • Clock pin (pin 14)- Whenever pin 14 goes high, it provides the output. Like, for first clock pulse pin 3 will provide you output; for next pulse pin 2 will provide output and so on. After 10 pulses it will again start from Q0 output.
  • Clock Inhibit pin (pin 13)- It is used to switch the counter "on" and "off". When you want to switch off the counter, then pin 13 should be high. If it is high, it will ignore the clock pulse no matter how many times you press the switch meaning the counter will not advance.

Output pins (pins Q0- Q9)- It is used to receive the output in sequential manner. Like for first pulse pin 3 will provide you the output and so on.

Ground pin (pin 8) and Positive Voltage Supply pin (pin 16)- They are used to provide the ground connection and the positive voltage supply to the IC.

Carry out pin (pin 12)- It is used to connect one or more 4017 ICs. The carry pin of first 4017 is connected to clock input of second and the carry pin of second is connected to the clock input of third and so on. In our circuit we have used only one IC that's why we have left this pin.

Refrences

https://en.wikipedia.org/wiki/555_timer_IC

http://www.engineersgarage.com/electronic-circuits...

Step 2: Gathering the Parts

Tools required

Solder Iron

Solder wire

Wire stripper

The following parts are required to build this project:

LEDs (any color you like) X 10

SPST Switch

9v Battery

9v Battery Connector

Perfboard

Breadboard Wire

Potentiometer - 10K Mono

Potentiometer Knob

Diode - 1N4007

Capacitors

-1 uF

-0.01uF

Resistors

-2K2

- For LED (Any value between 1K and 22K should work.)

-150

-47K

IC Base

- 8 Pin

-16 Pin

IC

-555 Timer

-4017 Decade Counter

Step 3: The Schematic

Follow the schematic and build the circuit. I recommend you to first prototype the circuit on a breadboard.

You can experiment with different values with the capacitor between pins 2 and 1 of the 555 timer.

The resistors between pin 8 and 7 , and pin 7 and 6 can also be substituted as desired.

Step 4: Building the LED Chaser

Build the circuit on a perfboard (you may etch your own PCB for this project if you like). Just be a bit careful about unwanted solder joints and run a hobby knife between them after you have soldered everything. You may assemble the Potentiometer and switch on the perfboard like me ; but you can go for an electronics enclosure or something similar.Testing the

Step 5: Testing the Circuit

After building the circuit plug in the battery and turn on the switch. IF you are successful, then all the LEDs should light up in a sequence. If, however it is not working then immediately turn off the circuit. The decade counter ic is pretty delicate and a wrong connection could easily destroy the IC. Check all the connections and solder joints ; melt and again solder all dry solder joints.

Well this is all you need to do for this project. All comments and suggestions are welcome.

Thanks and Have a Nice Day!

Full Spectrum Laser Contest 2016

Participated in the
Full Spectrum Laser Contest 2016

Be the First to Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest

    22 Comments

    0
    ismailcem6
    ismailcem6

    7 months ago on Step 5

    I like your project! but for the next time (or if you want to update your project page) you could be more specific about why you choose those resistors and capacitor magnitudes etc. Probably most of the viewers looking for materials about tL and tH timing for output voltages as I assume. Keep it up!

    ne555 timer.png
    0
    Joe Pixie
    Joe Pixie

    Question 4 years ago

    Hi , you seem to know alot about micro circuits( well alot more than i do in any event...)
    great instruct by the way.

    i have been trying to figure a way to make the sweeping effect without using arduino or anything, i have found a couple diy's on the net, but they don't explain in laymens how to build the thing. can/will you be so kind as to help me with this project?

    i have an old style Volkswagen Fox and i want to redo the lights to be similar to the new Audi design... here is a youtube link of what i would like to accomplish.

    Please help me. ...
    Ps: i have no formal training in electronics or the like. what i have learned is what i could piece together from "instructables.com" and similar sites.

    Thanx in advance

    Joe

    0
    remedios667
    remedios667

    7 years ago

    I actually started a new instructable for the basic circuit....I'll attach a picture of what I have been working on

    56a273a04936d4f089001a15.jpeg
    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    Well, I'm really happy to see that you have started to build the LED Chaser. I am waiting to see your instructable. :-)

    0
    remedios667
    remedios667

    Reply 7 years ago

    thanks....this worked out really well, but i'm trying to make one even smaller to build into a stand alone "ark reactor" (waiting on delivery of some reflective window film to make the interior into an infinity tunnel).
    I may have to rely on hand drawn schematics because the free schematic drawing applications are glitch-y on my version of Windows.
    the variable resistor on the timer needs to be changed as it doesn't give enough "range" of pulses, but as a portable pulse generator / LED tester / sequencer it rocks.
    the instructable may include video's of some variations of LED chasers I've made over the years as part of costumes and special effects props....

    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    I'm waiting to see your instructable. I suggest that you'd use some sort of applications like Eagle or Fritzing for drawing if the'd work on your version of windows. :-)

    0
    remedios667
    remedios667

    Reply 7 years ago

    I tried the free version associated with "Digikey" but it wouldn't save or allow me to take a screenshot (?). I've heard of Eagle but have not found a "trial version" and I will research "Fritzing", Thanks.

    going through a rough patch, but gathering together my documentation for a big instructable....stand by

    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    Well, Eagle is a pretty good application software to design circuit diagrams, PCBs and a lot more. It is available as a freeware as well as a paid one.

    Where as with Fritzing you can build circuits on a breadboard on the computer screen, etc. I use Eagle (I'm quite used to using it only). There is another software known as Circuit Wizard. I've heard of it from one of my friends ; I guess that we can actually prototype and test our circuits in it, unlike Eagle but I think that it is not free. :-)

    0
    remedios667
    remedios667

    Reply 7 years ago

    thanks....I'll check out Eagle (pretty much has to be "free ware" and I don't need much, I just hate drawing each individual component in windows notepad)..

    sort of sick today

    0
    remedios667
    remedios667

    Reply 7 years ago

    I must be too old, or too sick to figure out the Eagle application....or maybe it's because it's freeware. I accidentally placed a logic gate on the editor screen but I was trying to place a 555 or 4017 and can't find either in the library of parts. the application seems to be "running" and I will experiment until I find a "for dummy's book".....thanks for the suggestion, I'll get it to work.

    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    Well, I admit that Eagle is a bit kind of odd and not user friendly. Well, I'd suggest you to have a look at Jeremy Blum's YouTube channel. He has quite a number of tutorials on Eagle. I must also tell that you should try searching by the name like NE555 , NE555N, LM555 or something similar in the Add part control for the 555 timer. For the 4017, try searching CD4017, CD4017B, etc.

    Hope this helps. :-)

    0
    remedios667
    remedios667

    Reply 7 years ago

    you know....I sort of gave up and took a more labor intensive route. I copied and saved pages of "electronic component's" in a J-peg format then pieced the circuit together in Windows Paint (a bit of a learning curve because I'm used to an early version of Photoshop but lost my only copy when my old PC's hard drive crashed....$4-700 to replace, or "steal" a copy is just not how I roll).

    thanks for the help, Eagle seems to be a well thought out application, but unless you are working with Arduino or piecing together logic gates it's GUI is just another language to learn...

    0
    remedios667
    remedios667

    7 years ago

    posted before I was done....I will link you up to the finished Instructable, but yours has a lot of good information and will really help people just starting out.....I have a lot of components, but need some ideas of what to do with them....just got back to this after a 10 year break (a real job with no down time to tinker). cheers

    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    Well, thanks for your comment. I'm really happy that my instructable has been useful to you and for other people too. I'm waiting to see your instructable . :-)

    0
    remedios667
    remedios667

    7 years ago

    yeah, the 555 / 4017 combination has so many uses....if you use only 6 LED's and send outputs 0-5 directly to LED's, then send outputs 6-9 (through basic diodes) to LED's 5-4-3 & 2 you will get a left to right sweep (RE: Cylon or Night Rider). Also, you can connect a transistor (2n2222) to any of the outputs and connect a Christmas light directly to VCC through the CE junction the bulb will flash much brighter than it's designed to (as long as the "duty cycle" is kept short the bulbs can take 6-12 volts even though they are designed for around 3)....check out my projects on You Tube (bob667)

    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    You have a wonderful collection of innovative designs resembling humanoid robots . I especially liked the Turbine and Bobzilla.

    0
    remedios667
    remedios667

    Reply 7 years ago

    I actually have a huge collection of my "creatures" from over the years but most of them do not have lights built in, I'm just trying to figure out how to present them.
    plus the next generation will have EL Wire built in, I'm just waiting on the parts delivery so I can build a sequencer...
    thanks....

    0
    Mihir230898
    Mihir230898

    7 years ago

    nice one, it can be used for building a approach light for model airport's runway thanks:)

    0
    Arush Bansal
    Arush Bansal

    Reply 7 years ago

    Yes surely you can do that. If you'd like try cascading the 4017 ICs together for building a longer sequence of approaching lights for the runway. Here's a link to a 25 LED chaser made using a 555 timer and cascading 3 4017 ICs together. :-)

    https://www.youtube.com/watch?v=AyeaptMLv7Q

    0
    Mihir230898
    Mihir230898

    Reply 7 years ago

    thanks :)