EA STARTEDIPTFT4 ELECTRONIC ASSEMBLY, EA STARTEDIPTFT4 Datasheet - Page 17

TFT Displays & Accessories Starter/Demoboard w/Touch USB prog

EA STARTEDIPTFT4

Manufacturer Part Number
EA STARTEDIPTFT4
Description
TFT Displays & Accessories Starter/Demoboard w/Touch USB prog
Manufacturer
ELECTRONIC ASSEMBLY
Datasheet

Specifications of EA STARTEDIPTFT4

Attached Touch Screen
Yes
Background Color
White
Interface
I2C, SPI, RS-232
Interface Type
RS-232, I2C, SPI
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
- 20 C
Operating Temperature Range
- 20 C to + 70 C
Supply Voltage
5 V
Touch Panel
Touch Panel
Viewing Area (w X H)
53.86 mm x 95.04 mm
Module Size (w X H X T)
71 mm x 107 mm x 12 mm
Backlighting
LED
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical
RESPONSE OF THE EA eDIPTFT43-A VIA SERIAL INTERFACE
The table below contains all response codes. Some response data will come automatically some
others on request. In addition to that with command 'ESC SB ...' user is able to transmit individual data
packages. All reponses are placed into the sendbuffer. With the smallprotocol command ’Request for
content of send buffer’ (see page10) the host can read out the sendbuffer. This can be done per polling,
alternativly pin 20 ’SBUF’ shows with LO-signal that data is ready to transmit.
Command
Illumination brightness
Increase brightness
Decrease brightness
Brightness changetime
Illumination on/off
Assign bar with backlight
Save parameter
Write output port
Read input port
Port scan on/off
Invert input port
Matrix keyboard
Redefine input bitmacro
(since V1.1)
Redefine matrixmacro for
keys (since V1.1)
Define color
Wait (pause)
Set RS485 address
Tone on/off
Send bytes
Send version
Send projectname
Send internal infos
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
Id
M
W
A
B
P
H
B
X
G
Y
D
V
J
U
I
num
num
num
num
21
1
2
1
1
5
2
2
2
2
3
L
errors
value
code
code
type
X-dots, Y-dots, Version, Touchinfo,
xx1
no
no
no
no
no
ch
ch
CRC-DF, CRC-DFsoll, DFlen
CRC-ROM, CRC-ROMsoll
reserved.
value
value
value
value
LOval
projectname string...
code
xLO
yy1
Codes
ESC
ESC
ESC
ESC
ESC
ESC
ESC
ESC
version string...
scaled ASCII string...
EA eDIPTFT43-A: Commands for backlight, I/O-port and misc
DF in KB,
data
Y
Y
Y
X
K
Y
S
HIval
F
xHI
(G16-FORMAT)
Response only when requested by command (placed into sendbuffer)
image data...
@
n1
W
M
H
N
P
Z
L
B
R
A
D
X
P
A
S
B
V
J
I
I
yLO
num
adr
n1
n1
n1
no
n1
n1
n1
n1
n1
n1
n1
no
n1
n2
n2
n2
n2
R5
yHI
Responses without length specification (num)
automatic responses (placed into sendbuffer)
G6
n3
n3
data...
Responses of the EA eDIPTFT43-A
Remarks
Response from the analog touch panel when a key/switch is pressed. code = down or up code of the
key/switch. It is only transmitted if no touch macro with the number code is defined !
When a bargraph is set by touch, the current value of the bar no is transmitted. Transmission of the bar balue
must be activated (see the 'ESC A Q n1' command).
After the input port is changed, the new 8-bit value is transmitted. The automatic port scan must be activated.
See the 'ESC Y A n1' command. It is only transmitted when there is no corresponding port/bit macro defined !
When a keystroke of the external matrix keyboard is detected, the newly pressed key number no is
transmitted. Only transmitted if no corresponding matrix macro is defined !
The following is transmitted in the case of a free touch area event: type=0 is release; type=1 is touch; type=2
is drag within the free touch area at the coordinates xx1, yy1
After the 'ESC B S n1' command, the current value of the bar with the number no is transmitted.
After the 'ESC A X' command, the current status (value=0 or 1) of the touch switch code is transmitted.
After the 'ESC A G nR' command, the code of the active touch switch in the radio group no is sent.
After the 'ESC Y R' command, the requested input port is transmitted. no=0: value is an 8-bit binary value of
all 8 inputs. no=1..8: value is 0 or 1 depending on the status of the input no
After the 'ESC V D ch' command, the requested voltage of channel ch=1..2 will be sent (value = 0..5000mV)
After the 'ESC V S ch' command, the requested voltage of channel ch=1..2 will be set as scaled ASCII
characters (length of string = num-1).
After the 'ESC S V' command, the version of the edip firmware is transmitted as a string
e.g. "EA eDIPTFT43-A V1.0 Rev.A TP+"
After the 'ESC S J' command, the macro-projectname is transmitted. e.g. "init / delivery state"
after the 'ESC S I' command, internal information is sent by eDIP (16-Bit integer values LO-HI Byte)
Version: LO-Byte = version number Software; HI-Byte = Hardware revison letter touch
Touchinfo: LO-Byte = '-|+' X direction detected; HI-Byte = '-|+' Y direction detected
DFlen: number of user bytes in data flash memory (3 Bytes: LO-, MID- HI-Byte)
after the 'ESC UH....' command, a hard copy is sent in G16-format.
xx1,yy1 = Start coordinates of the hard copy (upper left corner)
B5
Remarks
Set brightness of the LED illumination n1=0 to 100%.
Increase brightness of the LED illumination (one step=1%)
Decrease brightness of the LED illumination (one step=1%)
Time n1=0..31 in 1/10sec for changing brightness from 0 to 100%
LED n1=0: OFF; n1=1: ON; n1=2 to 255: LED switched ON for n1/10sec
Assign bar no=1..20 for changing brightness of the backlight
Save the actual brightness and changetime for poweron to EEPROM
n1=0: Set all 8 output ports in accordance with n2 (=8-bit binary value)
n1=1..8: Reset output port n1 (n2=0); set (n2=1); invert (n2=2)
n1=0: Read all 8 input ports as 8-bit binary value (to sendbuffer)
n1=1..8: Read input port <n1> (1=H-level=5V, 0=L-level=0V)
The automatic scan of the input port is n1=0: deactivated; n1=1: activated
The input port is n1=0: normal; n1=1: evaluated inverted
Specifies an external matrix keyboard at the inputs and outputs.
n1=number of inputs (1..8); n2=number of outputs (0..8); n3=debouncing (0..7)
input port n1=1..8 is assigned by falling edge n2=0 to new BitMacro number n3=0..255
input port n1=1..8 is assigned by rising edge n2=1 to new BitMacro number n3=0..255
Assign keynumber n1=1..65 with matrixmacro number n2=0..255
After release the key n1=0 run matrixmacro number n2=0..255
Set a new RGB value for color no. n1=1..32 (R5:Bit7..3; G6:Bit7..2; B5:Bit7..3)
Wait n1 tenths of a second before the next command is executed.
For RS232/RS485 operation only and only possible when Hardware address is 0.
The eDIP is assigned a new address adr (in the Power-On macro).
The tone output (pin 16) becomes n1=0:OFF; n1=1:ON; n1=2 to 255:ON for n1/10s
num (=1 to 255) bytes are sent to the sendbuffer data... = num Bytes.
In the source text of the macro programming, the number num must not be specified.
This is counted by the ediptftcompiler and entered.
The version is sent as a string to sendbuffer e.g. "EA eDIPTFT43-A V1.0 Rev.A TP+"
The macro-projectname is sent as a string to the sendbuffer e.g. "init / delivery state"
Internal information about the edip is sent to the sendbuffer.
Backlight commands
Other commands
Port commands
EA eDIPTFT43-A
Page 17
reset
1-8=0
after
Ports
OFF
100
5
1
1
1
0
0

Related parts for EA STARTEDIPTFT4