background image

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“.

Summary of Contents for EA KIT160-6

Page 1: ...S 232 OR OPTIONALLY RS 422WITH BAUD RATES OF 1200 115200 BD POSITIONINGACCURATE TOTHE PIXELWITHALLFUNCTIONS PROGRAMMINGBYMEANSOFHIGH LEVELLANGUAGE TYPECOMMANDS STRAIGHTLINE POINT AREA AND OR EXOR BARGRAPH UPTO256MACROSPROGRAMMABLE COMBINATIONS OFTEXTANDGRAPHICS PULL DOWNMENUS ACCESSORIES INTEGRATEDTOUCHPANELWITH8x4FIELDS ANTI GLARE SCRATCH RESISTANT FLOPPYDISKFORMACROPROGRAMMING PCDOS EADISK240 CA...

Page 2: ...e labeling of the keys is flexible and can also be changed during runtime different languages icons The drawing of the individual keys and the labeling or grouping of several fields is handled by the integrated software SOFTWARE The control panel is programmed by means of commands such as Draw a rectangle from 0 0 to 64 15 Noadditionalsoftwareordriversarerequired Stringscanbeplacedwithpixelaccurac...

Page 3: ...ach keystroke the associated key number 1 32 istransmitted Thereleaseof thekeyisnottransmitted Ifthereleaseofthe 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 N...

Page 4: ...hat the polarity is correct Even very brief polarity reversal can damage the display immediately and irreparably RS 232 RS 422CONNECTION The operating unit is shipped with an RS 232 interface as standard The pin assignment of connector J3isthenasshowninthetableontheleft J3hasagridof2 54mm Iftheoperatingunitisorderedtogether with the EA OPT RS4224 option special RS 422 drivers are fitted The pin as...

Page 5: ...C Y W command Themaximumcurrentperline is 6mA Output 8 PIN 17 is used to switch the LED backlighting ESCYLn1 Ifthisoutputisrequired the LED backlighting can be separated from the output via the solder strap LB 8 and switched on permanently 8 inputs The inputs can be queried and evaluated ESC Y R directly via the serial interface Each change of logic level 0V or 5V at the inputs can start an intern...

Page 6: ...he EEPROM for example connect RTS line J5 pin 6 to GND STORING 256 IMAGES IN THE EEPROM Toreducethetransmissiontimesoftheserialinterfaceortosavestoragespaceintheprocessorsystem up to 256 images can be stored in the internal EEPROM They can be called using the ESC U E command via the serial interface or from within a touch port normal macro All the images can be used in the Windows BMP format They ...

Page 7: ...racy Text and graphics can be combined as required Several different font sizes can also be displayed together Each text can be output left justified right justified or centered 90 rotation for vertical installation of the display is also possible Macro programming permits the inclusion of up to 11 additional fonts and the complete redesign of the individual characters A font editor on the EA DISK...

Page 8: ... Draws a straight line from the last end point to x1 y1 Rectangle commands Draw rectangle ESC R R x1 y1 x2 y2 Draws a rectangle frame from x1 y1 to x2 y2 Draw rounded rectangle N x1 y1 x2 y2 Draws a rectangle with rounded corners from x1 y1 to x2 y2 Delete area L x1 y1 x2 y2 Deletes an area from x1 y1 to x2 y2 all pixels off Invert area I x1 y1 x2 y2 Inverts an area from x1 y1 to x2 y2 inverts all...

Page 9: ...o the clipboard If a menu is already defined it is automatically canceled and removed Define menu with vertical items rotated by 90 V Invert menu box I Inverts the entire menu box Useful for negative display Next item N Inverts the next item or remains at the end Previous item P Inverts the previous item or remains at the beginning Menu end send S Removes the menu from the display and replaces it ...

Page 10: ...ch spaces or commas must be used between them The commands require no final bytesuch as a carriage return except for the string 00 A Z L R O U All commands are transferred as ASCII characters Example G 71 dec 47initiatesthestraight line command x1 x2 y1 y2 Coordinates are transferred with 1 byte Example x1 10 dec 0A ESC 1 byte 27 dec 1B n1 n2 no sv ev value pat ret frm data Numerical values are tr...

Page 11: ...d is executed it defines the bar graph but does not display it Example 1B 42 4F 01 04 02 09 1E 04 14 01 Bar graph no 1 which extends upwards is defined When it is fully extended it takes up an area from 4 2 to 9 30 The start and end values correspond to a 4 20 mA display The diagram shows the bar graph fully extended as represented with 42 01 14 ESC B no value Draw bar graph The bar graph with the...

Page 12: ...8 08 08 08 08 08 08 08 08 08 49 2A 1C 08 00 00 Defines an arrow pointing downward for ASCII no 2 using the 8x16 character set ESC F n1 n2 n3 Set font Sets the font with the number n1 1 4x6 uppercase letters only 2 6x8 3 8x16 In addition an enlargement factor 1 8 times is set for the width n2 and height n3 separately Example 1B 46 02 03 04 The 6x8 with 3 times the width and 4 times the height is se...

Page 13: ...60 with the address add 0 254 the address 255 FF is a master address for all EA KIT160 units Example 1B 4B 44 01 All commands for the EA KIT160 with the address 01 are ignored with immediate effect ESC L n1 pat Set text mode Sets the link mode n1 and pattern pat for the string output text function ESC Z Example 1B 4C 03 03 Sets the link mode for all subsequent text functions to gray characters pat...

Page 14: ...ng the items The individual items are separated by the character 7C The string must be terminated withNUL 00 Example 1 Horizontal menu 1B 4E 48 02 02 01 54 65 73 74 7C 53 74 6F 70 7C 45 6E 64 00 Defines a horizontal menu containing the items Test Stop and End at position 2 2 The 1st item is inverted Example 2 Vertical menu 1B 4E 56 28 01 01 54 65 73 74 7C 53 74 6F 70 7C 45 6E 64 00 Defines a verti...

Page 15: ...ea from the upper left corner x1 y1 to the lower right corner x2 y2 as an automatically flashing area The flashing function is started at the same time This deactivates the terminal cursor Example 1B 51 44 00 0F 07 10 Defines the flashing area from 0 15 to 7 16 ESC Q Z n1 Set flashing time Sets the flashing time to n1 1 15 tenths of a second When n1 0 the flashing function is deactivated and the o...

Page 16: ...k Example 1B 52 53 09 05 16 16 Sets the area from 9 5 to 22 22 black ESC R M x1 y1 x2 y2 pat Fill area with pattern Fills a rectangular area from the upper left corner x1 y1 to the lower right corner x2 y2 with the pattern pat taking into account the set graphics mode ESC V set delete invert replace inverse replace Example 1B 52 4D 05 01 2D 1A 07 Fills the area with the pattern 7 45 cross from 5 1...

Page 17: ...ord TEST ESC T P R Preset reset touch fields Assigns P ascending return code 1 32 or R reset all touch fields to all 32 touch fields In the latter case all touch fields receive the return code 0 i e they are deactivated Example 1B 54 52 All touch fields are deactivated by this command and no longer recognized ESC T I S n1 Touch key response These commands set the automatic response of the touch pa...

Page 18: ...aight line ESC W Continue straight line ESC R R rectangle ESC R N rounded rectangle ESC R M Fill area with pattern Example 1B 56 03 Sets the link mode to inverse By way of example a rectangle is drawn alongside with the link modes set delete and inverse on an existing background Link mode n1 1 set black pixels irrespective of the previous value OR 2 delete white pixels irrespective of the previous...

Page 19: ...o cut backlight from output 8 by changing the solder strip LB8 Backlight will be turned on and cannot controled by software anymore ESC Z L Z R x1 y1 text NUL Horizontal string Writes the string text left justified L centered Z or right justified R at position x1 taking into account the set text mode ESC L Multi line text can also be output with the lines separated by the character 7C The string m...

Page 20: ...emblingthemodule thepowersupplymustbeswitchedoff Alsoallinputsmustnotcarry anycurrent Display touch screen and cover glass are scratch sensitive plastic materials and should not be touchedwithhardobjects Surfacesshouldbecleanedwithsoftfabricwithoutusingofchemicalsolvents The module is designed for indoor use only For operating in outside enviroment adequate precautions must be undertaken Maximum o...

Page 21: ...S 6760P LTS 6980HR RG12864A GHC V RG12864A GHY V RG12864A TIG V RG12864A TIY V RG12864A YHY X RG12864B FHW V RG12864B GHW V RG12864C YHW V RG12864K BIW VBG RG160128A TIW V RG240128B YHY M RG320240A1 BIW V RG320240B BIW V RG320240B FHW V DEM 097032A SGH PY DEM 122032A SYH LY DEM 122032C SBH PW N 12 DEM 128064A SBH PW N DEM 128064B SBH PW N DEM 128064F FGH P RGB DEM 128064G FGH PW DEM 128064I FGH PW...

Reviews: