Issue 09.2013 W O RL D NE W ! embedded 7.0" TFT-DISPLAY 800x480 BUILT-IN INTELLIGENCE Dimension: 170x112x13,9mm TECHNICAL DATA * * * * * * * * * * * * * * * * * * TFT-GRAPHIC DISPLAY WITH BUILT-IN GRAPHIC FUNCTIONS 800x480 DOTS, 16-BIT COLOR (65.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 2 Documentation of revision Date Type Old New Reason / Description May, 2011 0.1 June, 2012 0.2 corrected application schematic, RS232, RS485, USB May, 2013 1.0 First official release (8MB Flash) preliminary version CONTENTS GENERAL .................................................................................................................
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 3 GENERAL The EA eDIP series of displays are the world’s first displays with integrated intelligence. In addition to a variety of integrated fonts that can be used with pixel accuracy, they offer a whole range of sophisticated graphics functions. They are controlled via one of the 3 integrated interfaces: RS-232, SPI or I²C.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 4 RS-232 INTERFACE If the display is wired as shown below, the RS-232 interface is selected. The pin assignment is specified in the table on the right. The RxD and TxD lines lead CMOS level (5V) for direct connection to a microcontroller for example. If “genuine” RS-232 levels are required (e.g. for connection to a PC), an external level converter (e.g.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 5 APPLICATION EXAMPLE „REAL“ RS-232 INTERFACE The eDIP fits for direct connection to a RS-232 interface with CMOS level (5V). If you have an interface with ±12V level, an external levelshifter is needed. application example APPLICATION EXAMPLE: RS-485 INTERFACE With an external converter (e.g. SN75176), the EA eDIP can be connected to a 2-wire RS-485 bus.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 6 SPI INTERFACE If the display is wired as shown below, SPI mode is activated. The data is then transferred via the serial, synchronous SPI interface. The transfer parameter will be set via the pins DORD, CPOL and CPHA.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. I²C-BUS INTERFACE If the display is wired as shown below, it can be operated directly to the I²C bus. 8 different base addresses and 8 slave addresses can be selected on the display. Data transfer is possible at up to 100 kHz. However, if pauses of at least 100 µs are maintained between the individual bytes during transfer, a byte can be transferred at up to 400 kHz.
EA eDIPTFT70-A Page 8 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. ANALOGUE INPUT AIN1 AND AIN2 (PIN 31+32) For analogue measurement 2 inputs with a range of 0..+5V are available. Each input is grounded (GND) and DC impedance is 1MΩ. Please make sure that only positive voltages will be supplied there. Internal resolution is 10 Bit, equal to a 3-digit DVM modul. Linearity (after adjustment) is around 0.5%.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 9 EXTERNAL KEYBOARD A keyboard (anything from individual keys to a 8x8 matrix keyboard) can be connected to the I/O- ports. The command ‘ESC Y M n1 n2 n3’ defines the count of input lines (n1=1..8) and output lines (n2=1..8). n3 set debounce function with 10ms steps (n3=0..15).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 10 DATA TRANSFER PROTOCOL (SMALL PROTOCOL) The protocol has an identical structure for all 3 interface types: RS-232, SPI and I²C. Each data transfer is embedded in a fixed frame with a checksum (protocol package).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 11 Request for buffer information > < < 1 I This command queries whether user data is ready to be picked up an how full the display's receive buffer is. bcc 2 send buffer bytes ready receive buffer bytes free bcc = 18(dez.) = $12 1 = 1(dez.) = $01 I = 73(dez.) = $49 = 6(dez.
EA eDIPTFT70-A Page 12 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. TERMINAL MODE When you switch the unit on, the cursor flashes in the first line, indicating that the display is ready for operation. All the incoming characters are displayed in ASCII format on the terminal (exception: CR,LF,FF,ESC,’#’). The prerequisite for this is a working protocol frame or a deactivated protocol (see pages 10 and 11).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 13 ALL COMMANDS AT A GLANCE The built-in intelligence allows an easy creation of your individual screen content. Below mentioned commands can be used either directly via the serial interface (see page 12) or together with the selfdefinable macro (see page 28).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 15 EA eDIPTFT70-A: Instrument commands Command Codes Remarks after reset Define, use instruments Definine instrument Update instrument Redraw instrument Send instrument value ESC ESC I P n1 xx1 n1 n1 n1 val I A N S D n1 n2 I F Z vf n1 n1 hf n2 Y n1 n2 W n1 Delete instrument yy1 n2 n3 aw ew Define instrument n1=1..
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 16 EA eDIPTFT70-A: Macro commands Command Codes Remarks after reset Macro commands Run macro Run touch macros Run menu macro Run port macro Run bit macro Run matrix macro Run process macro Run analogue macro ESC M N no Call the (normal) macro with the number no (max. 7 levels) T M no Call the touch macro with the number no (max.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 17 EA eDIPTFT70-A: Backlight commands Command Illumination brightness Increase brightness Decrease brightness Brightness changetime Illumination on/off Codes H n1 N Y Assign bar with backlight Asign instrument with backlight Save parameter after reset Set brightness of the LED illumination n1=0 to 100%.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 18 EA eDIPTFT70-A: Commands for the touch panel Command Codes Remarks after reset Touch presets Touch bordercolors ESC Touch borderform Touch button colors ESC Touch button number F E n1 n2 n3 s1 A E n1 n2 F C nf nb sf sb A C n1 n2 n3 n4 s2 s3 Set the colors (0..32) for touch borders (ESC AT AK).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 20 EA eDIPTFT70: Edit box commands Command Codes Remerks after reset Setting for edit box Edit box frame colors ESC ESC n1 n2 n3 H fd bd fa ba O F left top right bot n1 Set offset from editbox frame to edit field Set font number n1=0..255 E H n1 n1 n1=1..
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 21 RESPONSE OF THE EA EDIPTFT70-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.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 22 PRELOADED FONTS As standard, there are 3 monospaced, 3 proportional character sets and 2 large digit fonts integrated. The proportional character sets (which have a narrow “I” and a wide “W”, for example) look better and take up less space on the screen.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. Font 5: CHICAGO14 proportional Font 7: big numbers BigZif50 EA eDIPTFT70-A Page 23 Font 6: Swiss30 Bold proportional Font 8: big numbers BigZif100 This hard copy shows all the fonts with which the product is shipped ADDITIONAL FONTS Up to 256 fonts á 16 pages can be loaded into the internal DataFlash.
EA eDIPTFT70-A Page 24 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. COMPILER OPTION "WinFont:" It is possible to raster TrueType-Fonts in different sizes whitch can be used. A doubleclick to the fontname within the KitEditor opens the font selection box. To simplify the use of fonts, there is the possibilty of a edit box. If you output a string with KitEditor (e.g.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 25 BORDERS, KEY STYLES AND BARGRAPH The eDIP is shipped with 20 predefined border (no:1..20) for the commands draw box frame and draw touchkeys.There are also three special borders in various colors for using with bargraph commands (no:101..107, 111..117 and 121..127). All of them can be used in various sizes via coordinates. The frames 1..
EA eDIPTFT70-A Page 26 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. DEFINE OWN BORDER With the LCD-tools it is possible to define new borders (Compileroption "Border:"). Each of these new border is a bitmap with exactly 24x24 dots (9 segments with 8x8 dots: 4x edge, 4x middle part, 1x filling). Scaling for bigger touchkeys/frames will be done by repetition of these 8x8 dot segments.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 27 Some examples of instruments: BUTTONS AS KEYS Apart from the border types, which are infinitely scalable, it is also possible to use bitmaps as touch keys or touch switches (Compilerotion "Button:"). A button always consists of two Bitmaps of equal size (one bitmap to display the touch key in its normal state and another for when it is pressed).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 28 CREATING INDIVIDUAL MACROS AND IMAGES To create your own fonts, images, animations and macros you need the following: - To connect the display to the PC, you need the EA 9777-3USB USB evaluation board, which is available as an accessory, or a self-built adapter with a MAX232 level converter (see the application example on page 5).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 29 IMAGES To save transfer time via serial interface, it is possible to store up to 256 bitmaps á 16 pages into internal dataflash (Compileroption "Picture:"). Following image file-formats can be used: - BMP: Windows Bitmap with 1-, 4-, 8-, 16-, 24-, 32-BIT colordepth incl. RLE. - GIF: Graphics Interchange Format incl.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 30 MACROS Single or multiple command sequences can be grouped together in macros and stored in the data flash memory. You can then start them by using the Run macro commands.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 31 Power-on-macro PowerOnMacro: Started after power-on. You can switch off the cursor and define an opening screen, for example. Reset-macro ResetMacro: Started after an external reset (low level at pin 5). Watchdog-macro WatchdogMacro: Started after a fault/error (e.g. failure). Brown-out-macro BrownOutMacro: Started after a voltage drop <4.6V (typ.).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 32 SOUNDS The EA eDIPTFT70-A(TP) has a sound-module. There are two groups of sounds, notes and jingles. Notes: The command #YT “notenstr“ plays notes, to play individual startmelodies or alerts. Tone (C'-H') f (Hz) Tone (C''-H'') f (Hz) C 261.6 c 523.3 #C (C sharp/ D flat) 277.2 #c (c sharp/ d flat) 554.4 D 293.7 d 587.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 33 KEYBOARD AND EDIT-BOXES The EA eDIPTFT70-ATP is able to handle the input of strings itself. You can show a keyboard, which displays the user’s input data in an edit box. The example shown in the figure below illustrates the situation. Not till pressing return the data is transfered to the send buffer and transmitted to the host system.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 34 SPEZIFICATION AND CHARACTERISTICS Characteristics Value Condition min. typ. max. Unit Operating Temperature -20 +70 °C Storage Temperature -30 +80 °C 90 %RH 5.1 V Storage Humidity < 40°C Operating Voltage 4.9 5.0 Input Low Voltage -0.5 0.3*VDD V Input High Voltage Pin Reset only 0.9*VDD VDD+0.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT70-A Page 35 MOUNTING BEZEL EA 0FP801-70SW As accessory we deliver an optional black anodized mounting bezel. The mounting clips are included in the supplied EA eDIPTFT70-A(TP).
EA eDIPTFT70-A Page 36 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. DIMENSIONS ATTENTION handling precautions! Note: LC displays are generally not suited to wave or reflow soldering. Temperatures of over 80°C can cause lasting damage. Two mounting clips are included. all dimensions are in mm Zeppelinstr. 19 · D-82205 Gilching · Phone +49-(0)8105-77 8090 · Fax +49-(0)8105-778099 · www.lcd-module.de · info@lcd-module.