Вы находитесь на странице: 1из 6

Copyright 2011

by e-Gizmo Mechatronix Central


All Rights Reserved
Pages 1 of 6 pages
www.e-Gizmo.com
Scan and decodes 3x4 and 4x4 matrix keypad and output results through a
4-bit port. Features a 1 bit security output that can be activated by entering a
preprogrammed pass code. This kit is the improved replacement of our cur-
rent keyboard decoder kit. Operate with 8-12V power supply.
Keyboard Encoder Kit
Hardware Manual Rev 1r0

Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 2 of 6 pages
www.e-Gizmo.com
Figure 2. JP1 Pin Details.
Pin No. Pin I.D. Funcon
8 D3 Output
7 D2 Output
6 D1 Output
5 D0 Output
4 Key Secret Code output
3 Str Press Output
2 GND Ground
1 V+ 8-12V
Table 1. JP1 Pin assignments and Details
Keyboard Encoder Kit Datasheet Version 1
Figure 1. Keyboard Encoder Kit and its major components.
MAJOR COMPONENTS PRESENTATION & PIN ASSIGNMENTS
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 3 of 6 pages
www.e-Gizmo.com
Keyboard Encoder Kit Datasheet Version 1
CHARACTER INPUT BINARY CODE
Keypad Input D3 D1 D2 D3
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
0 0 0 0 0
A 1 0 1 0
B 1 1 0 1
C 1 1 0 0
D 1 1 0 1
*(E) 1 1 1 0
#(F) 1 1 1 1
Table 1. Universal Keypad Binary Input Details.
In the illustraon above (Figure 3.) It shows how the the keypad input decoded into binary and that
binary produces output, lets assume that the 1 in the binary code is the acve one, it is the one that pro-
duces output, and assume that 0 binary code is the idle one and when everything is in idle mode it doesnt
do anything or it doesnt produce output.
The D0-D3 Output will vary depending on the binary code of the character entered, if the characters binary
code Characters binary code as follows:
Figure 3. Binary Output illustraon, how D0 - D3 Produces Output.
1 = Acve
0 = Idle
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 4 of 6 pages
www.e-Gizmo.com
Keyboard Encoder Kit Datasheet Version 1
Figure 4. Example Connecon to
microcontroller GPIO Pins
Figure 5. Example Connecon to
gizDuino microcontroller.
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 5 of 6 pages
www.e-Gizmo.com
+
C
1
1
0
u
F
+
C
2
3
.
3
u
F
C
3
1
0
4
V
i
n
1
GND
2
+
5
V
3
U
1
L
M
7
8
0
5
C
T
P
3
1
/
O
E
8
P
3
2
/
E
P
M
9
P
3
3
/
V
P
P
1
0
X
T
A
L
1
/
C
E
7
GND
14
X
T
A
L
2
6
VCC
5
P
0
0
/
C
L
R
1
1
P
2
7
/
D
7
4
P
0
1
/
C
L
K
1
2
P
2
6
/
D
6
3
P
0
2
/
P
G
M
1
3
P
2
5
/
D
5
2
P
2
0
/
D
0
1
5
P
2
4
/
D
4
1
P
2
1
/
D
1
1
6
P
2
3
/
D
3
1
8
P
2
2
/
D
2
1
7
U
2
Z
8
6
E
0
X
Y
1
8

M
h
z
C
5
2
7
C
4
2
7
V
C
C
R
3
1
0

K
R
2
1
0

K
R
1
1
0

K
R
4
1
0

K
R
5
1
0

K
R
6
1
0

K
R7
100
R8
100
R9
100
R10
100
R11
100
R12
100
1 2 3 4 5 6 7 8
J
P
2
R
1
4
R
E
S
1
R
1
3
R
E
S
1
1
2
3
4
5
6
7
8
J
P
1
D0
D1
D2
D3
STR
Key
Gnd
V +
F
i
g
u
r
e

6
.

S
c
h
e
m
a
t
i
c

D
i
a
g
r
a
m

o
f


K
e
y
b
o
a
r
d

E
n
c
o
d
e
r

K
i
t
Keyboard Encoder Kit Datasheet Version 1
Copyright 2011
by e-Gizmo Mechatronix Central
All Rights Reserved
Pages 6 of 6 pages
www.e-Gizmo.com
PCB BOARD PRESENTATION
Figure 8. Keyboard Encoder Kit PCB
Copper Pattern
Figure 7. Keyboard Encoder PCB
(silkscreen layout)
Keyboard Encoder Kit Datasheet Version 1