Data Sheet

35
Lesson 11 4-Digit 7-Segment Display
Overview
In this lesson, you will learn how to use a 4-digit 7-segment display.
Components Required
Name Qty Name Qty
UNO R3 or MEGA 2560 1 4-bit 7-segment Display 1
74HC595 IC 1 220Ω Resistor 4
Breadboard 1 DuPont Wire 17
Component Introduction
The four-digit segment display is an 4x8-shaped LED display device
composed of 32 LEDs (including four decimal points), these segments
respectively named a, b, c, d, e, f, g, h, dig1, dig2, dig3, dig4. It is very
similar to the previous 7-segment display, but has four dedicate common pins to control each
digit separately.
Connection Schematic
a
f
b
g
e
c
d
h
a
f
b
g
e
c
d
h
a
f
b
g
e
c
d
h
a
f
b
g
e
c
d
h
b 12
dig3 11
dig2 10
f 9
a 8
dig1 7
6 dig4
5 g
4 c
3 h
2 d
1 e
DI G1 DI G2 DI G3 D IG4
1174211053
12 9 8 6
A B C D E F G H A B C D E F G H A B C D E F G H A B C D E F G H
a
f b
g
e c
d
dp
e
d
h
c
g
dig4
dig1
a
f
dig2
dig3
b
a
f b
g
e c
d
dp
a
f b
g
e c
d
dp
a
f b
g
e c
d
dp
AREF
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
GND
SDA
SCL/RESET
3V3
5V
A0
A1
A2
A3
A4
A5
GND1
GND2
VIN
Analog Input
Digi tal Input/Output
ARDUINO-NOHOLE
Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
GND
VCC
DS
OE
ST_CP
SH_CP
MR
Q7'
220R
220R
220R
220R
74HC595
UNO R3/
Mega 2560