|
SIM800H&SIM800L_Hardware Design_V2.02Bog'liq SIM800LSIM800H&SIM800L_Hardware Design_V2.02 44 2015-07-27
Smart Machine Smart Decision
Figure 41: 50 keys reference circuit
Note
:
Do not change the 20KΩ resistor in the diagram.
Customer could cascade a less than 1K resistor to enhance the ESD performance, the connection diagram is as
following:
Figure 42: Keypad reference circuit
Whether using a 5*5 keys or 5*5*2 keys, the module can also detect the two buttons pressed. But when using a
5*5*2 button, the same row, column two buttons at the same time can not be detected when pressed, as shown
below:
Figure 43: Keypad detected
SIM800H&SIM800L_Hardware Design_V2.02 45 2015-07-27
Smart Machine Smart Decision
Table 23: Pin definition of the keypad interface
Pin name
Pin number
Function
Default state
KBC0
20
Pull up
KBC1
25
Pull down
KBC2
22
Pull down
KBC3
21
Pull down
KBC4
24
Keypad matrix column
Pull down
KBR0
62
Pull down
KBR1
60
Pull down
KBR2
61
Pull down
KBR3
23
Pull down
KBR4
63
Keypad matrix row
Pull down
Note: Please be sure to increase the ESD protection devices in product design phase, and make sure have ESD protection devices
in the final product.
4.10.1. Keypad Multiplexing Function
Table 24: Keypad multiplexing function
Pin name
Pin number
Mode 0(default)
Mode 1
KBC0
20
KBC0
GPIO6
KBC1
25
KBC1
GPIO7
KBC2
22
KBC2
GPIO8
KBC3
21
KBC3
GPIO9
KBC4
24
KBC4
GPIO10
KBR0
62
KBR0
GPIO11
KBR1
60
KBR1
GPIO12
KBR2
61
KBR2
GPIO13
KBR3
23
KBR3
GPIO14
KBR4
63
KBR4
GPIO15
|
| |