2 common features, General purpose input/output, Dallas one-wire connector – Matrix Orbital LK162-12 User Manual
Page 15
11
5.2 Common Features
General Purpose Input/Output
Figure 14: GPIO Header
Table 8: GPIO Pinout
Pin
Function
Pin Function
1
GPO 1/Row 1
9
Gnd
2
GPO 2/Row 2
10
Gnd
3
GPO 3/Row 3
11
Gnd
4
GPO 4/ Col 1
12
Gnd
5
GPO 5/ Col 2
13
Gnd
6
GPO 6/ Col 3
14
Gnd
7
GPO 7/Col 4
15
Gnd
8
Vcc
16
Gnd
A unique feature of the LK162-12/VK162-12 is the ability to control relays
*
and other external devices
using either one or seven General Purpose Outputs. Each can source up to 10mA of current at five volts
when on or sink 20mA at zero volts when off.
In keypad input mode, a matrix style keypad of up to twelve keys to be directly connected to the display
module. Key presses are generated when a short is detected between a row and a column. When a key
press is generated, a character specific to that key press is automatically sent on the Tx communication
line. If the display module is running in I²C mode, the “Auto Transmit Keypress” function may be turned
off to allow the key presses to remain in the buffer so that they may be polled. The character that is
associated with each key press may also be altered using the “Assign Key Codes” command.
The straight fourteen pin header of the General Purpose Input/Output connector will interface to a
variety of different devices including the Matrix Orbital KPP4x4 keypad.
*Note:
If connecting a relay, be sure that it is fully clamped using a diode and capacitor in order to absorb any
electro-motive force (EMF) which will be generated.
Dallas One-Wire Connector
Figure 15: Dallas One-Wire Connector
Table 9: Dallas One-Wire Pinout
Pin
Function
1
Vcc
2
D
3
Gnd
In addition to the six general purpose outputs the LK162-12/VK162-12 offers an Optional Dallas One-
Wire bridge, to allow for an additional thirty two one-wire devices to be connected to the display. This
header can be populated with a Tyco 173979 connector at an added cost by custom order only. Please
use the Contact section to request more information from the Matrix Orbital sales team.