Counter

djsfantasi

Joined Apr 11, 2010
9,163
We can’t... unless you supply much more information. What’s a 2 two 4 counter? Do you have a part number? Is this school work?
 

Thread Starter

hero22222222222

Joined Dec 22, 2019
78
We can’t... unless you supply much more information. What’s a 2 two 4 counter? Do you have a part number? Is this school work?
Hi,
I don't mind if it is synchronous or asynchronous. But I want to buy a basic 4 bit counter which doesn't have an output pin for a carry.... and make it into an 8bit counter
 

MrChips

Joined Oct 2, 2009
30,821
All counters have carry output. You just need to know where to look for it.
Which 4-bit counter do you have in mind?
 

Thread Starter

hero22222222222

Joined Dec 22, 2019
78
QD is your carry out.
Take QD output of the first stage and feed that into CLK of the second stage.
Thank you

I don't understand how this will make it work as an 8bit counter

Qd will output this 0000000011111111
but how will this make the other counter start counting.
 

MrChips

Joined Oct 2, 2009
30,821
That is how you can build an asynchronous counter using flip-flops.

The output of the 1st flip-flop goes 01010101010...
The output of the 2nd flip-flop goes 00110011001100...
The output of the 3nd flip-flop goes 00001111000011110000...
The output of the 4th flip-flop goes 000000001111111100000000...
and so on.

You can add as many flip-flops as you want to create an n-bit counter.

1584284238122.png
 

djsfantasi

Joined Apr 11, 2010
9,163
Thank you

I don't understand how this will make it work as an 8bit counter

Qd will output this 0000000011111111
but how will this make the other counter start counting.
Have you studied the datasheet! Here it is...

The counter advances by 1 every time the clock transitions from high to low. The output Qd does this when the four bit counter goes beyond 16 or the counter overflows.

By conducting Qd to the second clock, the second counter wil increment once for every time the first counter overflows. Qd will transition from high to low when the first four bit counter receives 17 clock pulses.

Is this school work?

Moderators: has anyone considered a presumptive classification of homework, when the TS dodges the question twice or more?
 

dl324

Joined Mar 30, 2015
16,940
I'm working on a small project at home but I didn't want to buy an 8 bit so I asked about using 4bit counters.
I take it that you're trying to say this isn't homework?? Yes or no would have sufficed.

Just connect the D output from the first counter to the input of the second. Clear is HIGH active, so tie it LOW.

From TI's databook:
1584286581291.png
 
Top