10.2010
COLOR EA KIT320F-8
5.7" COLOR LCD- CONTROL PANEL
INCL. TOUCH PANEL
r
on fo
ti
nnec y
co
with x t d i s p l a
)
te
4780
(HD4
EA KIT320F-8LWTP
Outline dim. 155 x 115mm
FEATURES
*
5.7" COLOR LCD GRAPHIC DISPLAY WITH MANY GRAPHICS FUNCTIONS AND FONTS
*
320x240 PIXEL, 16 COLOURSWITH CFL BACKLIGHT
*
FONT ZOOM OF approx. 2mm UP TO approx. 80mm, FONT ROTATION, 90° STEP
*
SUPPLY VOLTAGE +5V±2%@320mAOR +9..35V OPTIONALLY
*
RS-232 OR RS-422WITH BAUD RATE 1,200~115,200 BD
*
POSITIONING
ACCURATETOTHE PIXEL
WITH ALL FUNCTIONS
*
STRAIGHT LINE, POINT, AREA, AND/OR/EXOR, BAR GRAPH...
*
CLIPBOARD FUNCTIONS, PULL-DOWN MENUS
*
STORE UPTO 256 BITMAPS
*
UPTO 1380 MACROS PROGRAMMABLE (512 kB FLASH ONBOARD)
*
TEXT AND GRAPHIC CAN BE MIXED, FLASHINGTEXT, INVERSTEXT
*
SWITCH BACKLIGHT BY SOFTWARE CONTROL (OFF, ON , HALF BRIGHTESS)
*
ANALOGUETOUCH PANEL: CAN BE SET INDIVIDUALLY (e.g. 10x8 FIELDS)
*
DEFINE KEYS AND SWITCHES
*
OPERATE MENU AND BARGRAPH ADJUSTMENT BYTHE USE OFTOUCH PANEL
*
8 DIGITAL INPUT AND 8 OUTPUT LINES
*
2 ANALOGUE INPUT0..200mV WITH SCALING FUNCTION
*
CONNECTOR FOR ALPHANUMERIC DISPLAY WITH HD44780
ORDER INFORMATION
CONTROL UNIT COLOR 5.7",TOUCH PANEL, 320x240 DOTS, RS-232
EA KIT320F-8LWTP
SAME BUTWITHOUTTOUCH PANEL
EA KIT320F-8LW
SUPPLY VOLTAGE +9..35V= INSTEAD OF +5V=
RS-422 INTERFACE INSTEAD OF RS-232
OPTO COUPLER (8xIN, 8xOUT) ON BOARD
ALUMINIUM BEZEL FOR MOUNTING, BLACK ANODIZED
CABLE 1.5m WITH 9-PIN SUB-D (RS-232 FEMALE)
EA OPT-9/35V
EA OPT-RS4224
EA OPT-OPTO16
EA 0FP320F-8SW
EA KV24-9B
ZEPPELINSTRASSE
19 · D- 82 205 GILCHING
PHONE +49-8105-778090· FAX +49-8105-778099· http://www.lcd-module.de
EA KIT320F-8 COLOR
Documentation of revision
Date
5.2.04
5.2.04
Type
Old
Simulator F1: help function
Data sheet
New
Shift-F1: help function
Page 6: Extension for analogue input
description Page 22: Insert command for
calibration
Page 9: Insert "Create own key form", "Use
bitmap as a key", "Radio groups"
EA KIT320F-8C
EA KIT320F-8CTP
EA KIT320F-8LW
EA KIT320F-8LWTP
Backlight changed from CFL into LED type
Reason / Description
continous terminal functionality F1..F10
6.2.04
8.10.10
Data sheet
Display
CONTENT
GENERAL .................................................................................................................... 3
HARDWARE, CONNECTOR, PINOUT ......................................................................... 4
DIGITAL INPUT / OUTPUT, KEYBOARD INTERFACE................................................ 5~7
TOUCH PANEL .......................................................................................................... 8, 9
MACRO PROGRAMMING ........................................................................................ 10, 11
CHARACTER SETS ................................................................................................. 12, 13
COLORS AND ATTRIBUTES ...................................................................................... 14
COMMAND SYNTAX, PROGRAMMING EXAMPLE .................................................... 16
COMMANDTABLES ................................................................................................ 17~22
RESPONSE OF CONTROL UNIT ............................................................................... 23
DIMENSIONS ............................................................................................................. 24
2
COLOR EA KIT320F-8
GENERAL
The EA KIT320F graphics kit is a fully assembled control and operating unit with a variety of integrated
functions. The display has very compact dimensions and offers excellent super-twist contrast, which
means the unit can be put into operation immediately. It is controlled via the standard RS-232 or
RS-422 interface. In addition to complete graphics routines for display output, the graphics kit also
contains a wide variety of fonts. Graphics command similar to those used in high-level programming
languages are used for programming. There is thus no longer any need for the time-consuming
programming of character sets and graphics routines. The ease of use offered by macros and input
via touch panel make it a real power display.
HARDWARE
The graphics kit is designed for an operating voltage of +5V. A supply voltage of 9..35V is also possible.
Serial asynchronous data transfer is carried out in RS-232 or RS-422 format. The transmission format
is set permanently to 8 data bits, 1 stop bits, and no parity. A transimssion rate of between 1200 and
115,200 baud can be selected by means of DIP switches. RTS and CTS handshake lines are available.
Data format:
TOUCH PANEL
The EA KIT320F-8LWTPis equipped with an integrated touch panel. You can make entries and
choose menu settings by touching the display. The 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 graphic kits are programmed by means of commands such as
Draw a rectangle from (0,0) to
(64,15).
No additional software or drivers are required. Strings can be placed with
pixel accuracy.
Text
and graphics can be combined at any time. Up to 16 different character sets can be used. Thus, when
the 8-times zoom is used with character set 16x8, the words and numbers fill the screen.
ACCESSORIES
Front panel for mounting
A front panel made of anodized aluminum is available as an accessory. This allows the graphics kit to
be mounted without any screws visible. Installing it is child's play. The color for the EA 0FP320F-8SW
front panel is black.
Creating macros with the Kit-Compiler
With the ELECTRONIC ASSEMBLY LCD-Tools
*)
individual macros and fonts may be created.
More information on macro functionality is on the pages 10 and 11.
Simulator Software for Windows
To get familar with this display, an easy, fast and cheap way is to download the ELECTRONIC
ASSEMBLY LCD-Tools
*)
with its Simulator software from our web site. All KIT-functions can be
simulated there !
Even later on for software development, this Simulator is a great utility.
Cable for PC
To enable simple connection to PCs (macro programming), we provide a 1.5m cable and a 9-pin
SUB-D female connector (EA KV24-9B). Simply insert it into COM 1 or COM 2 and get started. Note:
The cable is not suitable for the RS-422 version (EA OPT-RS4224).
*)
full version is free available on web at
http://www.lcd-module.com/products/touch.html
3
EA KIT320F-8 COLOR
SUPPLY VOLTAGE / EA OPT-9/35V
In the standard model, the supply voltage
of +5V is fed in via screw-type terminal J1. In
the case of the version for 9..35V (EA OPT-
9/35V), the power is supplied via J2.
Important: It is imperative that the polarity is
correct. Polarity reversal, even for a very
short time, can cause the immediate
destruction of the entire display.
Lötbrücken
T
XD
R
XD
R
TS
C
TS
(nur EA OPT-OPTO16)
8x Ausgang
(nur EA OPT-OPTO16)
8x Eingang
J120
2
1
20
19
On
Kontrast
-
+
-
+
AIN 1
AIN 2
R
LED
10
1 15
16
J2 J1
J3
+9..35V +5V RS-232
(nur EA OPT-9/35V)
RS-422
BAUD RATES
The baud rate can be set by means of the 3 DIP switches on the left. 9,600 baud
is set at the factory (DIP 3 ON). Please note that the internal data buffer only holds
128 bytes. It is therefore imperative that the RTS handshake line be queried (a level
of +10V means data can be accepted; a level of -10V means the display is busy).
The data format is fixed at 8 data bits, 1 stop bit and no parity.
RS-232/RS-422 CONNECTION
The graphics kit is shipped with an RS-232 interface as standard. The pin assignment of the plug
connector (J3) is as shown in the table on the left. The J3 has a 2.54mm
RS-232 J3 connection
grid. If the graphics kit is ordered together
Pin Symb In/Out
Function
1
VDD
-
+ 5V supply
with the EA OPT-RS4224 optional
RS-422 J3 connection
Pin Symbol
Function
2
DCD
-
Strap to DTR
component, RS-422 drivers are fitted. In
1
VDD
+ 5V supply
3
DSR
-
Strap to DTR
this case, the pin assignment is as shown in
2 Data In- Receive data
4
TxD
Out Transmit data
3
Data In+ Receive data
the table on the right.
5
CTS
In
Clear to send
6
RxD
In
Receive data
The same serial data with 5V levels and TTL
4 Data Out- Transmit data
5 Data Out+ Transmit data
7
RTS
Out Request to send
logic is available at the J5 eyelet strip. These
6
HS In-
Handshake
8
DTR
-
See pin 2, pin 3
levels are suitable for direct connection to a
7 HS In+ Handshake
9
-
-
NC
µC. However, if these signals are used, 4
8 HS Out- Handshake
10 GND
-
0V ground
solder liks T
XD
, R
XD
, R
TS
, C
TS
9 HS Out+ Handshake
10
GND
0V ground
had to be cut before !
J5 add-on
Pin Symbol In/Out
1
VU
-
2
VDD
-
3
GND
-
4
TxD5
Out
5
RxD
In
6
RTS
Out
7
CTS
In
8 RESET
In
9
SCL
Out
10
SDA
In/Out
Function
9..35V supply
+ 5V supply
0V, ground
Transmit data
Receive data
Request to send
Clear to send
H: reset
I2C bus, clock
I2C bus, data
4
+
-
+
-
View from rear side
9
10
1
2
Kontr. Dotmatrix
J7
1
2
J5
(nur EA OPT-RS4224)
Baud rates
DIP switches
1
ON
2
ON
ON
3
ON
ON
ON
Data format
8,N,1
1200
2400
4800
9600
19200
38400
57600
115200
OFF
ON
OFF
ON
OFF OFF
ON ON
OFF
ON
OFF
ON
OFF
OFF OFF
OFF OFF OFF
COLOR EA KIT320F-8
DIGITAL INPUT AN OUTPUT
Input and output J120
Pi
2
4
6
8
Symbol
GND
IN1 / MI8
IN2 / MI7
IN3 / MI6
Function
0V, Ground
Port input 1
Matrix input 8
Port input 2
Matrix input 7
Port input 3
Matrix input 6
Port input 4
Matrix input 5
Port input 5
Matrix input 4
Port input 6
Matrix input 3
Port input 7
Matrix input 2
Port input 8
Matrix input 1
+5V supply
All control units EA KIT320F-8 are featured with 8
Pi Symbol Function
+5V supply
1
VDD
digital input and 8 digital output lines (5V CMOS level,
3 OUT1 / MO8
Port output 1
Matrix output 8
grounded).
Port output 2
5 OUT2 / MO7
Matrix output 7
8 outputs
Port
7 OUT3 / MO6
Matrixoutput 36
output
Each line can be controlled individually using the
Port output 4
"ESC Y W" command. A maximum current of 6mA can
9 OUT4 / MO5
Matrix output 5
Port output 5
be switched per line. This give the opportunity to drive a
11 OUT5 / MO4
Matrix output 4
Port
low power LED in direct way. To source higher current
13 OUT6 / MO3
Matrixoutput 63
output
Port output 7
please use an external transistor (see application
15 OUT7 / MO2
Matrix output 2
Port
below).
17 OUT8 / MO1
Matrixoutput 81
output
8 Eingänge
0V, Ground
19
GND
The inputs can also be queried and evaluated directly via the serial interface
("ESC Y R"). In addition to that every port change may start an individual port -
or bit- macro. Each of these port macros can change the contents of the screen
or switch an output, thus enabling a wide range of control functions. Command
"ESC Y A 0" disables automatic port query.
Port Macro:
when the 8 lines are combined, up to 256 port macros can thus be
addressed.
Bit Macro:
watching a single line. Bit Macro 1..8 will be started when one of the
lines 1..8 changes to high (rising edge). Bit Macro 9..16 will be started when one
of these lines is gong to low (falling edge).
If both macros (Port and Bit macro) are defined, every change will start Bit Macro
first and then Port Makro. If there's no macro defined, port status wil be sent via
RS232/RS422.
To create the port macros you need a PC and the EA DISK320F floppy disk.
Note: The logic circuitry is designed for slow operations; in other words, more
than 3 changes per second cannot be easily executed. Open input are high
because of internal100 kOhm pull-up.
10 IN4 / MI5
12 IN5 / MI4
14 IN6 / MI3
16 IN7 / MI2
18 IN8 / MI1
20
VDD
INPUT AND OUTPUTVIA OPTOCOUPLER (EA OPT-OPTO16)
Digital input and output are optionally featured with
optocoupler (EA OPT-OPTO16). All the 8 inputs
and 8 outputs are isolated from the rest of the
electronic components as well as each other. The
connection is made via 16 different screw-type
terminals.
All input lines can be connected with 5..35V
directly. Level above 4V are H-level, a voltage
below 2V stay for L-level. Voltage between 2V and
4V are undefined.
The collector and emitter of a transistor is brought out at the screw-type terminals as the output. Each
output can switch a maximum of 10mA.
Note: The negative pole of each screw-type terminal can be interconnected by closing the solder straps
LBI1..8 and LBO1..8. These solder straps can also be connected to system ground GND (solder 0Ω
strap R
GND
).
Note: The optocouplers invert the input logic (all inputs open: port macro 255). It is advisable here (in
the power-on macro, for example) to use the "ESC Y I 1" command to evaluate the inputs inversely (all
inputs open: port macro 0).
5