LK162-12-WB Matrix Orbital, LK162-12-WB Datasheet

LCD ALPHA/NUM DISPL 16X2 BLU/WHT

LK162-12-WB

Manufacturer Part Number
LK162-12-WB
Description
LCD ALPHA/NUM DISPL 16X2 BLU/WHT
Manufacturer
Matrix Orbital
Series
LK162-12r
Datasheet

Specifications of LK162-12-WB

Display Type
LCD - Monochrome
Display Mode
*
Number Of Digits/alpha
32
Outline L X W X H
80.00mm x 36.00mm x 28.82mm
Viewing Area
64.50mm L x 17.50mm W
Display Format
16 x 2
Character Size
5.55mm H x 2.95mm W
Character Format
5 x 8 Dots
Voltage - Supply
5.0V
Interface
I²C, RS232, TTL
Operating Temperature
0°C ~ 50°C
Character Count X Line
16 x 2
Module Size (w X H X T)
80 mm x 36 mm x 27.5 mm
Fluid Type
STN
Background Color
Blue
Backlight Type
LED White
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Backlight
-
Dot Size
-
Lead Free Status / Rohs Status
 Details
Other names
635-1012

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LK162-12-WB
Manufacturer:
Matrix Orbital
Quantity:
135
LK162-12
Technical Manual
Revision: 3.1

Related parts for LK162-12-WB

LK162-12-WB Summary of contents

Page 1

... LK162-12 Technical Manual Revision: 3.1 ...

Page 2

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

Page 3

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

Page 4

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

Page 5

... The LK162- 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 LK162-12 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 57 for contact information. Figure 3: 5V Power Cable Adapter Figure 5: Breadboard Cable Figure 7: Communication and 5V Power Cable Matrix Orbital Figure 4: 12V Power Cable Adapter (V/VPT Models) Figure 6: Serial Cable 4FT LK162-12 2 ...

Page 7

... Use key keypad with a 10 key buffer • Horizontal or vertical bar graphs 1.4 Connecting The LK162-12 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 8

... 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 LK162-12 4 ...

Page 9

... 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 9: uProject Settings LK162-12 The serial port the display is plugged in to. The communication speed the display module is set to. (Default 19,200) 5 ...

Page 10

... Manual Override 2.1 DB-9 Connector The LK162-12 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 11

... AND through the Power/Data Connector at the same time. 2.2 Power/Data Connector The Power/Data Connector provides a standard connector for powering the display module. The LK162- 12 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 12

... Table 1: Power Requirements Standard -V +5Vdc ±0.25V +9V to +15V 115 mA typical provide the means necessary to toggle the figure protocols default, the jumpers are set to RS-232 mode LK162-12 C clock) C data) -VPT +9V to +35V 2 C mode you must first remove jumpers and solder them to ...

Page 13

... Figure 14: Protocol Select Jumpers 2.4 General Purpose Outputs A unique feature of the LK162-12 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 as pictured below in driven by a GPO, requires a relatively high current (such as a relay) and has an internal resistance of its own greater than 250 ohms, then the 240 ohm resistor may be removed and replaced with a Jumper ...

Page 14

... See Section 8 on page 32. 2.6 Manual Override The Manual Override is provided to allow the LK162- 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 15

... Power up the display module. 4. The display module is now set to its default values listed below in 5. Edit and save settings. Figure 17: Manual Override Jumper Matrix Orbital . table 2 LK162-12 11 ...

Page 16

... Key Codes” command, for more detailed information see the Keypad Section, on page 34. NOTE In order to use the Keypad Interface Connector please ensure that the display is in keypad mode. See Section ?? for more details. Matrix Orbital Table 2: Default Values 255 19.2 kbps 2 C Slave Address 0x50 False True Figure 18: Keypad Interface Connector LK162-12 12 ...

Page 17

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

Page 18

... 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 LK162-12 should only be sent addresses that are even (LSB is 0). When the 2 ...

Page 19

... 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 LK162-12 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 20

... 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. LK162- write 16 ...

Page 21

... 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). LK162-12 CrystalSpeed 1 to 8×DesiredBaud 17 ...

Page 22

... Text 5.1 Introduction The LK162- 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 23

... Character Set 5.1.2 Control Characters In addition to a full text set, the LK162-12 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 19: Character Set ...

Page 24

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

... 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 LK162-12 21 ...

Page 26

... 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” LK162-12 22 ...

Page 27

... 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 LK162-12 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 28

... Special Characters 6.1 Introduction The LK162-12 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 29

... Description The LK162-12 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 30

... Description New to the LK162-12 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 31

... 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). LK162-12 27 ...

Page 32

... 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” LK162-12 28 ...

Page 33

... 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. LK162-12 29 ...

Page 34

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

Page 35

... Syntax Decimal ASCII Parameters Parameter Num Description This command turns ON general purpose output [num]. The standard GPO’s on the LK162-12 output 20mA of current at 5V. NOTE ON means the output is pulled HIGH. Remembered Yes 7.5 Set Startup GPO state Hexadecimal Syntax Decimal Parameters ...

Page 36

... Dallas 1-Wire 8.1 Introduction Another convenient feature of the LK162-12 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 37

... 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. LK162-12 33 ...

Page 38

... No 9 Keypad 9.1 Introduction The LK162-12 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 39

... 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” LK162- ...

Page 40

... 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” LK162- mode, one just needs 36 ...

Page 41

... 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) LK162-12 37 ...

Page 42

... 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] LK162- the “Key 38 ...

Page 43

... Display Functions 10.1 Introduction The LK162-12 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 44

... 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). LK162-12 40 ...

Page 45

... 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). LK162-12 41 ...

Page 46

... Ensuring that your LK162-12 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 LK162-12 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 47

... 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 LK162- Slave Description Unlock 43 ...

Page 48

... 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” LK162-12 44 ...

Page 49

... 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” LK162-12 45 ...

Page 50

... GLT480282 7A LK162-12 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 51

... 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” LK162-12 Page Page ...

Page 52

... 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] LK162-12 Page Page ...

Page 53

... Syntax Hexadecimal 0xFE 0xC8 0x2 Decimal 254 200 2 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” LK162-12 Page Page Page 32 33 Page 35 49 ...

Page 54

... Hexadecimal 0xFE 0x99 [brightness] Decimal 254 153 [brightness] Hexadecimal 0xFE 0x98 [brightness] Decimal 254 152 [brightness] Hexadecimal 0xFE 0x50 [contrast] Decimal 254 80 [contrast] ASCII 254 “P” [contrast] Hexadecimal 0xFE 0x91 [contrast] Decimal 254 145 [contrast] LK162-12 Page Page ...

Page 55

... Place Vertical Bar “@” Changing the Startup Screen “A” Auto Transmit Key Presses On “B” Display On “C” Set Auto Line Wrap On “D” Set Auto Line Wrap Off “E” Clear Key Buffer LK162-12 Page Page ...

Page 56

... 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 LK162- ...

Page 57

... Table 71: Optical Characteristics 16 columns x 2 rows 80. 36. 28. 5. 17.5 mm 50, 000 hours typical 20, 000 hours typical 10,000 hours typical LK162-12 ◦ ◦ +70 C ◦ ◦ +80 C Wide Voltage (V) +9V to +15V ...

Page 58

... NOTE To prolong life recommended that the backlight be turned off when the display is not in use. Matrix Orbital LK162-12 54 ...

Page 59

... Physical Layout Matrix Orbital Figure 20: Physical Diagram LK162-12 55 ...

Page 60

... Table 72: Part Numbering Scheme Options L: Liquid Crystal Display* K: External Keypad 16: Sixteen Character Columns 2: Two Character Rows -12: Twelve Key Input Maximum NP: Standard Grey/Yellow-Green GW: Grey/White WB: White/Blue R: Red/Black IY: Yellow/Black NP: Standard (4.75-5.25V) -V: Extended Voltage (9.00-15.0V) ◦ NP: Standard ( +50 -E: Extended Temperature (-20 Table 73: Part Options LK162-12 ◦ C) ◦ ◦ + ...

Page 61

... 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 3.0 3.1 Matrix Orbital Table 74: Revision History Description Author Initial Manual Matrix Orbital Updated Backlight Life Clark LK162-12 57 ...

Related keywords