Matrix Orbital LK202-24-USB User Manual

Matrix Orbital LK202-24-USB User Manual

Hide thumbs Also See for LK202-24-USB:

Advertisement

Quick Links

LK202-24-USB
User Manual
LK202-24-USB rev 1
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LK202-24-USB and is the answer not in the manual?

Questions and answers

Summary of Contents for Matrix Orbital LK202-24-USB

  • Page 1 LK202-24-USB User Manual LK202-24-USB rev 1...
  • Page 2: Table Of Contents

    1.2 What it Does Not Do ........................4 1.3 Keypad Interface..........................4 1.4 Setup for Testing ..........................4 1.5 Trying Out your LK202-24-USB...................... 5 1.6 Trying out a Keypad ......................... 6 1.6.1 Here's what to do: ........................6 1.7 Manual Override..........................7 2.
  • Page 3 8.2 Options ............................33 9. Appendix: Glossary....................... 34 Revisions Version 1.0, November 10, 2002 LK202-24-USB rev 1...
  • Page 4: Introduction

    USB port to the associated controller. Note that the keypad is not used to directly control any aspect of the operation of the LK202-24-USB, which acts simply as a matrix to serial converter. If you want to use the keypad to control the LK202-24-USB display you must program your controller accordingly.
  • Page 5: Trying Out Your Lk202-24-Usb

    Set the baud rate to 19,200 and flow control is turned off. If you type characters on the keyboard, they should now appear on the LK202-24-USB screen. Text will wrap around to the next line when you reach the end of a line.
  • Page 6: Trying Out A Keypad

    1.6 Trying out a Keypad Since a number of different keypad types can be connected to the LK202-24-USB, the results you get may be a little unpredictable. At this point all we need to do is make sure that your keypad and interface work, and possibly generate an ASCII map for your programming needs.
  • Page 7: Manual Override

    The baudrate can be saved by clicking the “Set” button. Turn off the display. Power up the display. Refer to the “Set RS-232 Port Speed” command (section 5.1.13) for acceptable baud rates. LK202-24-USB rev 1...
  • Page 8 1.8 Memory Chip Lock Down The LK202-24-USB uses a memory chip to store speed, startup screen, contrast and backlight brightness. When everything has been changed to the wanted settings and the unit will be in a finished product or in the field, locking down the memory chip so no settings can be changed might be desirable.
  • Page 9: Connections

    500mA on a high power out put and only 150mA on low power. +12V High Power 750mA Power is applied via the USB cable or the alternate USB header. Power requirement is +5 VDC ±0.25V and 180mA minimum. LK202-24-USB rev 1...
  • Page 10: Usb Communications

    GPO power if used for a total power requirement. The LK202-24-USB has a secondary power connector used for High Power GPOs. Only if you are planning on using GPO 4, GPO 5 and GPO 6 as 12V should you plug in a unmodified 3.5” floppy power cable.
  • Page 11: General Purpose Outputs

    (See sections 5.1.10 and 5.1.11 for the command syntax.) The LK202-24-USB has 2 types of GPOs, low and high power. GPO 1, 2 and 3 are refered to as Low Power GPOs and are capable of sourcing +5V at 20mA which is limited with a 240 ohm current limiting resistors.
  • Page 12 For instance if the external device is a relay it must be fully clamped (using a diode and capacitor) to absorb any generated back electro-motive force (EMF). 1N400 1 10 - 100 uF Relay coil Figure 2-4 Clamping a Relay LK202-24-USB rev 1...
  • Page 13: Displaying Text

    USB controller and will not be covered under any warranty from Matrix Orbital. +5V Low Power GPO +12V High Power GPO 2.3 General Text is displayed on the LK202-24-USB using the built-in 5 x 7 dot matrix font (plus up to 8 user-defined characters. LK202-24-USB rev 1...
  • Page 14: The Built-In Character Font

    2.4 The Built-In Character Font The LK202-24-USB includes a built-in 5 x 7 dot matrix font with the full range of ASCII characters plus a variety of extended characters, as shown in Figure 2-5. Figure 2-5 Character Set In addition to the built-in characters, users may define up to 8 special characters (which, once defined, occupy positions 0x00 to 0x07 in the above chart).
  • Page 15: Text Commands

    2.6.3 Auto scroll on (254 81) (R) When auto scrolling is on, it causes the LK202-24-USB to shift the entire display’s contents up to make room for a new line of text when the text reaches the scroll position (the bottom right character position).
  • Page 16 2.6.12 Cursor right (254 77) Moves the cursor one position to the right but does not erase any character that may be in that position. Note that this command moves the text insertion point even if the cursor is turned off. LK202-24-USB rev 1...
  • Page 17: Keypad Interface

    The LK202-24-USB keypad interface processes the keypad row/column matrix into a serial data byte stream. Aside from this processing, the keypad has no effect on the LK202-24-USB display. If you need to send keystrokes to the display, they must be routed through your controller.
  • Page 18: Usb Interface

    This behavior can be modified using commands found in the next section. 3.4 Keypad Commands Before issuing commands to the LK202-24-USB please read sections 6.2 and 6.3. Some commands, marked with an (R), may be "remembered" to set new defaults that will be in effect each time the unit is powered on.
  • Page 19 This command returns any unbuffered keypresses via the RS - 232 interface. The host system must be set up to receive the key codes. When the LK202-24-USB receives this command it will immediately return any unbuffered keypresses which may have not been read already. If there is more than one keypress buffered, then the high order bit (MSB) of this returned keycode will be set (1).
  • Page 20: Bar Graphs And Special Characters

    4. Bar Graphs and Special Characters The LK202-24-USB includes the ability to draw bar graphs (either horizontal or vertical) and allows users to define up to eight special characters. Before issuing commands to the LK202-24-USB please read sections 6.2 and 6.3.
  • Page 21 Once defined, a character is displayed simply by issuing a value (0x00 to 0x07) corresponding to the character number. The character will be laid out as follows: Cursor Line Note: Custom characters will be erased if any of the "initialize bar graph" commands are issued. LK202-24-USB rev 1...
  • Page 22: Miscellaneous Commands

    Lighting conditions will affect the actual value used for optimal viewing. Individual LK202-24-USB modules will also differ slightly from each other in appearance. In addition, values for optimal viewing while the LK202-24-USB backlight is on may differ from values used when backlight is off. 5.1.4 Set contrast and save (254 145 [contrast]) This command works in exactly the same way as the “Set Contrast”...
  • Page 23 5.1.9 Load startup screen (254 64 [40 characters]) This command sets and memorizes the startup screen that will appear each time the LK202-24-USB is turned on. By default the screen shows:...
  • Page 24 LK402-12 - 0x33 LK162-12 - 0x34 LK204-25PC - 0x35 LK202-24-USB – 0x36 The LCD will return a one-byte hex value. 5.1.13 Set RS232 port speed (254 57 [speed]) This command sets the RS232 port to the specified [speed]. The change takes place immediately. [speed] is a single byte specifying the desired port speed.
  • Page 25 5.1.16 Read Version Number 254 54) This command will return the firmware version number of the LK202-24-USB. It will be a one-byte hex value. LK202-24-USB rev 1...
  • Page 26: Appendix: Command Summary

    Chapters 0 to 4 in the same sequence as in the following tables. 6.2 Issuing Commands Commands are issued to the LK202-24-USB by the controller. In a test setup, commands can be issued to the LK202-24-USB by means of a BASIC program, using the chr$( ) function. In the tables below, we've shown commands in hex, ASCII and decimal form.
  • Page 27: Ascii Characters

    57 decimal or 39 hex This gives rise to the possibility of confusion when parameters are being set on the LK202-24-USB For example, the GPO ON and OFF commands use a number to indicate which GPO is being controlled. We're told that acceptable values are 0 to 6.
  • Page 28: Keypad Interface Commands

    254 'A' Auto transmit key FE 4F Up to 10 key presses buffered until polled. presses off 254 79 254 'O' Clear key buffer FE 45 Clear unread key presses. 254 69 254 'E' LK202-24-USB rev 1...
  • Page 29: Bar Graphs And Special Characters

    [d] (0 is right, 1 is left) of length [length]. Length 254 '|' [c][r][d][length] is measured in pixels (0x00 to 0x64 if starting in column 1). User must first use the 'h' command to initialize characters. LK202-24-USB rev 1...
  • Page 30: Miscellaneous Commands

    254 57 [speed] 5.1.13 for values of [speed] 254 '9' [speed] Set Serial Number FE 34 [byte1][byte2] This is a one-time-use command which works 254 52 only on units without factory set serial [byte1][byte2] numbers. 254 '4' [byte1][byte2] LK202-24-USB rev 1...
  • Page 31 Read Serial Number FE 35 Reads the two byte serial number of the 254 53 module. 254 '5' Read Version FE 36 Reads the firmware version number of the Number 254 54 module. 254 '6' LK202-24-USB rev 1...
  • Page 32: Appendix: Specifications And Options

    Line pitch 5.95 mm Dot Size 0.60 x 0.65 mm (XxY) Dot Pitch 0.65 x 0.70 mm (XxY) LED Backlight Life 100,000 hours typical Yellow Green, Ice Blue, Inverse Blue, Color of Illumination Inverse Red, Inverse Yellow LK202-24-USB rev 1...
  • Page 33 Figure 7-1 Physical Layout 7.2 Options Options Available on LK202-24-USB Inverse Blue with White Backlight Inverse Yellow Inver Red Gray Glass and White backlight (ice blue) LK202-24-USB rev 1...
  • Page 34 The ratio of luminance between the light state of the display to the dark state of Contrast the display. The microcontroller or PC used to control the Matrix Orbital display unit. Controller The designation of a connector used in the RS232 interface: 9 pin connector...
  • Page 35 A port, or interface, that can be used for serial communication, in which only 1 bit is transmitted at a time. Version This refers to the firmware revision number of the module. Number Volatile Temporary memory. Once the power supply is turned off volatile memory is Memory then erased. LK202-24-USB rev 1...
  • Page 36 LK202-24-USB rev 1...

Table of Contents