LK202-25-USB Matrix Orbital, LK202-25-USB Datasheet

LCD Character Display Modules Yel/Grn Background Black Text

LK202-25-USB

Manufacturer Part Number
LK202-25-USB
Description
LCD Character Display Modules Yel/Grn Background Black Text
Manufacturer
Matrix Orbital
Datasheet

Specifications of LK202-25-USB

Character Count X Line
20 x 2
Module Size (w X H X T)
116 mm x 37 mm x 25.73 mm
Fluid Type
STN
Voltage Rating
5 V
Operating Temperature Range
0 C to + 50 C
LK202-25-USB
Technical Manual
Revision: 1.1

Related parts for LK202-25-USB

LK202-25-USB Summary of contents

Page 1

... LK202-25-USB Technical Manual Revision: 1.1 ...

Page 2

... Changing the I C Slave Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.3 Changing the Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4 Setting a Non-Standard Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5 Text 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.1.1 Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.1.2 Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.2 Auto Scroll 5.3 Auto Scroll Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.4 Clear Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.5 Changing the Startup Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Matrix Orbital LK202-25-USB ...

Page 3

... Auto Transmit Key Presses 9.3 Auto Transmit Key Presses Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 9.4 Poll Key Press . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 9.5 Clear Key Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 9.6 Set Debounce Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 9.7 Set Auto Repeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.8 Auto Repeat Mode Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.9 Assign Keypad Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Matrix Orbital LK202-25-USB iii ...

Page 4

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

Page 5

... Display Options Available The LK202-25-USB comes in a wide variety of colors, and an extended temperature option is also available, to allow you to select the display which will best fit your project needs. These options can be found on our e-commerce website at http://www.matrixorbital.com. To contact a sales associate for more information on any of these options, see Section 14 ...

Page 6

... Matrix Orbital Figure 1: 3ft mini-B USB Figure 2: Keypad Mountings LK202-25-USB 2 ...

Page 7

... Default 19.2 kbps serial communication speed • Extended temperature option available for extreme environments of -20C to 70C • Built in font with provision for user defined characters • Standard Dallas One-Wire bus that is capable of communicating with Matrix Orbital Figure 3: Mounting Kits Figure 4: 4X4 Keypad LK202-25-USB 3 ...

Page 8

... Fits Matrix Orbital’s mountings without any modifications 1.4 Connecting The LK202-25-USB connects seamlessly and excellent means of testing the functionality. To connect your display to a PC, you will require a USB cable such as the one pictured order to connect your USB display to a personal computer simply plug the mini-B USB cable from the PC to the USB connector on the display ...

Page 9

... Once this information is entered correctly the program can be used to control all functions of the graphic display. Matrix Orbital Comport Baudrate Figure 6: uProject Settings LK202-25-USB The virtual serial port the display has created. The communication speed the display module is set to. (Default 19,200) ...

Page 10

... USB Header 2.1 Power Connector The LK202-25-USB provides a Power Connector to allow the device to be powered externally. This connector can be coupled to the standard 4-wire power connector available in most PC power supplies. In order to power the device externally, you must remove one of the USB protocol select jumpers. The jumper to remove is the leftmost USB jumper as seen if fi ...

Page 11

... Keypad Interface Connector The LK202-25-USB provides a Keypad Interface Connector which allows for five by five matrix style keypad to be directly connected to the display module. The leftmost pin is connected to the ground reference for the unit, and can be used as a grounding connection for an attached keypad. In addition, the rightmost pin is also a ground pin by default, but is selectable as either ground or 5v power ...

Page 12

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

Page 13

... Do not apply any voltage other than the specified voltage. 2.5 Serial Header The LK202-25-USB also offers an alternative, Serial Header option to permit serial communication with the device. Please note the the display normally does not come with the Serial Header, it will have to be ordered as a custom ...

Page 14

... NOTE This component is optional and must be custom ordered 2.6 General Purpose Outputs A unique feature of the LK202-25-USB 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 15

... Dallas 1-Wire Bridge In addition to the six general purpose outputs the LK202-25-USB offers a standard Dallas One-Wire bridge, to allow for an aditional thirty two 1-wire devices to be connected to the display. NOTE This component is optional and must be custom ordered 2 ...

Page 16

... Matrix Orbital using one of the mehods described in section 14.6 on page 55. • The last step will be to check the USB Cable on the LK202-25-USB. If the USB Cable has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see section 14.6 on page 55 for contact information ...

Page 17

... 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-USB should only be sent addresses that are even (LSB ...

Page 18

... 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-USB 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 19

... Communication is via a virtual com port, which is created in the operating system by the drivers necessary to install the USB display. The LK202-25-USB communicating via USB is capable of baud rates of 19,200 bps to 115,200 bps. Other baud rates are subject to the limitation of the virtual com port driver. For further information regarding supported operating systems, and driver limitations please contact technical support ...

Page 20

... Manual Override jumper to be set. Remembered Always Matrix Orbital Baud Rate 53 1200 29 2400 4800 67 9600 33 19200 22 28800 19 38400 10 57600 8 115200 0xFE 0xA4 [speed] 254 164 [speed] Length Description 2 Inputed LSB MSB from baud rate formula (12-2047). LK202-25-USB CrystalSpeed 1 to 8×DesiredBaud 16 ...

Page 21

... Text 5.1 Introduction The LK202-25-USB is an 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 22

... Character Set 5.1.2 Control Characters In addition to a full text set, the LK202-25-USB 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 16: Character Set ...

Page 23

... Decimal ASCII Description In order to change the text that is displayed by the LK202-25-USB 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 24

... 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-USB 20 ...

Page 25

... 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-USB 21 ...

Page 26

... 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-USB 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 27

... Special Characters 6.1 Introduction The LK202-25-USB 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 28

... Description The LK202-25-USB 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 29

... Description New to the LK202-25-USB 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 30

... 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-USB 26 ...

Page 31

... 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-USB 27 ...

Page 32

... 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-USB 28 ...

Page 33

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

Page 34

... Dallas 1-Wire 8.1 Introduction Another convenient feature of the LK202-25-USB 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 35

... 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-USB 31 ...

Page 36

... No 9 Keypad 9.1 Introduction The LK202-25-USB supports key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via USB. The LK202-25-USB also allows for auto-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 37

... Issuing this command places the unit in polled mode. Remembered Yes 9.4 Poll Key Press Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x41 254 65 254 “A” 0xFE 0x4F 254 79 254 “O” 0xFE 0x26 254 38 254 “&” LK202-25-USB 33 ...

Page 38

... The default debounce time for the module is 8 (about 52ms), which is adequate for most membrane keypads. Remembered Yes Default 8 Matrix Orbital 0xFE 0x45 254 69 254 “E” 0xFE 0x55 [time] 254 85 [time] 254 “U” [time] Length Description 1 Debounce time in increments of 6.554ms (0 - 255). LK202-25-USB 34 ...

Page 39

... 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 “‘” LK202-25-USB 2 C, the “Key 35 ...

Page 40

... Display Functions 10.1 Introduction The LK202-25-USB 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 41

... This command sets and saves the display [brightness] as default. Remembered Always Matrix Orbital 0xFE 0x46 254 70 254 “F” 0xFE 0x99 [brightness] 254 153 [brightness] Length Description 1 Display brightness setting (0 to 255). 0xFE 0x98 [brightness] 254 152 [brightness] Length Description 1 Backlight setting (0 to 255). LK202-25-USB 37 ...

Page 42

... Matrix Orbital 0xFE 0x50 [contrast] 254 80 [contrast] 254 “P” [contrast] Length Description 1 Contrast value (0 to 255). 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-USB 38 ...

Page 43

... Data Security 11.1 Introduction Ensuring that your LK202-25-USB 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-USB 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 44

... Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered No Default Do not remember 11.3 Data Lock Hexadecimal Syntax Decimal Parameters Parameter level Matrix Orbital 0xFE 0xCA 0xF5 0xA0 [level] 254 202 245 160 [level] Length Description 1 Sets the data lock level LK202-25-USB 40 ...

Page 45

... 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 0xFE 0xCB 0xF5 0xA0 [level] 254 203 245 160 [level] LK202-25-USB 2 C Slave Description Unlock 41 ...

Page 46

... Read Version Number Matrix Orbital 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-USB 42 ...

Page 47

... 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-USB 43 ...

Page 48

... VK402-12 4A LK402-25 4C PK204-25 4E MOS 50 XBoard-S 52 MOU 54 LK202-25-USB 56 LK204-25-USB 58 LK162-12-TC 5C Unused 72 LK404-25 74 Unused 78 GLT480282 7A LK202-25-USB 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 ...

Page 49

... 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-USB Page Page ...

Page 50

... 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-USB Page Page ...

Page 51

... 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-USB Page Page Page 30 31 Page ...

Page 52

... 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-USB Page Page Page 39 48 ...

Page 53

... 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-USB Page Page ...

Page 54

... 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-25-USB ...

Page 55

... Table 70: Optical Characteristics 20 columns x 2 rows 116. 37. 27 5.55 mm 75. 11.50 mm 50,000 hours typical 20,000 hours typical 10,000 hours typical LK202-25-USB ◦ ◦ +70 C ◦ ◦ + ...

Page 56

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

Page 57

... Physical Layout Matrix Orbital Figure 17: Physical Diagram LK202-25-USB 53 ...

Page 58

... K: External Keypad 20: Twenty Character Columns 2: Two Character Rows -25: Twenty-Five Key Input Maximum -USB: Universal Serial Bus Only 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 ( +50 -E: Extended Temperature (-20 Table 72: Part Options LK202-25-USB ◦ C) ◦ ◦ + ...

Page 59

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

Related keywords