Keyboard Encoder parallel output 16 keys 74C922-SO

Turning Ideas Into Reality
ABCircuits www.abcircuits.com POB 123 New Hill NC 27562 (919) 290-7104
74C922-SO IC
Keyboard / Keypad Encoder for up to 16 switches
MM74C922 Replacement IC
General Description
The 74C922-SO is designed as a replacement chip for the obsolete MM74C922 surface mount
part. The 74C922-SO contains all the logic necessary to encode a SPST keyboard switch array
up to 4 by 4 in size and provide a 4 bit parallel output and a data available signal. The data
available signal goes high when a key is pressed, and goes low before another key output is
generated. The data output pins keep their state even after the key is released. The array can
be a 4 x 4 array, but smaller arrays such as a 3 x 4 array or any smaller size can be used. The
74C922-SO handles debouncing of the keys as well. No external capacitors are required for
timing; all timing is internally generated. No external diodes are required in the array to prevent
key ghosting in a two key rollover situation. A .1 uF bypass capacitor is suggested across the
VDD and VSS pins. The part uses the standard 20 pin .3 inch width SOIC package.
Features
• Replacement Chip for MM74C922
• Fully encodes a key switch array.
•
•
•
•
•
•
•
•
•
•
•
•
(up to 4 x 4)
No external parts required.
Low power consumption 2 mA
typical.
Supply voltage 2.4 to 5.25 volts.
All timing internally generated.
2 Key rollover.
On chip row input resistors.
Applications
• Data Entry
• Security Alarms
• Handheld devices
• Machine Control
• Numeric Entry
• Telephones
• Computers
• Controls
• Gaming
Internal key bounce elimination.
TTL and CMOS compatible outputs.
Part is in full production.
SOIC and DIP 20 Pin Package.
ROHS Compliant
Low EMI
Part Number 74C922-SO
Copyright © 2014 ABCircuits. Revised September 2014 Page 1 of 5
Turning Ideas Into Reality
ABCircuits www.abcircuits.com POB 123 New Hill NC 27562 (919) 290-7104
Example Circuit
2.4 - 5 V
74C922-SO
1
2
3
4
5
6
7
8
9
10
ROWY1
ROWY2
ROWY3
ROWY4
NC
NC
NC
COLX4
COLX3
VSS
VDD
DATAOUTA
DATAOUTB
DATAOUTC
DATAOUTD
NC
NC
DATAAVAIL
COLX1
COLX2
20
19
18
17
16
15
14
13
12
11
DATA
DATA
DATA
DATA
OUT A
OUT B
OUT C
OUT D
DATA AVAILABLE
KEYBOARD
Connection Diagram
74C922-SO
1
2
3
4
5
6
7
8
9
10
ROWY1
ROWY2
ROWY3
ROWY4
NC
NC
NC
COLX4
COLX3
VSS
VDD
DATAOUTA
DATAOUTB
DATAOUTC
DATAOUTD
NC
NC
DATAAVAIL
COLX1
COLX2
20
19
18
17
16
15
14
13
12
11
Pin Description
Pin #
1
2
3
4
5
6
7
8
9
10
Description
Row Y1
Row Y2
Row Y3
Row Y4
NC
NC
NC
Col X4
Col X3
VSS
Pin #
20
19
18
17
16
15
14
13
12
21
Description
VDD
Data Out A
Data Out B
Data Out C
Data Out D
NC
NC
Data Avail
Col X1
Col X2
Col X1 – Col X4
These pins are open drain column driver outputs to the key matrix.
Row Y1 – Row Y4
These pins are the row inputs from the key matrix. These inputs have 5.6K (nominal) pull up
resistors on chip.
Part Number 74C922-SO
Copyright © 2014 ABCircuits. Revised September 2014 Page 2 of 5
Turning Ideas Into Reality
ABCircuits www.abcircuits.com POB 123 New Hill NC 27562 (919) 290-7104
Data Out A – Data Out D
These pins are the encoded data output. The output keeps the state of the last key pressed even
after the key is released. These pins are TTL and CMOS compatible.
Data Avail
This pin goes high when a key is pressed, and low when a key is released. This pin goes low in a
two key rollover situation before returning high. This pin is TTL and CMOS compatible.
VSS
Connect to system ground.
VDD
Connect to supply voltage of 2.4 to 5 volts. A .1 uF decoupling capacitor to ground is
recommended.
NOTES:
No connection is required to the NC pins. If external capacitors are used on pins 6 and 7 from
your previous design, they do not need to be removed. If pin 14 is grounded on your previous
design, it does not need to be changed. Pins 5 and 15 must be left unconnected.
Truth Table
ROWY1
ROWY1
ROWY1
ROWY1
ROWY2
ROWY2
ROWY2
ROWY2
ROWY3
ROWY3
ROWY3
ROWY3
ROWY4
ROWY4
ROWY4
ROWY4
COLX1
X
COLX2
COLX3
COLX4
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
DATAOUTD
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
DATAOUTC
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
DATAOUTB
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
DATAOUTA
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Absolute Maximum Ratings
Symbol
Description
Tstg
Ta
V dd
V io
Imio
ESD
Storage Temperature
Operating Temperature
LU
Latch up current
V dd - V ss Voltage
Input Voltage
Maximum current into any pin
Electrostatic Discharge Voltage
Min
-55
-40
-0.5
Vss - 0.5
-25
2000
Typical
Max
Units
25
+100
+85
+6.0
ºC
ºC
V
V
mA
V
V dd +0.5
+50
200
Notes
Human Body Model
ESD
mA
Part Number 74C922-SO
Copyright © 2014 ABCircuits. Revised September 2014 Page 3 of 5
Turning Ideas Into Reality
ABCircuits www.abcircuits.com POB 123 New Hill NC 27562 (919) 290-7104
DC Electrical Characteristics
Symbol
Description
V dd
Idd
V oh
V ol
V ih
V il
Ioh
Iol
Cio
Iil
Rpu
Supply Voltage
Supply Current
High Output Level
Low Output Voltage
Input High Level
Input Low Level
High Level Source Current
Low Level Sink Current
Capacitive load
Input leakage
Pull Up Resistors On Row Inputs
Min
Typical
Max
Units
2
5.25
8
V
mA
V
V
V
V
mA
mA
pF
nA
k?
2.4
V dd - 1.0
0.75
2.1
4
3.5
1
5.6
0.8
10
25
10
8
Notes
Note 1
Ioh=10 mA
Iol=25 mA
Note 1: Vdd=5VDC, all inputs and outputs open
Differences between the MM74C922 and 74C922-SO
Power Supply
The MM74C922 part is capable of a supply voltage of 3 to 15 volts. The 74C922-SO has a more
limited power supply of 2.4 to 5.25 volts.
Timing Capacitors
The MM74C922 part requires timing capacitors on pins 6 and 7. The 74C922-SO generates all
timing internally, and these capacitors are not required. These pins are no connects on the
74C922-SO. If capacitors are present on your design, they do not need to be removed.
Tristate Outputs
The DataOut pins of the MM74C922 are tristate outputs controlled by pin 14 –OutputEnable. The
DataOut pins of the 74C922-SO are not tristate. Pin 14 is a no connect, and may be grounded or
left open. If your design needs tristate outputs, consult the factory for solutions.
Timing
The timing of the 74C922-SO is more relaxed. The data setup to Data Avail timing is longer, and
the low output time in a two key roll over situation is improved.
DIP Package
All our parts are in 20 pin packages. National’s DIP package is 18 pins with a different pinout.
Our 20 pin part will not fit in the old 18 pin socket.
Theory Of Operation
The 74C922-SO is a custom programmed microprocessor designed to emulate the MM74C922.
The open drain COLX pins are pulsed low one at a time, and the ROWY pins are sampled to
check for key switch closures. If a key is detected, scanning stops until the key is released. The
pressed key is encoded and placed on the DataOut pins, and the DataAvail output is set low until
the key is released. When the key is released, the DataAvail output is set high again and
scanning continues.
Part Number 74C922-SO
Copyright © 2014 ABCircuits. Revised September 2014 Page 4 of 5
Turning Ideas Into Reality
ABCircuits www.abcircuits.com POB 123 New Hill NC 27562 (919) 290-7104
Physical Dimensions – 20 Pin DIP (-DIP Suffix)
Physical Dimensions – 20 Pin SOIC
Close but not quite?
Our products are software based, we can modify existing parts to fit your needs at a minimal cost
or create new parts designed to your specifications. Email us and we can make a chip for you!
For the latest version of this spec sheet, visit www.abcircuits.com
Design Services Available
We can quickly turn your idea into a chip, a pc board, or a finished product. Contact us with your
needs and specifications.
Part Number 74C922-SO
Copyright © 2014 ABCircuits. Revised September 2014 Page 5 of 5