Upload
rhamde-pillogo
View
223
Download
1
Tags:
Embed Size (px)
DESCRIPTION
hahaha
Citation preview
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 1 of 9 pages
www.e-Gizmo.com
Wire it on your microcontroller circuit, or hook it up
on your PC parallel port, and you will be able to dis-
play 4 digit numbers with little programming effort.
Also functions as a stand alone digital counter.
Easy 4-digits 7 segment LED Display
Hardware Manual Rev 1r0
FEATURES & SPECIFICATIONS
• 5V Power Supply
• 2 Available modes (Digit Display mode and
Counter mode).
• BCD Binary Coded Decimal
• Stand alone Digital Counter
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 2 of 9 pages
www.e-Gizmo.com
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
MAJOR COMPONENTS PRESENTATION
Figure 1. Easy 4-digits 7 segment LED display and major components presenta!on
Bo!om View
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 3 of 9 pages
www.e-Gizmo.com
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
Figure 2. Easy 4-digits 7 segment LED display JP2 Pin
If the JP2 header pins has a jumper a!ached
to it, you are in ‘Counter Mode’ and to enter the ‘Dig-
its Display Mode’ just remove the jumper a!ached.
When in digit display mode the JP1 pins D3-
D0 became binary inputs and the ‘UP‘ and ‘DOWN‘
func"ons will be disabled.
Figure 3. Easy 4-digits 7 segment LED display
JP1 Pins
Pin I.D. Func"on
GND Ground
5V 5V Power Supply
D3 I/O
D2 I/O
D1/UP I/O/Increment
D0/DOWN I/O/Decrement
Shi#/Clear Shi# register/Clear counter
Table 1. JP1 Pins Pin Descrip!on and fnc!ons
Func"on D3 D2 D1 D0
Display Registers (BCD F) 1 1 1 1
Load BCD 1 0 0 0 1
Load BCD 2 0 0 1 0
Load BCD 3 0 0 1 1
Load BCD 4 0 1 0 0
Load BCD 5 0 1 0 1
Load BCD 6 0 1 1 0
Load BCD 7 0 1 1 1
Load BCD 8 1 0 0 0
Load BCD 9 1 0 0 1
Load BCD 0 0 0 0 0
Load BCD A 1 0 1 0
Load BCD B 1 0 1 1
Load BCD C 1 1 0 0
Load BCD D 1 1 0 1
Load BCD E 1 1 1 0
Table 2. Binary register in digit display mode‘1’ = High
‘0’ = Low
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 4 of 9 pages
www.e-Gizmo.com
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
Features (Display Mode)
Internal 4 stage shi# buffer
Internal pull-up resistors (data and control lines)
Display numbers 0-9 as well as characters A-E (F is used as instruc"on to display out the content of the 4
buffers
42 frames per second maximum opera"ng speed
Display Mode Opera"on
The device is in display mode when the jumper mode selector is open. In this mode, the device just
wait for a high to low transi"on in the Shi# pin and when it detects a transi"on, its reads D3-D0, shi# it in the
4 stage buffer if it is data (0-9 or A-E) or display the content of the buffers when it receives an F (1111).
On power up or upon switching from counter mode to display mode, the display shows 8888 (four 8’s)
but the contents of the buffers are all 0’s. This can be proven by sending F (1111) first.
Ex: Displaying 1234 to the 4-digit display:
1. Load BCD 1 to D0-D4 then toggle Shi# line.
2. Load BCD 2 to D0-D4 then toggle Shi# line.
3. Load BCD 3 to D0-D4 then toggle Shi# line.
OPERATIONS - DISPLAY MODE & COUNTER MODE
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 5 of 9 pages
www.e-Gizmo.com
4. Load BCD 4 to D0-D4 then toggle Shi# line.
5. Load F (1111) to D0-D4 then toggle Shi# line.
Features (Counter mode)
Up, down and Reset pins
Counts from 0000-9999
Internal pull-up resistors (data and control lines)
140 counts per second maximum (see "ming diagram)
Counter Mode Opera"on
The device is in counter mode when jumper mode selector is close. In this mode, D1, D0 and Shi#
pins becomes the Up, Down and Reset pins respec"vely (D3 and D2 has no func"on). To operate the coun-
ter, all it needs is a high to low transi"on on any of its pins. One way is to short any pin to ground. Note that
the counter is fast and it has no internal debounce protec"on when mechanical contact (switch) is used
which can cause mul"ple counts. To avoid this problem, simply add a capacitor (10 – 100 nF typical) to each
input pin going to ground or simply parallel to the switch or contact.
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 6 of 9 pages
www.e-Gizmo.com
CONNECTING TO MICROCONTROLLERS
Figure 4. Easy 4-digits
7 segment LED display
Connected to a mi-
crocontroller through
GPIO port
Figure 5. Easy 4-digits 7 segment LED display
Connected to gizDuino microcontroller.
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 7 of 9 pages
www.e-Gizmo.com
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
Fig
ure
6. T
imin
g D
iagra
m o
f Dig
it Dis
pla
y M
ode.
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 8 of 9 pages
www.e-Gizmo.com
NC1
A12
A23
A34
A45
G6
F7
E8
D9
C10
B11
A12
NC13
U1
4 D
IGIT
7-S
EG
ME
NT
DIS
PL
AYR
20
150
R21
150
R22
150
R23
150
R24
150
R25
150
R26
150
+C
2220uF
/16V
C3
104
P31/O
E8
P32/E
PM
9
P33/V
PP
10
XT
AL
1/C
E7
GND14
XT
AL
26
VCC5
P00/C
LR
11
P27/D
74
P01/C
LK
12
P26/D
63
P02/P
GM
13
P25/D
52
P20/D
015
P24/D
41
P21/D
116
P23/D
318
P22/D
217
U2
Z86E
04
Y1
7.2
Mhz
C5
27
C4
27
VC
C
VC
CV
CC
QB1
QC2
QD3
QE4
QF5
QG6
QH7
GND8
QH'9
SCLR10
SCLK11
RCLK12
OE13
SER14
QA15
VCC16
U3
74H
C595
Q4
PN
PQ
3P
NP
Q2
PN
PQ
1P
NP
VC
C
R12
5.1
K
R13
5.1
K
R14
5.1
K
R15
5.1
K
R19
1.5
KR
16
1.5
KR
17
1.5
KR
18
1.5
K
1234567
JP1
HE
AD
ER
7
R8
10 K
R11
10 K
R10
10 K
R9
10 K
R1
10 K R
210 K R
310 K R
410 K R
510 K R
610 K
1 2JP
2
JUM
PE
R
R7
10 K
VC
C
F1
FU
SE
1
D1
DIO
DE
Gnd
5 V
D0/D
ow
nD
1/U
pD
2D
3
Shift/C
lear
Functio
n S
elect
0 - D
isplay M
ode
1 - C
ounter M
ode
4 D
igit D
ispla
y / U
p-D
ow
n C
ou
nter
Fig
ure
7. S
chem
atic
Dia
gra
m o
f Easy 4
-Dig
its 7
Segm
ent L
ED
Dis
pla
y
Easy 4-Digits 7 Segment LED Display Datasheet Version 1
© Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 9 of 9 pages
www.e-Gizmo.com
PCB BOARD PRESENTATION
Figure 8. Easy 4-Digits 7 Segment LED Display
Silk Screen Layout
Figure 9. Figure 7. Easy 4-Digits 7 Segment LED Display
PCB Copper Pa"ern
Easy 4-Digits 7 Segment LED Display Datasheet Version 1