LK202-25 User Manual Important: Read page 2 before applying power.
Connecting LK202-25 Regular Voltage Power is applied to the white or brown four pin SIP connector as follows: Pin 1: +5Vdc Pin 2: = SCL (I²C clock) Pin 3: = SDA (I²C data) Pin 4: Gnd If the sole data source is via the RS-232, the data input is via the DB9 connector. Pins 2 and 3 are not used.
Power may be provided to the module by pin 9 of the DB9 connector instead of through the 4-pin SIP. If power is to be applied using the DB9, it must be a regulated 5Vdc supply. If the user intends to use pin 9 as the power source, the user must solder the 5 volt jumper point beside the DB9 connector. If you have any further questions or concerns don’t hesitate to contact Matrix Orbital at support@matrix-orbital.com. Warning: Use this method of power up at your own risk.
The Keypad Interface Keypad Interface via I²C The keypad is read by I²C master read. In short, this means that a read of the module will always return the first unread key press. A read is initiated by writing to the module with its base address plus 1, then clocking the module’s return byte after the module releases the SDA line. Much more detail on this basic I²C function can be found in the I²C specification by Philips.
Diagram A COLUMNS 2 3 4 5 1 A B C D E 2 F G H I J 3 K L M N O 4 P Q R S T 5 U V W X Y R O W S 1 Keypad Connector - Row 5 - Row 4 - Row 3 - Row 2 - Row 1 - Column 5 - Column 4 - Column 3 - Column 2 - Column 1 6
LK202-25 Command Set Write Text This section of the manual allows the user to send commands to the LK to alter the appearance or behavior of the display. To utilize a command, the user must send a command prefix followed by the command in the format described in this portion of the manual. Any characters sent without a command prefix will be interpreted as text and will be displayed on the module at the current cursor position. The current cursor position will be incremented for each character received.
Read Module Type Value ASCII '7', Hex 37, Decimal 55 Syntax 0xFE 0x37 To read the module type value, send a command prefix followed by the character '7'. This command will return, over the RS-232 interface, the model type value of the module.
Set Contrast and Save Value Hex 91, Decimal 145 Syntax 0xFE 0x91 This command works in exactly the same way as the “Set Contrast” command. The only difference is this saves the contrast value in the memory of the module, whereas, the previous command only changes the value for the duration of use.
Auto Scroll On ASCII 'Q', Hex 51, Decimal 81 Syntax 0xFE 0x51 To enable auto scroll, send a command prefix followed by the character ‘Q’. Auto Scroll Off ASCII 'R', Hex 52, Decimal 82 Syntax 0xFE 0x52 When auto scrolling is disabled, text will wrap to the top left corner of the display area. Auto Transmit Keypresses On ASCII 'A', Hex 41, Decimal 65 Syntax 0xFE 0x41 To activate the automatic transmission of keypresses, send a command prefix followed by the character 'A'.
Whether the user is in ‘Buffer Return Status Mode’ or not, the module will ignore display or command bytes which would overrun the buffer. While in ‘Buffer Return Status Mode’ the unit will return 0xFE when buffer is almost full even though it may have already thrown rejected data away. When using this command in an application, selection of the value for the buffer almost full should be considered very carefully. This is a critical aspect of using this command to it’s full potential.
Contrast ASCII 'P', Hex 50, Decimal 80 Syntax 0xFE 0x80 This command allows you to set the display contrast to a level between 0(light) and 256(dark). To execute this command, send a command prefix followed by the character 'P' and a hex value between 0x00 and 0xFF. Different displays and lighting conditions will affect the actual value used. Different modules have different power up contrast settings.
Set Debounce Time ASCII 'U', Hex 55, Decimal 85 Syntax 0xFE 0x55 To set the time between key press and key read, send a command prefix followed by the character 'U' and a number to define the debounce time. All key types with the exception of latched piezo switches will"bounce" for a varying time, depending on their physical characteristics. The default debounce time for the module is about 65mS, which is adequate for most membrane keypads.
General Purpose Output Off ASCII 'W', Hex 57, Decimal 87 Syntax 0xFE 0x57 To turn a general output purpose off, send a command prefix followed by the character 'W' and a hex number which corresponds to the output which will be turned off.
Initialize Thin Bar Vertical Graph ASCII 's', Hex 73, Decimal 115 Syntax 0xFE 0x73 This command is excuted in exactly the same manner as the 'Initialize Thick Bar Graph' command. Make Vertical Bar Graph ASCII '=', Hex 3D, Decimal 61 Syntax 0xFE 0x3D This command places a bar graph at the specified column with the specified height. The style of the vertical bar graph whether it be thick or thin is selected by the initialize vertical bar graph command.
LK Character Font Chart 14
Specifications Environmental Specifications Standard Temp. Extended Temp. 0º to +50º C -20º to +70º C -20º to +70º C -40º to +85º C 90% max non-condensing Operating Temperature Storage Temperature Operating Relative Humidity Electrical Specifications 4.75 - 5.25 Vdc (optional 7 - 15Vdc) 9mA typical 115mA typical Supply Voltage Supply Current Backlight Supply Current Optical Characteristics 40 (20 Characters x 2 Lines) 5 x 7 with underline 82.20 x 18.20 mm (XxY) 3.20 x 5.
LK202-25 16
NORTH AMERICA EUROPE CANADA AUSTRIA HVW Technologies Suite 473, 300 - 8120 Beddington Blvd. N.W. Calgary, Alberta T3K 2A8 Canada Telephone: +1 403 730 8603 Facsimile: +1 403 730 8903 Email: info@hvwtech.com WWW: http://www.hvwtech.com/ MEGATON Ges.m.b.H. Franz-Schubert-Gasse 12, A-2372 GIESSHÜBL Telephone : +43 0 2236 43179 Facsimile : +43 0 2236 4317921 Email: oesterreich@elektronikladen.de Tri-M Systems Inc.
SCANDINAVIA ASIA Lawicel Klubbgatan 3 SE-282 32 Tyringe, Sweden Telephone: +46 0 451 598 77 Facsimile: +46 0 451 598 78 Email: info@lawicel.com WWW: http://www.lawicel.com INDIA Lilla Fabriken Box 1003 SE-172 21 Sundbyberg, Sweden Telephone: +46 8 287 286 Facsimile: +46 8 288 802 Email: info@lillfab.se WWW: http://www.lillfab.se SWITZERLAND Bernhard Elektronik Aarauer Str. 20, CH-5734 Reinach AG Telephone : +41 0 62 7716944 Facsimile : +41 0 62 7716944 Email : schweiz@elektronikladen.
Contact Information To request information or purchase any of Matrix Orbital Corporation's products please contact one of our Authorized Distributors. For technical questions and support please contact us. Sales/Accounts Chantelle Jenkins cjenkins@matrix-orbital.com Technical Support Aman Sidhu support@matrix-orbital.com Lead Project Engineer Rob Hansen rhansen@matrix-orbital.com Tel: (403) 229-2737 Fax: (403) 229-1963 Or visit us at our website: http://www.matrix-orbital.