Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 8th March 2007, 07:08 AM   #1
Default cascade 3 4017 counters

Hi.
I am trying to cascade three 4017 counters inorder to light 27 leds and have them constantly run. I have found WEB sites on one 4017 but nothing on how to cascade them. I am using a 555 timer for the clock pulse.
Thanks;
William
purcer is offline  
Old 8th March 2007, 07:40 AM   #2
Default

Connect Carry Out from the first to CE of the second and tie C high.

Repeat for the second and third counters.

Look at the data sheet for the 4017.

EDIT: On re-reading your post, I don't think 3 X 4017 will do what you want.

I assume you want to illuminate only one LED at a time. Is this true?

If so, then you need a modulo 27 counter with suitable decoding.
__________________
Len

Last edited by ljcox; 8th March 2007 at 07:50 AM.
ljcox is offline  
Old 8th March 2007, 10:09 AM   #3
Default

Quote:
Originally Posted by ljcox
I assume you want to illuminate only one LED at a time. Is this true?

If so, then you need a modulo 27 counter with suitable decoding.
Modulo 28 is needed. The actual count is one less than the modulo number.
__________________
Creationists have a world of evidence
AllVol is offline  
Old 8th March 2007, 11:07 PM   #4
Default

Page 6 of this datasheet from On Semiconductor shows how to do what you want ...
Also, here's the parent MC14017B page ... <link>
JB

*edit* You'll need (4) 4017's to run 27 leds ... 3 will only run 25 ...
__________________
Nothing is impossible for the man who doesn't have to do it himself - Weiler's Law

Last edited by jbeng; 8th March 2007 at 11:15 PM.
jbeng is offline  
Old 9th March 2007, 07:03 AM   #5
Default cascading 4017

Hi jbeng.
I made a mistake on the count of LEDs I only need 25.
So using four chips is no problem for me but I'll need some help.
also answering Allvols question I am trying to make a light sequencer or light chaser.
Thanks
William

Last edited by purcer; 9th March 2007 at 07:14 AM.
purcer is offline  
Old 9th March 2007, 07:31 AM   #6
Default

Quote:
Originally Posted by AllVol
Modulo 28 is needed. The actual count is one less than the modulo number.
That depends upon what he wants.

I assumed he wanted 27 LEDs that turn on in sequence so that there is always one LED lit, he would need a Mod 27, ie. 0 ~ 26.

But if he wants the LEDs to be all off in one state, then he needs a Mod 28.
__________________
Len
ljcox is offline  
Old 9th March 2007, 07:34 AM   #7
Default

Quote:
Originally Posted by purcer
Hi jbeng.
I made a mistake on the count of LEDs I only need 25.
So using four chips is no problem for me but I'll need some help.
also answering Allvols question I am trying to make a light sequencer or light chaser.
Thanks
William
Following on from my previous post, do you want a "dark state" or do you want one LED lit at all times?
__________________
Len
ljcox is offline  
Old 9th March 2007, 07:42 AM   #8
Default cascade 4017

Hi Len
I need one led on all of the time.
Wiliam
purcer is offline  
Old 9th March 2007, 07:53 AM   #9
Default

I assume you want it to be in a continuous sequence, ie. 0, 1, 2, 3, ... 24, 0, etc.

Or do you want it to be in a random sequence? This is more complex.
__________________
Len
ljcox is offline  
Old 9th March 2007, 08:16 AM   #10
Default cascade 4017

Hi Len
Yes 1 2 3 4 up to 25 and I need one light on at all times.
William
purcer is offline  
Old 9th March 2007, 08:40 AM   #11
Default

I'll post a circuit tomorrow.
__________________
Len
ljcox is offline  
Old 9th March 2007, 05:19 PM   #12
Default Led chaser.

Hi Purcer,

Here's a circuit that will do the trick.
From the first 4017 you use outputs "0" to "8", from the second
4017 you use outputs "1" to "8" and from the third 4017 you use
ouputs "1" to "9" to drive the leds. That's a total of 26 leds. If
you only need 25 outputs, use outputs "1" to "8" from the last
4017 to drive the leds and move the 1 nF capacitor which is
connected to output "0" to output "9". Connect each led with a
suitable resistor in series from each output to ground.

on1aag.

Attached Thumbnails
cascade 3 4017 counters-led-chaser.gif  
on1aag is offline  
Old 9th March 2007, 11:41 PM   #13
Default

Here is my suggestion:-

U1 & U2 are configured as Modulo 5 counters.

The LEDs are arranged in a 5 x 5 matrix.

LED 0 glows when U1 = 0 and U2 = 0.

When either U1 or U2 = 5, the counter is reset rapidly.

U2 is advanced when U1/0 goes high.

I have not included a "power on" reset.

Therefore, since the counters will start in random states when the power is turned on, it may take a few clock pulses before the normal sequence starts.

If you can't buy a 74HC4022 or 74HC4017, let me know and I'll show you how to do it with a 4017, but it will require an extra IC since the 4017 may not have enough current source capability to drive the LEDs.

Choose resistors R0 ~ R4 for the correct LED brightness. For red LEDs, about 470 Ohm should be adequate.

Choose R & C according to the oscillator frequency that you want.

I would make R = 1M and choose C for the frequency you want.

The formula is f = 0.56/(RC) approx. (very approx)
Attached Thumbnails
cascade 3 4017 counters-led-chaser.gif  
__________________
Len
ljcox is offline  
Old 10th March 2007, 12:23 AM   #14
Default

With a 9V battery, the output current from an ordinary 4017 is about 12ma. A current-limiting resistor is not needed for the LEDs. When the battery drops to 6V then the LEDs will appear dimmer.
The absolute max continuous current allowed from the output of a 74HCxx IC is 25mA which looks only slightly brighter than 12mA, a regulated 5V supply is needed and a current-limiting resistor is needed.
__________________
Uncle $crooge
audioguru is online now  
Old 10th March 2007, 02:13 AM   #15
Default

Here is a variant on that posted by on1aag.

Note Audio's point about the 4017 and operating the circuit from 9 Volt.

So you could use 4017s with this arrangement.
Attached Thumbnails
cascade 3 4017 counters-led-chaser-1.gif  
__________________
Len
ljcox is offline  
Reply

Tags
4017, cascade, counters

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
555 & 4017 mozikluv Electronic Projects Design/Ideas/Reviews 14 16th June 2008 06:08 AM
HCF 4017 Equal Ic's with more Outputs Gayan Soyza General Electronics Chat 2 20th November 2006 02:26 PM
16-step sequencer from two 4017 decade counters? october71 Electronic Projects Design/Ideas/Reviews 12 29th January 2004 10:11 AM
Music Effects with 4017 and 555 afs87 Electronic Projects Design/Ideas/Reviews 5 20th June 2003 06:21 PM
Working with the 4017 fantasymick General Electronics Chat 3 18th May 2003 05:41 AM



All times are GMT. The time now is 11:57 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker