Introduction: LED Chaser

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

Picture of 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

Picture of 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

Picture of 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

Picture of 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

Picture of 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!

Comments

remedios667 (author)2016-01-22

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

Arush Bansal (author)remedios6672016-01-25

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

remedios667 (author)Arush Bansal2016-01-25

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....

Arush Bansal (author)remedios6672016-01-27

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. :-)

remedios667 (author)Arush Bansal2016-01-27

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

Arush Bansal (author)remedios6672016-01-29

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. :-)

remedios667 (author)Arush Bansal2016-01-29

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

remedios667 (author)remedios6672016-01-29

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.

Arush Bansal (author)remedios6672016-01-30

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. :-)

remedios667 (author)Arush Bansal2016-01-30

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...

remedios667 (author)2016-01-22

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

Arush Bansal (author)remedios6672016-01-25

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 . :-)

remedios667 (author)2016-01-14

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)

Arush Bansal (author)remedios6672016-01-14

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

remedios667 (author)Arush Bansal2016-01-15

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....

Mihir230898 (author)2016-01-14

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

Arush Bansal (author)Mihir2308982016-01-15

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

Mihir230898 (author)Arush Bansal2016-01-15

thanks :)

Hemant Jain (author)2016-01-14

nice demo...
keep it up

Arush Bansal (author)Hemant Jain2016-01-14

Thanks!

About This Instructable

11,447views

95favorites

License:

Bio: I am electronics and robotics enthusiast and love making new and innovative things everyday!
More by Arush Bansal:10 Step Analog SequencerLED ChaserElectret Microphone Preamplifier
Add instructable to: