2.3.2.A SevenSegmentDisplay
2.3.2.A SevenSegmentDisplay
2 Seven-Segment Displays
Introduction
What do alarm clocks, cable TV converter boxes, home answering machines, and
inexpensive calculators all have in common? In addition to being built from electronics, many
also include seven-segment displays as part of their design.
There are two types of seven-segment displays: common cathode and common anode.
Understanding how these displays work and the differences between them is fundamental to
designing many different types of electronic devices.
In this activity you will learn how to use seven-segment displays to display both alpha and
numeric characters. You will also be introduced to the Seven-Segment Display Driver.
Equipment
• Circuit Design Software (CDS)
• Breadboard (DMS or DLB)
• #22 Gauge solid wire
• Integrated Circuits (74LS04 & 74LS32)
• Common Cathode Seven-Segment Display
Procedure
1. Let’s investigate what alpha-numeric characters we can display on a seven-segment
display.
Common Cathode Common Anode
b. For the seven switches (i.e., A through G), determine the settings required so that the
seven-segment display will display 0-9. Use the results to complete the table shown
below.
Display A B C D E F G
0 1 1 1 1 1 1 0
1 0 1 1 0 0 0 0
2 1 1 0 1 1 0 1
3 1 1 1 1 0 0 1
4 0 1 1 0 0 1 1
5 1 0 1 1 0 1 1
6 1 0 1 1 1 1 1
1 1 0 0
7 1 0 0
8 1 1 1 1 1 1 1
9 1 1 1 0 0 1
1
Display A B C D E F g
A 1 1 1 1 0 1 1
0 0 1 1 1
B 1 1
C 0 0 0 1 1 0 1
D 0 1 1 1 1 0 1
E 1 0 0 1 1
1 1
F 1 0 0 0 1 1 1
G 1 1 1 1 0 1
1
h 0 0 1 1
1 0 1
d 0 0 1 0
0 1 1
p 0 1 0
0 1 0 1
2. Now, let’s see how you can use a seven-segment display in a logic circuit.
a. Analyze the seven-segment display circuit shown below and complete the
display table shown. The display is a common cathode.
b. What message do you predict will be displayed?
J K Display
0 0 H
0 1 I
1 0 I
1 1 H
c. Simulate the circuit to see if you were correct with your analysis.
© 2014 Project Lead The Way, Inc.
Digital Electronics Activity 2.3.2 Seven-Segment Displays – Page 3
Seven-Segment Display Drivers
1. In a previous activity, you were introduced to the Digital Hex Display. The Digital Hex
Display translates four lines of binary into hexadecimal.
2. To display numbers on a seven-segment display, you will need to use a specific driver
that will translate four lines of binary into seven-segment numerical code.
• The 74LS48 SSD Driver is designed for the Common Cathode SSD.
• The 74LS47 SSD Driver is designed for the Common Anode SSD.
Simulate the circuit shown below.
b. Enter 00002 to 11112 and note the number displayed on the SSD. What is the
major difference between a Common Cathode Display and a Common Anode
Display?
0000 will show all outputs but not the blank one, 1111 shows a 0
4. What if you only had access to a Common Anode Seven-Segment Display with a
74LS48 SSD Driver? Could you modify the circuit to display the numbers correctly?
Start here 2/20
a. Simulate the modified circuit using a CA SSD and 74LS48 SSD Driver.
2. List five words of three characters or more that you could spell out using a seven-
segment display. Don’t forget about lower-case characters. Be creative. Be polite.
• BEAD
_________________________
CAB
• _________________________
FED
• _________________________
• FEED
_________________________
• BED
_________________________
3. Describe what you should look for if you designed a circuit with an SSD that
appears to work in simulation, but does not appear to be working when you create
the circuit. (Hint: it may actually be working)
Check if the circuit has all the seven segments powered on as it may not display anything if they aren't
connected to power.