Bab 6 Encoding, Decoding, Dan Display 7 Segmen
Bab 6 Encoding, Decoding, Dan Display 7 Segmen
Roger L. Tokheim
Chapter 6
Encoding, Decoding, and
Seven-Segment Displays
Example:
Decimal number 4926 4 9 2 6
Decimal Number 8 7 1
Decimal Number 3 5 0
Inputs
7-segment code
a
L
H a +5V
L
H b
b
L c
H
L d
H
L e
H
L f
H
L g g
BCD input
Decimal output
010 100 010 011
0
BCD-to-
7-Segment
Decoder/
Driver ?
Conductive
pattern on glass
Contacts
Liquid crystal
Metalized layer
Glass backplane
100 Hz
Polarizer out-of-phase signal
activates segment
©2008 The McGraw-Hill Companies, Inc. All rights reserved.
QUIZ
1. While VF and LED displays emit light,
LCDs __________ (control available, control available
sublimate red) light.
2. The nematic fluid sandwiched between the
glass plates of a LCD is also called _______ liquid crystal
_______ (green phosphor, liquid crystal).
3. Monochrome twisted-nematic field-effect
LCDs display __________ (dark, white) dark
figures on a silvery background.
4. Liquid crystal displays are difficult to read
under low light conditions however most
laptop computer flat screens are backlighted
to add brightness. (True or False) True
©2008 The McGraw-Hill Companies, Inc. All rights reserved.
Driving an LCD Display
BCD Input
0111 a
b
c
LCD
d
driver e
f
g
Phase Common
100 Hz Clock
The LCD segments
with out-of-phase signals
are active
(a, b, & c are active)
©2008 The McGraw-Hill Companies, Inc. All rights reserved.
QUIZ
Q#1:
Q#3: What
Q#2: Whatis
What isisthe
theoutput
the outputon
output onthe
on theLCD
the LCDdisplay?
LCD display?
display? ANS:
ANS: 2
ANS: 05
BCD Input A
B
LCD C
Driver D
E
F
?
G LCD
Common
100 Hz Clock
Grid
KG f a e g d c b K
Glass
Plates back
ANS:
ANS:Cathodes
ANS:Plates
Grid
A
Cathodes
Grid
(heaters)
To light a segment:
1. Heaters must be hot
2. Grid must be at +12V
3. Plate must be at +12V
B Schematic diagram
of VF display with
heaters connected
to battery.
©2008 The McGraw-Hill Companies, Inc. All rights reserved.
REVIEW
• The BCD Code • Decoders
• The Excess-3 Code • BCD-to-Seven-
• The Gray Code Segment Decoder/
• The ASCII Code Driver
• Liquid Crystal
• Encoders
Displays
• Seven-segment
• Vacuum Fluorescent
Displays
Displays
• Seven-segment LED
Displays
©2008 The McGraw-Hill Companies, Inc. All rights reserved.