Learning Objectives:: Topic 2.2.3 - BCD Counter Topic 2.2.4 - Decade Counter
Learning Objectives:: Topic 2.2.3 - BCD Counter Topic 2.2.4 - Decade Counter
Learning Objectives:: Topic 2.2.3 - BCD Counter Topic 2.2.4 - Decade Counter
3 – BCD Counter
Topic 2.2.4 – Decade Counter
Learning Objectives:
displays;
recognise and analyse the block diagram for a single digit decimal
counting system.
1
GCSE Electronics.
Unit E2 : Applications of Electronics
The previous topic covered binary counters, and their use linked to logic
systems, in generating a sequence of output states.
Sometimes we need to view the count as it takes place, for example when
counting cars entering a car park.
2
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
3
GCSE Electronics.
Unit E2 : Applications of Electronics
The third column in this table is a modified version of binary, called Binary
Coded Decimal (or BCD for short). In this the maximum count is restricted to
1001, i.e. 9 in decimal. After that, resetting, occurs when the count reaches
1010. The binary counter IC can be made into a BCD counter as shown below.
D C B A
Cout
R
4
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
The most common display for counting systems is the 7-segment display, a
single package that has 7 LED’s arranged as shown below.
a
f b
e c
Each LED (or segment) can be controlled independently and are used to
create our familiar numbers as shown below.
5
GCSE Electronics.
Unit E2 : Applications of Electronics
When the seven segment display is manufactured with all seven anodes
connected together then the display is referred to as a common anode
display. Common anode displays are controlled by ICs that sink current.
When the display is manufactured with all seven cathodes connected
together then the display is referred to as a common cathode display.
Common cathode displays are controlled by ICs that source current. The
circuit symbol for a seven segment display is shown in the following diagram.
6
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
Decoder/Driver ICs
Next, we need an interface to link the two parts together as shown below.
f b
Interface
Unit g
e c
D C B A
Cout
R
The purpose of the interface unit is to convert the BCD output from the
counter into appropriate logic signals to light the correct segment of the
display. We can show this in a truth table as shown below.
7
GCSE Electronics.
Unit E2 : Applications of Electronics
The interface unit is a complex logic system that has 4 inputs and 7 outputs.
We do not need to know the exact logic function required for each output
since a dedicated IC, as a decoder/driver IC, is available. The device
performs two functions for us:
f b
Decoder /
Driver g
e c
8
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
f b
Decoder /
g
Driver
e c
D C B A
BCD Counter Cout
R
The completed system using a BCD counter
9
GCSE Electronics.
Unit E2 : Applications of Electronics
1a. Set up the following counter which contains a CMOS 4510 BCD counter
and a 4511 decoder driver
1b. Press and release switch SW1 about twenty times and comment on what
you observe.
…………………………………………………………………………………………………………………………………
1c. Investigate the effect of connecting the U/D pin of the 4510 IC to 0V
rather than 9V.
…………………………………………………………………………………………………………………………………
10
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
11
GCSE Electronics.
Unit E2 : Applications of Electronics
Each group of 4 BCD digits is connected to its own BCD counter with the COUT
terminal of the first counter connected to the clock of the second one as
shown on the next page.
Decoder / Driver
Decoder / Driver
D C B A D C B A
Clock BCD Counter Cout BCD Counter Cout
in
R R
To build the 0-99 counter shown above is quite complicated. A better solution
would be to use a CMOS 4026 IC which has a BCD counter and Decoder
driver on the same chip. If you have time set up and test the following
circuit. You can add current limiting resistors to the display if needed.
13
GCSE Electronics.
Unit E2 : Applications of Electronics
The 7-segment display can also be used to display other characters as shown
below:
L H C A n
y E u P F
14
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
Student Exercise 1:
f b
Decoder /
Driver g
e c
D C B A
Cout
R
15
GCSE Electronics.
Unit E2 : Applications of Electronics
3.
f b
e c
.................................................................................................................
..................................................................................................................
c) What segments will be off to display the number 2?
16
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
..................................................................................................................
..................................................................................................................
............................................................................................................................
............................................................................................................................
............................................................................................................................
............................................................................................................................
............................................................................................................................
............................................................................................................................
............................................................................................................................
The output of the Logic Analyser shows what happens at the output pins
after the reset switch SW1 is momentarily closed:
Ch. 0 represents the clock pulse, Ch. 1 to 10 show the 10 outputs of the
Decade counter. You should be able to see that only one output at a time is at
logic 1 and that changes occur on the rising edge of the clock pulse.
18
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
2a. Set up the following circuit using the CMOS 4017 Decade counter
2b. Adjust VR1 on the 555 astable to vary the speed at which the sequence
changes.
2c. Connect the Q6 output of the counter to the R input and comment on
the effect this has on the sequence produced.
……………………………………………………………………………………………………………………………
19
GCSE Electronics.
Unit E2 : Applications of Electronics
Note: You will not be examined on the use of the enable pin EN. When EN is
high the display freezes and when low it allows the outputs to go high in turn.
3b. Press and release the Roll switch to test the electronic coin.
3c. Modify the circuit to make an electronic dice. You will need to change
the position of the wire which goes from the reset pin. You will also
need to connect 6 LEDs to the output pins.
……………………………………………………………………………………………………………………………
20
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
Student Exercise 1:
1.
Clock Pulse Display Shows
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 0
11 1
12 2
13 3
2.
3. a) e and f.
21
GCSE Electronics.
Unit E2 : Applications of Electronics
b) b, c, f and g.
c) c and f.
d) d, e, f and g.
22
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
1. A seven segment display can be used with a BCD counter and decoder to display numbers.
………………………………………………………………………………………………..
[1]
(b) A seven segment display can also be used with a suitable decoder to display letters.
A pupil has designed a simple light meter which uses a seven segment display.
The arrangement of the seven LED segments that make up the display is shown on the
following diagram.
Complete the following table to show which segments are lit when each of the letters b, d
and S are displayed.
[3]
23
GCSE Electronics.
Unit E2 : Applications of Electronics
(a) What is the name of the block labelled A in the above diagram?
………………………………………………………………………………………………
[2]
24
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
(b) The arrangement of the seven LED segments that make up the display is shown on the
following diagram.
Complete the following table to show the numbers displayed when different segments are
lit.
[4]
25
GCSE Electronics.
Unit E2 : Applications of Electronics
3. (a) The diagram shows the arrangement of the LED’s in a seven segment display.
[2]
(b) Here is the block diagram for a single digit decimal counting system.
Answer …………………………..
[1]
26
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
4. The two circuits below show a 5Hz clock connected to a decade counter and bargraph LED
display.
(a) How long will it take for the sequence to cycle through all 10 outputs in circuit A ……....
[1]
(c) How long will it take to cycle through the sequence displayed in circuit B …………
[1]
STEP LED ON
Q0 D1
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Q8
Q9
5. The circuit below shows a 20 Hz clock connected to a decade counter, four OR gates and 6 LEDs.
(a) Complete the table below to show which LED comes on for each step of the sequence
produced by the decade counter.
27
GCSE Electronics.
Unit E2 : Applications of Electronics
[3]
(b) How long will it take for the sequence to cycle through all 10 outputs …………
[1]
28
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
6. (a) The diagram shows the arrangement of the LEDs in a seven segment display.
(b) Here is the block diagram for a counting system. The system shows how many times the
switch has been pressed.
………………………………………………………………………………………………..
[1]
29
GCSE Electronics.
Unit E2 : Applications of Electronics
(ii) The table shows the output of the BCD counter after the switch has been pressed a
number of times.
[2]
30
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
7. A fairground ride contains a counting system which shows the operator how many people have
passed through a turnstile.
………………………………………………………………………………………………
[1]
(ii) What does block X contain? Choose your answer from the following list.
.................................................................................................................................................
[1]
(b) A 4-bit binary counter is used for the BCD counter. The counter must reset when the ninth
person passes through the turnstile. The counter is reset by taking the reset pin to logic 1.
Complete the diagram below to show how this can be done.
Bit A of the counter is the least significant bit.
[3]
31
GCSE Electronics.
Unit E2 : Applications of Electronics
(c) The arrangement of the seven LED segments that make up the display is shown on the
following diagram.
Complete the table to show the numbers displayed when different segments are lit.
[4]
32
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
8. The block diagram gives the main components involved in a counting system which drives a
bar graph display unit.
Bargraph
Clock
X Display
.......................................................................................................
[1]
(b) Complete the output graphs Op1 – Op10 below to show the output from Block X in
response to the clock pulses provided. Initially all outputs are at logic 0.
Clk
Op1
Op2
Op3
Op4
Op5
Op6
Op7
Op8
Op9
Op10
[5]
33
GCSE Electronics.
Unit E2 : Applications of Electronics
2.2.3 BCD Counter
Targets: 1. ………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
2. ………………………………………………………………………………………………………………
………………………………………………………………………………………………………………
34
Topic 2.2.3 – BCD Counter
Topic 2.2.4 – Decade Counter
35