Seven segment display and invalid states

Thread Starter

mikerodi

Joined Jul 6, 2009
56
Good evening to all… I’m working on a project where I need to increment a value in intervals from one to ten. I’m purposely using cmos chips so as to progressively learn how they work.
I’m using a CD4510 to drive a seven segment display, but as I need it to increment in intervals from one to ten, I presume I have to use the input pins of the binary to decimal converter. Is that correct? If so, how do I manage the extra bits after 9?
I hope my question is clear…
 

dl324

Joined Mar 30, 2015
18,219
I’m using a CD4510 to drive a seven segment display, but as I need it to increment in intervals from one to ten, I presume I have to use the input pins of the binary to decimal converter. Is that correct? If so, how do I manage the extra bits after 9?
You could decode 0 from the counter and use the output to drive the 'b' and 'c' segments for the second display.
 

Thread Starter

mikerodi

Joined Jul 6, 2009
56
I like that chip you selected - because it is a BCD counter you will not get any invalid output states. Take a look at the timing diagram in the datasheet. https://www.ti.com/lit/gpn/cd4510b
Now you need a driver, such as CD4511, for common-cathode readouts. Are your readouts common-cathode?
The basic set up is on here: https://www.allaboutcircuits.com/textbook/experiments/chpt-7/7-segment-display/
Thank you for your reply. The problem is that I need to count in various increments (from increments of one, up to ten). I’ve managed to achieve it by sending multiple clocks according to the button pressed, but I was hoping to achieve it with an adder chip, which means I would need to use the input pins of the cd4510 instead of the clock input?
 

Thread Starter

mikerodi

Joined Jul 6, 2009
56
I cannot understand why previous threads don’t get read…
The obvious/ simple solution would be a pic, I’m fully aware of that, but as stated in my fist message, I would like to use cmos, purely to exercise logic and because I have a bunch of them.
I’ll try pose the question differently…
I’m trying to construct a metronome which allows me to inc/dec values in different intervals. These values are then fed to a D/A to obtain a voltage to be fed to a precision voltage to frequency converter. My problem with the “display part” is that I’ve already achieved the interval problem with a decade counter by sending multiple pulses, but was wondering if there was an alternative solution. In other words, the 4510 has both a clock input and binary pin inputs, but only the first ten are recognized. Once the count overflows, the digit hangs on nine until I return to zero and that’s the part I’m trying to resolve.
 

MrChips

Joined Oct 2, 2009
34,628
It would have been much clearer if you had described the full project up front.

What do you mean by “the digit hangs on nine”?
The counter should recycle to zero on the next clock pulse.
 

Thread Starter

mikerodi

Joined Jul 6, 2009
56
It would have been much clearer if you had described the full project up front.

What do you mean by “the digit hangs on nine”?
The counter should recycle to zero on the next clock pulse.
It is evident that what I’m trying to get at, isn’t clear… so may I ask you a counter question so I can guide you to my issue?
How would you go about incrementing values in, say, two’s or seven’s, for that matter?
 

MrChips

Joined Oct 2, 2009
34,628
It is evident that what I’m trying to get at, isn’t clear… so may I ask you a counter question so I can guide you to my issue?
How would you go about incrementing values in, say, two’s or seven’s, for that matter?
The easy solution is to use an MCU.
However, you have stated that that is not an option.

In order to use counter HW logic, you need to be able to send x number of pulses to the clock input. This you have already done, apparently.

You have not stated how you select the number of pulses to be sent.

The counter should not freeze at 9. It should wrap around to 0.
Also, why do you need the parallel inputs?
 

Thread Starter

mikerodi

Joined Jul 6, 2009
56
The easy solution is to use an MCU.
However, you have stated that that is not an option.

In order to use counter HW logic, you need to be able to send x number of pulses to the clock input. This you have already done, apparently.

You have not stated how you select the number of pulses to be sent.

The counter should not freeze at 9. It should wrap around to 0.
Also, why do you need the parallel inputs?
Using a cd4017 to emit short pulses to the clock input of the cd4510. The counter counts till it reaches the button pressed where I’ve put an AND GATE to freeze the counter and then reset it. It works flawlessly, but for sake of practice, I was considering if, with adders, I could send instant values to the 4510 using the input pins.
I could send a snapshot of the circuit if you like?
 
Top