Hi, you've found a data-sheet that's a really good start.
actually it's a 5 bit shift register fed back it's inverted output then run through a bunch of gates (see page 2 of the data sheet)
it counts to 10 having one output (Q0-Q9) high for each step.
It's basically the same chip as the 4017B used here.
formatting link
not that I'm reccomend that circuit (with a 9V supply) other than as an experiment as it's using the LEDS outside of their specifications and they may not last very long, it's better to use one resistor for each LED
Hi. So it's not a 4 digit counter, it's 10 digit counter, and that is why we see Q0 -Q9. But there is a 5 shift register in the IC.
Not sure what the code converter is about though.
At present what interests me is a decade counter.
From what I read, for each 7 segment display, you require 4 bits representing the count, and you are getting Binary Coded Decimal at Q1-Q4 (because we are using decade counters) and not regular binary (modulo 16?). So, when building for 7 segment displays you need 4 bits for every display. Therefore you would need a 16 bit counter (4 x 4 bit) to run four 7 segment LED displays. I guess so.
I've not enough knowledge yet to understand these counter IC's.
I've just started learning digital, and all I know about is 4 bit counters and how you can use those 4 bits (BCD in a decade counter) to run a 7 segment display (via a BCD decoder).
So, when I think about counters with 7 segment displays, I'm assuming your counter must be 4 bit, 8 bit, 12 bit etc.
I think this is true except for ring counters.
I just don't know why, with a decade counter, there are 10 bits in the IC MC14017B-D and not multiples of 4bits.
The 1-out-of-10 counter could just as well be implemented using a base-2 BCD counter (e.g. an SN74LS160A) and a decoder (e.g. an SN74LS145).
Josef
--
These are my personal views and not those of Fujitsu Technology Solutions!
Josef Möllers (Pinguinpfleger bei FTS)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://de.ts.fujitsu.com/imprint.html
It must be a decoder which outputs a special code, as a simple "BCD decoder" will output a 1-out-of-10 code. What you need is one that outputs a code geared towards 7-segment displays:
The least significant bit of the output is the top horizontal bar, then the more significant bits are arranged from top to bottom and from left to right: 0
Take a look at e.g. the 4511, the 7447 or any other "BCD to 7-segment decoder/driver".
It depends upon your display. You might want to count in octal, then a number of 3-bit counters is sufficient ;-)
Note that the integrated decodes/drivers also have a feature to suppress leading 0s.
Because the code it outputs is a 1-of-10 code.
Josef
--
These are my personal views and not those of Fujitsu Technology Solutions!
Josef Möllers (Pinguinpfleger bei FTS)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://de.ts.fujitsu.com/imprint.html
Hi. Yes, the 4 bit counters that I am reading about are all binary counters. Even the decade (BCD) counter is, except that BCD in the whole sequence of bits are not binary.
And in this scheme I see how each display LED requires a Q1-Q4 output from a 4 bit counter.
So to display a count of 7953 we need four, 4 bit counters:
Decimal displayed:..... 7 9 5 3 (on 7 segment LED)
Output of 4 bit counter is base-2 code.
--
Basically, how would you complete the above arrangement for this 10 bit
counter:
....................... Q0 Q1 Q2 Q3 Q$ Q5 Q6 Q7 Q8 Q9
??? sequence:..........
Decimal displayed:..... 7 9 5 3
(on 7 segment LED)
Decimal displayed:..... 7 9 5 3 (on four 7 segment LEDs)
Output of each 4 bit counter is base-2 code.
---
Basically, how would you make out a similar arrangement to the above for the 10 bit counter? What would it take to display 7953 on four seven segment display LEDs? How many counters?
Without some additional circuitry: you can't! The 1-of-10 code does not directly map to the 7 segments. You'd need a couple of OR gates: Segment 0 (the top most bar) is on if Q0 OR Q2 OR Q3 OR Q5 OR Q6 OR Q7 OR Q8 OR Q9 is on ...
The BCD to 7-segment decode/driver chips use a slightly more complex logic to determine which combination of the 4 bits causes which segment to light. It would be a nice exercise for Karnaugh-Veitch (sp?) diagrams!
Josef
--
These are my personal views and not those of Fujitsu Technology Solutions!
Josef Möllers (Pinguinpfleger bei FTS)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://de.ts.fujitsu.com/imprint.html
The clocks into and the carries into/out of the counters aren't shown, but what happens is that as the count sequence progresses, the outputs which are hot get decoded so that the LED segments corresponding to the numerical values of those hot outputs are illuminated.
Each display is a 7 segment LED, which, if you ignore DP has connections a-g. You obtain all the numerals from powering the seven LED segments in differing combinations.
The above shows four 10 bit counters with outputs Q0-Q9. So, we are still using four ICs to show a count of 7953.
In a 4 bit decade counter situation, each digit display is proceeded by a BCD decoder that takes a 4 bit input (Q1-Q4). If you look at the overall sitiation with the 4 bit situation, we have 16 bits lines that are decoded, (4 bits or wires for each display decoder, for each digit display).
In the above situation each display decoder has 10 lines, taking input from Q0 to Q9. That requires 40 lines fed to the decoders in total.
I thought that one, 10 bit counter might have been superior to a 4 bit counter, in terms of ICs required, but it is not. In fact, is the MC14017B really a 4 bit decade counter, but having 10 outputs (Q0-Q9)? That is what it looks like, but it's puzzling.
I cannot understand why, when you can drive a digit display with 4 bits (only 4 bits required to get up to a count of 10), we have a decade counter with 10 bits.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.