LK202-25-R-VPT Matrix Orbital, LK202-25-R-VPT Datasheet

no-image

LK202-25-R-VPT

Manufacturer Part Number
LK202-25-R-VPT
Description
LCD ALPHA/NUM DISPL 20X2 BK RED
Manufacturer
Matrix Orbital
Datasheet

Specifications of LK202-25-R-VPT

Display Mode
Transmissive
Number Of Digits/alpha
40
Outline L X W X H
116.00mm x 37.00mm x 25.73mm
Viewing Area
82.20mm L x 18.20mm W
Display Format
20 x 2
Character Size
5.55mm H x 3.20mm W
Character Format
5 x 7 Dots
Voltage - Supply
5VDC
Dot Size
0.60mm W x 0.65mm H
Interface
I²C, RS232, TTL
Operating Temperature
0°C ~ 50°C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Display Type
-
Backlight
-
LK202-25
Technical Manual
Revision: 3.1

Related parts for LK202-25-R-VPT

LK202-25-R-VPT Summary of contents

Page 1

... LK202-25 Technical Manual Revision: 3.1 ...

Page 2

... Setting a Non-Standard Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5 Text 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.1.1 Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.1.2 Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.2 Auto Scroll 5.3 Auto Scroll Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.4 Clear Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.5 Changing the Startup Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.6 Set Auto Line Wrap 5.7 Set Auto Line Wrap Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Matrix Orbital LK202- ...

Page 3

... Auto Transmit Key Presses 9.3 Auto Transmit Key Presses Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 9.4 Poll Key Press . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.5 Clear Key Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.6 Set Debounce Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.7 Set Auto Repeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.8 Auto Repeat Mode Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 9.9 Assign Keypad Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Matrix Orbital LK202- iii ...

Page 4

... Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 13.7 Display Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 13.8 Data Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 13.9 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 13.10Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 14 Appendix 14.1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 14.1.1 Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 14.1.2 Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 14.2 Optical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 14.3 Physical Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 14.4 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 14.5 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 14.6 Contacting Matrix Orbital . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 14.7 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Matrix Orbital LK202- ...

Page 5

... The LK202- intelligent LCD display designed to decrease development time by providing an instant solution to any project. With the ability to communicate via serial RS-232/TTL and I the versatile LK202-25 can be used with virtually any controller. The ease of use is further enhanced by an intuitive command structure to allow display settings such as backlight brightness, contrast and baud rate to be software controlled ...

Page 6

... You will find these accessories and others on our e-commerce website at http://www.matrixorbital.com. To contact a sales associate see Section 14.6 on page 59 for contact information. Figure 2: 5V Power Cable Adapter Figure 4: Breadboard Cable Matrix Orbital Figure 3: 12V Power Cable Adapter (V/VPT Models) Figure 5: Serial Cable 4FT LK202-25 2 ...

Page 7

... Figure 6: Communication and 5V Power Cable Matrix Orbital Figure 7: Aluminum Mountings LK202-25 3 ...

Page 8

... Matrix Orbital Figure 8: Keypad Mountings Figure 9: Mounting Kits LK202-25 4 ...

Page 9

... Horizontal or vertical bar graphs • Fits Matrix Orbital’s mountings without any modifications 1.4 Connecting The LK202-25 connects seamlessly and excellent means of testing the functionality. To connect your display to a PC, you will require a standard RS-232 9-pin serial cable such as the one pictured well as a modifi ...

Page 10

... Copy uProject.exe to a directory that you wish to run it from. 4. Double click on "uProject.exe" Be sure to check the information selected in the COM Setup the first time uProject is run. Once this infor- mation is entered correctly the program can be used to control all functions of the graphic display. Matrix Orbital LK202-25 6 ...

Page 11

... Matrix Or- bital’s support site at http://www.matrixorbital.ca/software/software_alpha/ 2 Hardware Information Refer to the following diagram for this chapter: Matrix Orbital Comport Baudrate Figure 12: uProject Settings LK202-25 The serial port the display is plugged in to. The communication speed the display module is set to. (Default 19,200) 7 ...

Page 12

... Manual Override 2.1 DB-9 Connector The LK202-25 provides a DB-9 Connector to readily interface with serial devices which use the EIA232 standard signal levels of ±12V to ±12V also possible to communicate at TTL levels +5V by setting the Protocol Select Jumpers to TTL added feature it is also possible to apply power through pin 9 of the DB-9 Connector in order to reduce cable clutter ...

Page 13

... Figure 15: Power Through DB-9 Jumper WARNING Do not apply voltage through pin 9 of the DB-9 connector AND through the Power/Data Connector at the same time. Matrix Orbital LK202-25 9 ...

Page 14

... Power/Data Connector The Power/Data Connector provides a standard connector for powering the display module. The LK202- 25 requires five volts for the standard display module, between nine to fifteen for the wide voltage (V) and between nine to thirty-five volts for the wide voltage with efficient power supply module (VPT). The voltage is applied through pins one and four of the four pin Power/Data connector ...

Page 15

... Figure 17: Protocol Select Jumpers Matrix Orbital LK202-25 11 ...

Page 16

... General Purpose Outputs A unique feature of the LK202-25 is the ability to control relays and other external devices using a General Purpose Output, which can provide current and +5Vdc from the positive side of the GPO. This is limited by a 240 ohm resistor which is located to the above right of the GPOs as pictured below in ...

Page 17

... Manual Override The Manual Override is provided to allow the LK202- reset to factory defaults. This can be particularly helpful if the display module has been set to an unknown baud rate or I you are no longer able to communicate with it. If you wish to return the module to its default settings you must: 1 ...

Page 18

... Matrix Orbital LK202-25 14 ...

Page 19

... Keypad Interface Connector The LK202-25 provides a Keypad Interface Connector which allows for five by five matrix style keypad to be directly connected to the display module. Key presses are generated when a short is detected between a row and a column. When a key press is generated a character, which is associated with the particular key press, is automatically sent on the Tx communication line ...

Page 20

... The last step will be to check the Power / Data Connector on the LK202-25. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see 14 ...

Page 21

... The default read address of the display module will be 0x51, whereas the write address is 0x50 by default. This address may be changed by using cmd 254 / 51 / <address>. The LK202-25 should only be sent addresses that are even (LSB is 0). When the 2 ...

Page 22

... RS-232 protocol default baud rate of 19,200 bps and is capable of standard baud rates from 9600 to 115,200 bps. Furthermore the LK202-25 is also capable of reproducing any non-standard baud rate in between using values entered into our baud rate generation algorithm and set through command 164 (0xA4). ...

Page 23

... C write address must be an even number and the read 0xFE 0x39 [speed] 254 57 [speed] 254 “9” [speed] Length Description 1 Hex value corresponding to a baud rate. Baud Rate 1200 2400 4800 9600 19200 28800 38400 57600 115200 2 C mode. LK202- write 19 ...

Page 24

... Setting the baud rate out of this range could cause the display to stop working properly and require the Manual Override jumper to be set. Remembered Always Matrix Orbital 0xFE 0xA4 [speed] 254 164 [speed] Length Description 2 Inputed LSB MSB from baud rate formula (12-2047). LK202-25 CrystalSpeed 1 to 8×DesiredBaud 20 ...

Page 25

... Text 5.1 Introduction The LK202- intelligent display module, designed to reduce the amount of code necessary to begin displaying data. This means that it is able to display all ASCII formated characters and strings that are sent to it, which are defined in the current character set. The display module will begin displaying text at the top left corner of the display area, known as home, and continue to print to the display was a page on a typewriter ...

Page 26

... Character Set 5.1.2 Control Characters In addition to a full text set, the LK202-25 display supports the following ASCII Control characters: 0x08 Backspace 0x0C Clear screen / New page 0x0D Carriage return 0x0A Line feed / New line 5.2 Auto Scroll On Matrix Orbital Figure 22: Character Set ...

Page 27

... Decimal ASCII Description In order to change the text that is displayed by the LK202-25 when it starts up simply send the command bytes 254 64 followed by the characters that you wish to display, starting from the top left. This command will automatically line wrap the characters that are sent to it. ...

Page 28

... Set Cursor Position Hexadecimal Syntax Decimal ASCII Parameters Parameter col row Matrix Orbital 0xFE 0x43 254 67 254 “C” 0xFE 0x44 254 68 254 “D” 0xFE 0x47 [col] [row] 254 71 [col] [row] 254 “G” [col] [row] Length Description 1 Column 1 Row LK202-25 24 ...

Page 29

... Remembered No 5.11 Move Cursor Forward Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x48 254 72 254 “H” 0xFE 0x4C 254 76 254 “L” 0xFE 0x4D 254 77 254 “M” LK202-25 25 ...

Page 30

... This command will turn the the underline cursor off. Remembered Yes 5.14 Blinking Block Cursor On Hexadecimal Syntax Decimal ASCII Description This command will cause the LK202-25 to display a block cursor at the current text insertion point. Remembered Yes 5.15 Blinking Block Cursor Off Matrix Orbital 0xFE 0x4A 254 74 254 “J” ...

Page 31

... Special Characters 6.1 Introduction The LK202-25 has the ability to create four different sets of eight custom characters and save them to internal banks of memory. Each set of eight can be recalled from memory at any time, and selected characters can be written to the display screen. Characters and sets can be created at any time, saved for later use, and displayed to the screen through the intuitive command structure described below ...

Page 32

... Description The LK202-25 allows for upta to eight custom defined characters to be added onto the the character set. A custom character is a five by eight pixel matrix with each row represented by a byte value. For example: Each bit value of one, in the table, represents an on pixel, whereas a value of zero represents a pixel that is turned off. Therefore in order to defi ...

Page 33

... Description New to the LK202-25 has added five non-volatile memory banks for custom character storage. This is intended to allow you to create your own custom bar graphs, medium/large numbers and startup screen. However, each memory bank may be used to store a set of any eight custom characters; with the only provision being that memory bank zero contains the characters that will be used in the startup screen ...

Page 34

... NOTE Medium Numbers must be initialized before this command is executed. Remembered No Matrix Orbital 0xFE 0x6D 254 109 254 “m” 0xFE 0x6F [Row] [Col] [Digit] 254 111 [Row] [Col] [Digit] 254 “o” [Row] [Col] [Digit] Length Description 1 The row number. 1 The column number. 1 Medium number to place (0-9). LK202-25 30 ...

Page 35

... Length Description 1 The column number. 1 The row number. 1 The direction of the bar data (0 or 1). 1 The length of the bar data. 0xFE 0x73 254 115 254 “s” LK202-25 31 ...

Page 36

... Place Vertical Bar Hexadecimal Syntax Decimal ASCII Parameters Parameter Column Length Matrix Orbital 0xFE 0x76 254 118 254 “v” 0xFE 0x3D [Column] [Length] 254 61 [Column] [Length] 254 “=” [Column] [Length] Length Description 1 The column number. 1 The length of the bar data. LK202-25 32 ...

Page 37

... General purpose outputs allow you to connect devices, such as LEDs, to the LK202-25 and supply them with up to 20mA of current at 5V. The LK202-25 has 6 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup. ...

Page 38

... Dallas 1-Wire 8.1 Introduction Another convenient feature of the LK202-25 is that it provides a Dallas 1-wire interface in order to readily communicate with up to thirty two 1-wire devices on a single bus. 1-wire communication is begun by discovering the address of the device that you wish to communicate with this you must send the “ ...

Page 39

... Length Description 1 Flags to control optional components of the transaction. 1 The number of bits you will be transmitting on the bus. 1 The number of bits you will be reading on the bus. variable Data to be transmitted, LSB to MSB. LK202-25 35 ...

Page 40

... No 9 Keypad 9.1 Introduction The LK202-25 supports key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via RS-232 or polled through I repeating key presses, and remapping of all keypad character codes. The connector is not keyed so the keypad will probably plug in either of two ways. The display will not be damaged by reversing the connector ...

Page 41

... This is the default mode on power up. NOTE This command is not available in I Remembered Yes Default On 9.3 Auto Transmit Key Presses Off Hexadecimal Syntax Decimal ASCII Matrix Orbital C specification by Phillips. 0xFE 0x41 254 65 254 “A” 0xFE 0x4F 254 79 254 “O” LK202- ...

Page 42

... It may also be used, in effect, to reset the keypad in case the host application resets for whatever reason. Matrix Orbital 2 C. 0xFE 0x26 254 38 254 “&” read keys in I 0xFE 0x45 254 69 254 “E” LK202- mode, one just needs 38 ...

Page 43

... Parameters Parameter mode Matrix Orbital 0xFE 0x55 [time] 254 85 [time] 254 “U” [time] Length Description 1 Debounce time in increments of 6.554ms (0 - 255). 0xFE 0x7E [mode] 254 126 [mode] 254 “~” [mode] Length Description 1 Auto Repeat Mode (0: Resend Key , 1: Key Up/Down) LK202-25 39 ...

Page 44

... On the release of the key, the key release code transmitted will be a value equal to the key down code plus 20 hex. 0xFE 0x60 254 96 254 “‘” 0xFE 0xD5 [KDown] [KUp] 254 213 [KDown] [KUp] LK202- the “Key 40 ...

Page 45

... Display Functions 10.1 Introduction The LK202-25 employs software controlled display settings, which allow for control over, clearing the screen, changing the brightness and contrast or setting timers for turning off. The combination of these allow you complete software control over your display’s appearance. ...

Page 46

... Length Description 1 Display brightness setting (0 to 255). 0xFE 0x98 [brightness] 254 152 [brightness] Length Description 1 Backlight setting (0 to 255). 0xFE 0x50 [contrast] 254 80 [contrast] 254 “P” [contrast] Length Description 1 Contrast value (0 to 255). LK202-25 42 ...

Page 47

... NOTE This command saves the [contrast] value so that it is not lost after power down. Remembered Yes Default 128 Matrix Orbital This command has only 32 levels for X-Board based displays, meaning eight 0xFE 0x91 [contrast] 254 145 [contrast] Length Description 1 Contrast value (0 to 255). LK202-25 43 ...

Page 48

... Ensuring that your LK202-25 display’s exactly what you want it to can be the difference between a projects success and failure. This is why we incorporate features such as Data Lock into the LK202-25 With this new feature you now are in control over of how and when settings will be changed so there is no need to worry about the module acting exactly like you expected it to because all the settings may be locked and remembered for the next power up ...

Page 49

... Display Lock When this bit is set (1) the module is locked from dis- playing any new informa- tion. (text lock) Hex Dec Binary 0x00 0 0 0x50 80 01010000 Setting and Command Lock LK202- Slave Description Unlock 45 ...

Page 50

... Matrix Orbital 0xFE 0xCB 0xF5 0xA0 [level] 254 203 245 160 [level] Length Description 1 Sets the data lock level 0xFE 0x34 [data] 254 52 [data] 254 “4” [data] Length Description 16 Writes the customer data 0xFE 0x35 254 53 254 “5” LK202-25 46 ...

Page 51

... This command will return a byte representing the version of the module, see the following table as an example: Remembered No 12.3 Read Module Type Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x36 254 54 254 “6” Hex Value Version Number 0x19 Version 1.9 0x57 Version 5.7 0xFE 0x37 254 55 254 “7” LK202-25 47 ...

Page 52

... GLT480282 7A LK202-25 Product ID LCD2021 LCD4021 LK202-25 LK404-55 VFD2041 VK202-25 GLC12232 Unused Unused GLK12232-25 GLK12232-25-SM GLK24064-16-1U GLK12232-16 GLK19264-7T-1U LK204-7T-1U-USB MOS-AV-162A LK162-12 LK202-24-USB LK204-24-USB PK162-12 MOS-AP-162A MOS-AL-162A MOS-AV-202A PK202-24-USB MOS-AL-204 MOS-AL-402 LK082-12 VK404-55 VK402-25 Unused MOI XBoard-I XBoard-U VK202-25-USB VK204-25-USB Unused GLK240128-25 VK404-25 ...

Page 53

... ASCII 254 “C” Hexadecimal 0xFE 0x44 Decimal 254 68 ASCII 254 “D” Hexadecimal 0xFE 0x47 [col] [row] Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Hexadecimal 0xFE 0x48 Decimal 254 72 ASCII 254 “H” LK202-25 Page Page ...

Page 54

... Hexadecimal 0xFE 0x68 Decimal 254 104 ASCII 254 “h” Hexadecimal 0xFE 0x7C [Col] [Row] [Dir] [Length] Decimal 254 124 [Col] [Row] [Dir] [Length] ASCII 254 “|” [Col] [Row] [Dir] [Length] LK202-25 Page Page ...

Page 55

... Hexadecimal 0xFE 0xC8 0x1 [flags] [SndBits] [RcvBits] [Data] Decimal 254 200 1 [flags] [SndBits] [RcvBits] [Data] Syntax Hexadecimal 0xFE 0x41 Decimal 254 65 ASCII 254 “A” Hexadecimal 0xFE 0x4F Decimal 254 79 ASCII 254 “O” LK202-25 Page Page Page 34 35 Page ...

Page 56

... Decimal 254 152 [brightness] Hexadecimal 0xFE 0x50 [contrast] Decimal 254 80 [contrast] ASCII 254 “P” [contrast] Hexadecimal 0xFE 0x91 [contrast] Decimal 254 145 [contrast] Syntax Hexadecimal 0xFE 0x93 [switch] Decimal 254 147 [switch] LK202-25 Page Page Page 44 52 ...

Page 57

... Auto Transmit Key Presses On “B” Display On “C” Set Auto Line Wrap On “D” Set Auto Line Wrap Off “E” Clear Key Buffer “F” Display Off “G” Set Cursor Position “H” Go Home LK202-25 Page Page ...

Page 58

... Set Auto Repeat Mode Set and Save Contrast Set Remember Set and Save Brightness Set Brightness Setting a Non-Standard Baud Rate Loading Custom Characters Saving Custom Characters Save Startup Screen Custom Characters Set Startup GPO state Dallas 1-Wire Transaction Data Lock LK202- ...

Page 59

... Table 70: Optical Characteristics 20 columns x 2 rows 116. 37. 25. 5.55 mm 79. 17.00 mm 50, 000 hours typical 20, 000 hours typical 10, 000 hours typical LK202-25 ◦ C ◦ C Wide Voltage with Switching Power Supply (VPT) +9V to +35V ...

Page 60

... NOTE To prolong life recommended that the backlight be turned off when the display is not in use. Matrix Orbital LK202-25 56 ...

Page 61

... Physical Layout Matrix Orbital Figure 23: Physical Diagram LK202-25 57 ...

Page 62

... K: External Keypad 20: Twenty Character Columns 2: Two Character Rows -25: Twenty-Five Key Input Maximum NP: Standard Grey/Yellow-Green GW: Grey/White WB: White/Blue R: Red/Black IY: Yellow/Black (STN) FA: Amber/Black FB: Blue/Black FG: Green/Black FW: White/Black FY: Yellow/Black (FFSTN) NP: Standard (4.75-5.25V) -V: Extended Votlage (9.00-15.0V) ◦ NP: Standard ( +50 -E: Extended Temperature (-20 Table 72: Part Options LK202-25 ◦ C) ◦ ◦ + ...

Page 63

... Contacting Matrix Orbital Telephone Sales: 1(403)229-2737 Support: 1(403)207-3750 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com 14.7 Revision History Revision Description 3.0 Initial Manual 3.1 Updated Backlight Life Matrix Orbital Table 73: Revision History Author Matrix Orbital Clark LK202-25 59 ...

Related keywords