3
EA KIT160-6
Matrix Keypad Connector J4
Pin
Symbol
Funktion
1
OUT 1
Output Column 1
2
OUT 2
Output Column 2
3
OUT 3
Output Column 3
4
OUT 4
Output Column 4
5
IN 1
Input line 1
6
IN 2
Input line 2
7
IN 3
Input line 3
8
IN 4
Input line 4
9
IN 5
Input line 5
10
IN 6
Input line 6
11
IN 7
Input line 7
12
IN 8
Input line 8
Application Example
Exampel
Transmitted codes
Remarks
for Compiler
#* 11, 21, ´A´, 2, "STOP"
Number of texts will be not
noted here !
ASCII
ESC
*
.
.
A
.
.
S
T
O
P
.
Point ´.´ stands for not
displayable ASCII-characters
Hex
$1B $2A $0B $15 $41 $02 $01 $53 $54 $4F $50 $00
Decimal
27
42
11
21
65
2
1
83
84
79
80
0
Command
for Touch
Touch field
top left corner
Touch field
bottom right corner
Return
Code
Draw Frame
1-line-text
Text
terminator
EXTERNAL KEYBOARD
(EA KIT160-6LED ONLY)
A keyboard (anything from individual keys to an 8x4 matrix keyboard) can
be connected at the plug-in connection J4. The connected keys are
debounced by means of software. Please note that it is only possible to
connect an external keyboard to the EA KIT160-6LED version without an
integrated touch panel.
Each key is switched between an output and an input. Each input has a
100k
Ω
pullup. Up to 8 keys can be connected at each output.
Transmitting the keystrokes
At each keystroke, the associated key
number (1..32) is transmitted. The release of
the key is not transmitted. If the release of the
key is to be transmitted as well, this can be done by defining touch macro
no. 0. The automatic keyboard scan can be deactivated by means of the
„ESC T A 0“ command.
The key number can be determined as follows:
Key number = (output
-1) * 8 + input
(output: a number between 1 and 4, input: between 1
and 8).
Note: If the handshake line (e.g. CTS) does not permit transmission,
keystrokes can be lost.
TOUCH PANEL
(EA KIT160-6LEDTP ONLY)
The EA KIT160-6LEDTP version is equipped with an integrated touch panel with 32 fields. The ontrol
panel offers convenient commands supporting this touch panel. It is possible, for example, to group a
number of touch fields to form a single large key and then draw and label the key. You can also assign
a return code (1..255) to the key you have defined. If a return code of 0 is assigned, the key is disabled
and has no effect when pressed.
When the touch keys are touched, they can be automatically inverted and a tone can sound, indicating
they have been touched. At the same time, the defined return code of the key is transmitted via the serial
interface, or an internal touch macro with the number of the return code is started.
Example:
Definition of a key from field 11 to 21 with the return code 65=´A´ and the
text „STOP“. Note: Before individual keys are defined, all fields should be
disabled by means of „ESC T R“.