Professional Documents
Culture Documents
PDF Activity 2
PDF Activity 2
PL.T IN .. .
Introduction· Y
- 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
di~plays as part of their design. · -- ·
) here are two types of seven-segment displays: common cathode and common anode. 1
nderstanding
,;ho; the displays work and the differences between the~ i~ fundamental to designing many different
; yp:es of,electronic devices.
; In :i°his ~ctivity you will learn how to use seven-segment displays to display both alpha and numeric _
: characters. You .will al so· b:e int'r6cltfceg .t qJ he-Severi-Seg_me rif Displ 3y Q r iver.-> ~ -~, ._ ,. -·: . . · ·., .
Equipment
•Circuit Design Software (CDS)
•Breadboard (DMS or DLB)
•#22 Gauge solid wire
.. ' • Integrated Circuits (74LS04 & 74LS32)
·: • - Com _mon Cathode ?even-Segment Display
• :·
:Procedure
l
1. Let's investigate what alpha-numeric characters vv~ · ~ dis~lay on a se~en~segm~nt.display.
.
· 5V
GND
- -- ., ___ - ~_ ~ --~
;; J
a - Using th CD
- e S, enter th . • below
Please note th - · -e common cathode seven-segment display test ~ircurt shown
th
at e seven-segment display is a common cathode display.
GND
5V
Key A
Key
Key D
Key E 22
Key F 22
~~ -
Key G
GND
- b. For the seven switches (i.e., A through G , determine the settings required so that the seven
segment display will_display 0-~- Use the _esults to compl~te the ta~le shown below
~ t-· ·. · ·._ ·- · . '·_-. · . - ,, ~ .. --, :; __ ;... _- . . . ·- . · ;
.... .- .. ~0~,
. i - - - -- - : -7 r ~ _.:..:_-,---=----,--
.:...._---, ..
Display A B C D
E F G
1 0 \ \ 0
2
nl () 0
\ 0
\ 0
l l \
\ 0 0
}
I \
\ 0 0
I 0 \ \ \ \
6
I 0 \ \
7 - l
l u 0 \ I
---r-L_ l
0 \
0
0
0
\
- \ \ __ \ l\
------- \ a--;
.
J
c. Using the seven SEDT switches (i.e., A thru.G), cletermine at l~a.st, ten .alph~ characters that
you cou \d disp\ay -u~ing -th~ seven-segm~nt display ,Don't forget to indud-e lower case
characters. Record your findings in the table shown below.
..
· Display · .. A- 8 . C .D S ·
·E F_ g
0 l \ l 0 l \
0 o
:· ,-0 \ \ \ \ \
C 0 L
\ I 0 I
°
,, . ·-· ·- -·.
_\ to \ \ \ t,
· _,: . f 0 \ \ \
\
;
t \ 0 0 (J l I
·5 \ \ \ \ 0 \
/
h 0 D \ l \ \
-· ·
-, - , . .~. .. ,_ ,
.. _
··~
\_ 0- o ._
·. ..
\ \ 0
1 . ()
riJ\ 0 . . 9. \
.. 6 . \ 0 \
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 disi:>layed? . \-\ 1. .
GND
~ .... ~ -.-: _ ~
--
J K
V
SY
• __ ., .. _ • -
i~ - ~.
Key= J
2200
2200
2200
2200
J K Display
0 0 \-\
.. 0. -~
,,.., - .
. ·
1
.. .. ., __ _ .. \ ..
1 0 \
1 1 \-\
vcc DCD_HEX_BLUE
Key=
Key=
Key=
Key= F
GND
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.
GN
Key=
D C B A
GN
vcc
..............._..
- -: . Key= A
Ke y= S
·.- ~ . ey =D · ·
vcc LT 8F
A B C D E F G
_ _ .._ _ 1
=~URB8
D
2 2
8~ 74LS48N
b. Enter 00002 to 11112 and note the number displayed on the SSD. How is it di.fferent
from what is displayed on the Digital Hex Display?
0 0 Cc) t h M . J( ,l
u._""' rj \1' ) • -~ \ \ \ \ 2 s ..) ' 1 , v \ '-
\l 0
4
ABCDEFG
DC B VCC
vcc
. ·. . .. : ·... ..
Key =A . 22 ;,
Key= S 74LS47N
. : -,·
- ··· Key.=·F- · . · : •
. r • • : ••
GN
vcc
DCBA
vcc
JOO~
GND
.. , .._. . . a ., .~i _n wl_ate on .~ Q S.§.Qf w.a.~~ -~be _n odJfied circui.t using.a CA sso ancJ 74 Ls ~.s~~ ~;~~ ~-'-. - .
b. Explain below what you needed to do to modify the circuit. ··· · · ---···· · --.. - ·-· ·· . .
. _: s.
Using.the DLB, build and test the seven ~segment circuit that you analyz d d •
t -- -
· .· .' ' · . · · •· ; . · e an srmu1 ated in #2
, above. L1m1t your 1mplementat1on to a 74LS48 SSD Driver and a common cath d
, •·display. o e seven-segment
GN
. -,
. ·· ~
,
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
·-
-
- --~, •
. ·· -: • :~c CA b :c·-_: . -. .. : -- :: · ~--=- - ~-.
3i:,;,~ ~iI 1:~ :;
:;_1
~ ~- \j _i ~ J ~\ :=· : ~ <>0--~-
· -~~ ::.
_ ~- ~~ - ~-_~
• J E f-\ c\
•
-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: i t may
actually be working