Is there another logic IC, similar with 4017 but with up/down counting? (not only up)

Status
Not open for further replies.

Thread Starter

q12x

Joined Sep 25, 2015
2,227
I have this IC:
4017-CD4017 16PIN DIP Decade Counter/Divider with 10 Decoded Outputs
1744528312485.png
When receives a clock pulse on pin14, one of it's Q outputs goes Hi while the rest stay Lo.
- My question to you is:
- Is there another IC, similar with this one, meaning to also be a Decade Counter/Divider with 10 Decoded Outputs but... with Up/Down counting Clocks? This 4017 has only 1 single clock that is counting always up, from Q0 to Q9 and then resets to Q0 and starts again. But it can not do it in reverse.
For example, I have 40110 that is doing this Up/Down counting, but it is specialized to lit up ONLY 7 segments displays, so it is counting and outputting a series of output pins to form numbers, and not single outputs like 4017, lighting up one output at a time.
-What I did so far:
1. I searched a lot !!! inside 4000 and 7400 series on wikipedia pages and other internet pages too. I asked chatGPT, phiu... I searched this problem a lot, and for a long time. It is not a today problem, but a past one. I thought I can solve it alone but nope.
2. Then, I used my simulator skills and made 2 versions using only 4017 to count up/down but... they are BAD... so bad. They kind of do it, but naah, and one is very expensive. I can't reliable do it, at least myself.
3. I know there is the other way, using a binary counter with up/down + a BCD with 10 Decoded Outputs like 4028.
But the idea here is to have a SINGLE IC that is doing it !
Thank you.
 
Last edited:

sarahMCML

Joined May 11, 2019
695
A 74HC192 would do what you want, but it is restricted to a 5 volt maximum supply. You would still need the CD4028 decoder (or similar) to get 10 individual outputs.
 

Thread Starter

q12x

Joined Sep 25, 2015
2,227
A 74HC192 would do what you want, but it is restricted to a 5 volt maximum supply. You would still need the CD4028 decoder (or similar) to get 10 individual outputs.
74192 and 74193 are even more complicated to clock than you imagine !
(a bit more but still, probably too specific to something normal people are not using that often)
I found better binary up/down clocking ICs !!!
The problem with them is outputting only binary and not decade as I want.
Im sure there is such IC but it is only preferred to military or government and not really for general public.
Is my sincere impression.
 

ScottWang

Joined Aug 23, 2012
7,498
If you could use Arduino maybe it is easier, or you can try to add two CD4049 (6 inverters) connected to the output of CD4017.
 

Ya’akov

Joined Jan 27, 2019
10,226
yes, but it is not having clock inputs for up or down. Only binary inputs.
I am not sure what you mean. The BCD input on the 4510 is for preset. It can be used to set a starting value, optionally.

According to the datasheet:

1744549104600.png
There is an up/down pin to select count direction. What is it that you want to do that isn’t covered by that?
 

schmitt trigger

Joined Jul 12, 2010
2,027
Apparently what the TS wants is a single IC that will do both the downcounting and 1 to 10 decoding.

“Im sure there is such IC but it is only preferred to military or government and not really for general public.
Is my sincere impression
.”

Your impression is wrong. It doesn’t exist, unless one uses a microcontroller.
 

ElectricSpidey

Joined Dec 2, 2017
3,312
There has to be a pony in there somewhere.

I can sympathize with the OP as I spent a great deal of time back in the day looking for such a chip. (before you could simply ask someone online)

But I ended up using the CD4029B CD4028B combo. (mostly) I still have many in stock.
 

AnalogKid

Joined Aug 1, 2013
12,043
yes, but it is not having clock inputs for up or down. Only binary inputs.
Re-read post #2 and others. There is no single, standard, off-the-shelf CMOS IC that will do what you want. The answer to your original question is *no*.

It can be done with a combination of two chips, one BCD up/down counter and one decoder. The decoder is the easy part - BCD in, decoded outputs out. For the up/down counter, there are two options. One has a single clock input and a direction (up/down) input, and one has separate up-clock and down-clock inputs.

ak
 
Hi, you might find this circuit helpful. It's a ring counter that counts to 4 (2^2) with increment and decrement. It's not very elegant but can be expanded to accommodate any decimal number you want. Also leaves room to add functions like reset and clock inhibit which is good for learning and can be made with parts from the bin (D Flip-Flops can be substituted for J-K).

If I'm not mistaken, you could double the components to count to 16 (2^4). Obviously this is a lot of components for a practical circuit but goes to show how many logic functions are packed into existing chips.

ring counter.png

Falstad:
$ 3 0.000005 2.922428378123494 50 5 50 5e-11
156 376 528 424 528 0 0
w 376 528 360 528 0
w 360 528 360 592 0
w 360 592 376 592 0
R 360 528 328 528 0 0 40 5 0 0 0.5
R 376 664 232 664 1 2 200 2.5 2.5 0 0.5
w 376 560 376 664 0
150 472 472 520 472 1 2 0 5
152 520 528 568 528 1 2 0 5
156 568 528 712 528 0 5
w 520 472 520 520 0
150 472 600 520 600 1 2 0 5
w 520 600 520 536 0
L 296 592 248 592 0 1 false 5 0
w 296 592 296 464 0
w 296 464 472 464 0
w 296 592 296 624 0
I 296 624 360 624 0 0.5 5
w 360 624 472 624 0
w 472 608 472 624 0
w 376 664 544 664 0
w 544 664 544 560 0
w 544 560 568 560 0
w 568 528 568 592 0
w 472 440 472 480 0
w 472 480 472 528 0
x 207 567 281 570 4 18 Up/Down
150 872 344 920 344 1 2 0 5
150 872 400 920 400 1 2 0 5
150 872 512 920 512 1 2 0 5
150 872 456 920 456 1 2 4.999999999999999 5
162 920 344 992 344 2 default-led 1 0 0 0.01
162 920 400 992 400 2 default-led 1 0 0 0.01
162 920 456 992 456 2 default-led 1 0 0 0.01
162 920 512 992 512 2 default-led 1 0 0 0.01
I 720 392 784 392 0 0.5 5
I 720 464 784 464 0 0.5 5
w 536 432 472 432 0
w 472 432 472 440 0
w 992 344 992 400 0
w 992 400 992 456 0
w 992 456 992 512 0
w 992 512 992 536 0
g 992 536 992 576 0 0
w 864 520 872 520 0
w 872 392 784 392 0
w 872 464 832 464 0
w 872 336 784 336 0
w 784 336 784 392 0
w 872 352 832 352 0
w 832 352 832 464 0
w 832 464 784 464 0
w 872 408 856 408 0
w 856 408 856 520 0
w 864 520 856 520 0
w 856 520 720 520 0
w 720 520 720 464 0
w 872 448 872 432 0
w 872 432 720 432 0
w 720 432 720 392 0
w 872 504 872 456 0
w 872 456 872 448 0
w 664 528 664 504 0
w 720 464 536 464 0
w 536 464 536 432 0
w 664 504 664 392 0
w 664 392 720 392 0
 

Thread Starter

q12x

Joined Sep 25, 2015
2,227
It doesn’t exist, unless one uses a microcontroller.
That's the expensive option I mentioned.
But I ended up using the CD4029B CD4028B combo. (mostly) I still have many in stock.
I mentioned it already in my OP :
3. I know there is the other way, using a binary counter with up/down + a BCD with 10 Decoded Outputs like 4028.
But the idea here is to have a SINGLE IC that is doing it !


Apparently what the TS wants is a single IC that will do both the downcounting and 1 to 10 decoding.
exactly
----------
I write here to you guys, because I am betting maybe you may have come across such IC from not so commercial brands, like motorola for example or something more factory inclined than commercial. Something that can be more sophisticated but has these characteristics, maybe? Also very cheap.
Anyway, it's a shame its not publicly available. Eh well... we can not have them all.
 
Last edited:

BobTPH

Joined Jun 5, 2013
11,463
And an 8 pin microcontroller can be had for about 50 cents. Unless you sufferer from fear of programming, it is the simplest solution.
 
Status
Not open for further replies.
Top