Issue 04.2012 W O RL D NE W ! embedded 4.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 2 Documentation of revision Date Type Old New July, 22nd. 2008 1.0 March 2009 1.1 - additional command: ESC YD, ESC VM, ESC YX - bug fix June 2009 1.2 - additional command: ESC ZB - bug fix November 2009 1.3 - bug fix "bargraph" and "clear touch" May 2011 1.4 - additional functions: Instruments, extended Ports January 2012 1.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-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. The displays are ready for operation immediately with an operating voltage of 5V.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-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 5V (CMOS level) to a microcontroller, for example, for direct connection. 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 eDIPTFT43-A Page 5 APPLICATION EXAMPLE „REAL“ RS-232 INTERFACE The eDIP fits for direct connection to a RS-232 interface with CMOS level (VDD). 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 eDIPTFT43-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 on an 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 eDIPTFT43-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 23+24) For analogue measurement 2 inputs with a range of 0..VDD 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 eDIPTFT43-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 eDIPTFT43-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 eDIPTFT43-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(dec.) = $12 1 = 1(dez.) = $01 I = 73(dez.) = $49 = 6(dec.
EA eDIPTFT43-A Page 12 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). Line breaks are automatic or can be executed by means of the ‘LF’ character. If the last line is full, the contents of the terminal scroll upward.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-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 pages 26/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.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 16 EA eDIPTFT43-A: Analogue input AIN1, AIN2 commands Command Codes Remarks after reset Commands for analogue inputs Calibration ESC V Enable/disable AIN scan Send analog value ESC ESC V Bargraph for AIN1/AIN2 Instrument for AIN1/AIN2 (since V1.4) Redraw bargraph ESC ch xx1 A n1 D ch K ch n1 M n1 n2 Assign analoguemacrofunction n1=0..
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 17 EA eDIPTFT43-A: Commands for backlight, I/O-port and misc Command Codes Remarks after reset Backlight commands Illumination brightness Increase brightness Decrease brightness Brightness changetime Illumination on/off Assign bar with backlight Asign instrument with backlight (since V1.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 18 TOUCH PANEL The Version EA eDIPTFT43-ATP is shipped with an analog, resistive touch panel. Up to 60 touch areas (keys, switches, menus, bar graph inputs) can be defined simultaneously. The fields can be defined with pixel accuracy. The display supports user-friendly commands.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 19 TOUICH ADJUSTMENT The touch panel is perfectly adjusted and immediately ready for operation on delivery. As a result of aging and wear, it may become necessary to readjust the touch panel: 1a. Send Command 'ESC A@' or 1b. Touch the touch panel at power-on and keep it depressed. After the message “touch adjustment ?” appears, release the touch panel.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 20 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 EA eDIPTFT43-A Page 21 Font 6: Swiss30 Bold proportional Font 7: big numbers BigZif50 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 eDIPTFT43-A Page 22 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 witch 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 eDIPTFT43-A Page 23 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 eDIPTFT43-A Page 24 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 eDIPTFT43-A Page 25 Some instrument examples: 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).
EA eDIPTFT43-A Page 26 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. 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-2USB USB programmer, which is available as an accessory, or a self-built adapter with a MAX232 level converter (see the application example on p.5).
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 27 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.
EA eDIPTFT43-A Page 28 ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. 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 eDIPTFT43-A Page 29 MACRO PAGES (MULTILINGUAL CAPABILITY) There are 16 complete macro sets available as well as the internal images and fonts. By simply switching the active macro page (ESC M K n1), for example, up to 16 different languages can thus be supported.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. EA eDIPTFT43-A Page 30 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 eDIPTFT43-A Page 31 MOUNTING BEZEL EA 0FP481-43SW all dimensions are in mm panel cutout NOTES ON HANDLING AND OPERATION - The module can be destroyed by polarity reversal or overvoltage of the power supply; overvoltage, reverse polarity or static discharge at the inputs; or short-circuiting of the outputs.
EA eDIPTFT43-A Page 32 DIMENSIONS ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved. ATTENTION handling precautions! Note: LC displays are generally not suited to wave or reflow soldering. Temperatures of over 80°C can cause lasting damage. The mounting clips are included. all dimensions are in mm Zeppelinstr. 19 · D-82205 Gilching · Phone +49-(0)8105-7780 90 · Fax +49-(0)8105-77 8099 · www.lcd-module.de · info@lcd-module.