Easy 4digit Display and Counter D
Easy 4digit Display and Counter D
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 1 of 9 pages
www.e-Gizmo.com
Bo!om View
Figure 1. Easy 4-digits 7 segment LED display and major components presenta!on
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 2 of 9 pages
www.e-Gizmo.com
If the JP2 header pins has a jumper a!ached Table 1. JP1 Pins Pin Descrip!on and fnc!ons
to it, you are in Counter Mode and to enter the DigPin I.D.
Func"on
its Display Mode just remove the jumper a!ached.
GND
Ground
5V
5V Power Supply
When in digit display mode the JP1 pins D3D3
I/O
D0 became binary inputs and the UP and DOWN
D2
I/O
func"ons will be disabled.
D1/UP
I/O/Increment
D0/DOWN
I/O/Decrement
Shi#/Clear
Shi# register/Clear counter
D3
1
0
0
0
0
0
0
0
1
1
0
1
1
1
1
D2
1
0
0
0
1
1
1
1
0
0
0
0
0
1
1
D1
1
0
1
1
0
0
1
1
0
0
0
1
1
0
0
Load BCD E
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
1 = High
0 = Low
D0
1
1
0
1
0
1
0
1
0
1
0
0
1
0
1
0
Pages 3 of 9 pages
www.e-Gizmo.com
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 4 of 9 pages
www.e-Gizmo.com
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 5 of 9 pages
www.e-Gizmo.com
CONNECTING TO MICROCONTROLLERS
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 6 of 9 pages
www.e-Gizmo.com
Pages 7 of 9 pages
www.e-Gizmo.com
Gnd
5V
D3
D2
D1/Up
D0/Down
Shift/Clear
JP1
1
2
3
4
5
6
7
HEADER 7
Function Select
0 - Display Mode
1 - Counter Mode
JP2
1
JUMPER
F1
FUSE1
R11
R10
10
R9 K
10 K
R8
10 K
10 K
8
9
10
7
6
D1
DIODE
XTAL1/CE
XTAL2
P31/OE
P32/EPM
P33/VPP
+ C2
220uF/16V
VCC
P00/CLR
P01/CLK
P02/PGM
P20/D0
P21/D1
P22/D2
P23/D3
P24/D4
P25/D5
P26/D6
P27/D7
C3
104
U2
11
12
13
15
16
17
18
1
2
3
4
Z86E04
VCC
R15
Q3
PNP
R14
Q2
PNP
R13
Q1
PNP
R12
5.1 K
R18
1.5 K
5.1 K
R17
1.5 K
5.1 K
R16
1.5 K
5.1 K
Q4
PNP
R19
1.5 K
U1
4 DIGIT 7-SEGMENT DISPLAY
VCC
U3
74HC595
VCC
GND
QH'
QH
QG
SCLR
10
SCLK
11
QF
QE
RCLK
12
OE
13
VCC
R1R2R3R4R5R6
10 10
K 10
K 10
K 10
K 10
KK
R7
10 K
Y1
C5
27
NC
13
11
12
D
9
C
10
E
8
F
7
2
QD
QC
SER
14
QA
15
A4
5
G
6
1
QB
VCC
16
A2
3
A3
4
NC
1
A1
2
7.2 Mhz
C4
27
5
VCC
Pages 8 of 9 pages
www.e-Gizmo.com
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
GND
14
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 9 of 9 pages
www.e-Gizmo.com