Matrix Orbital LK202-24-USB Technical Manual

Lcd character display modules
Hide thumbs Also See for LK202-24-USB:
Table of Contents

Advertisement

Quick Links

LK202-24-USB
Technical Manual
Revision: 2.0

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 Technical Manual Revision: 2.0...
  • Page 2: Table Of Contents

    1.4 Setup for Testing ........1.5 Trying out the LK202-24-USB ....... . .
  • Page 3 Set Contrast (254 80 [contrast]) ......28 7.1.4 Set Contrast and save (254 145[contrast]) ..... . . 29 Matrix Orbital LK202-24-USB...
  • Page 4 9.2 Options ..........42 10 Appendix: Glossary Matrix Orbital LK202-24-USB...
  • Page 5: Introduction

    Dallas 1-wire Bridge 1.1 What to Expect From the LK202-24-USB The LK202-24-USB is designed as the display unit for an associated controller. The controller may be anything from a single board, special purpose micro-controller to a PC, depending on the application. The controller is responsible for what is displayed on the screen of the display.
  • Page 6: Setup For Testing

    The following is a list of requirements for testing; An available powered USB source USB Drivers which can be located on Matrix Orbital’s website and eCD Test software such as Alpha Demo or Display Tuner Once the above test requirements have been met, the user may proceed with the following steps;...
  • Page 7: Trying Out A Keypad

    To experiment, reverse the connector to see if it generates a more logical set of characters. Ultimately the program in the controller will have to ’map’ these characters to the ones marked on the keypad, which will likely be different. Matrix Orbital LK202-24-USB...
  • Page 8: Connections

    General Purpose Outputs and +5V Output Rx / Tx Receive and Transmit LED outputs 10 Pin header Keypad Communication / Power Alt. USB Alternate USB / Power Header 4 Pin White Header Optional High Power GPO Power Input Matrix Orbital LK202-24-USB...
  • Page 9: Power

    Incorrect power application may damage the display and host. Make sure the host is capable of supplying all the necessary power. Add the display power requirement and the GPO power if used for a total power requirement. Matrix Orbital LK202-24-USB...
  • Page 10: Usb Communications

    VCP drivers are also available for Apple OS-X, OS-8, and OS-9. Linux drivers are available as well, but have not been tested by us, nor will Matrix Orbital be able to provide any support for them.
  • Page 11: Alternate Usb Communications

    MX4 / MX5 FA03 LK / VK202-24-USB FA04 LK / VK204-24-USB 2.1.3 Alternate USB Communications Figure 5: USB & Alternate USB Table 5: Connector Pinout Pin Number Description Ground Not Used NOTE Please verify pinout with motherboard manuals. Matrix Orbital LK202-24-USB...
  • Page 12: Serial Ttl Communications

    20mA at +5V. This feature only works with USB communication and will not work with serial TTL. 2.2 General Purpose Outputs The display has a variety of general purpose outputs for a variety of applications. Matrix Orbital LK202-24-USB...
  • Page 13: Advanced General Purpose Outputs & Gpo's 1 To

    2.2.1 Advanced General Purpose Outputs & GPO’s 1 to 3 These outputs are capable of controlling high current draw devices, saving power up state, switching to PWM mode and repeat back RPM via Hall effect sensor. Figure 8: Fan Headers Matrix Orbital LK202-24-USB...
  • Page 14: Advanced Gpo Power Select

    When the jumper is placed in the high power position, the unit supplies +12V to the advanced GPOs. If the jumper is placed in the low power position, +5V is supplied to the GPOs. For 12V, external power by a 3.5” floppy connector will be required. Matrix Orbital LK202-24-USB...
  • Page 15: Gpo 4, Gpo 5, And Gpo 6

    A maximum of 32 1-wire devices can be connected to the display at a time. Figure 11: 1-Wire Pinout 2.3 General Text is displayed on the LK202-24-USB using the built in 5x8 dot matrix font, in addition to up to 8 user defined characters. Matrix Orbital...
  • Page 16: The Built In Character Font

    Figure 12: Character Set In addition to the built in characters, users may define up to 8 special characters. Once defined, these characters occupy positions 0x00 to 0x07 in the above chart. The display does not have provision to down- Matrix Orbital LK202-24-USB...
  • Page 17: Writing Text To The Display

    When auto scrolling is disabled, text will wrap to the top left corner of the display area. Existing text in the display area is not erased before the new text is placed. A series of ’spaces’, followed by a “Cursor home” command, may be used to erase the top line of text. Matrix Orbital LK202-24-USB...
  • Page 18: Set Cursor Position (254 71 [Column][Row])

    Note that this command moves the text insertion point even if the cursor is turned off. NOTE A ’destructive backspace’, which erases the character to the left of the original position, may be done by issuing the following sequence: cursor left, space, cursor left. Matrix Orbital LK202-24-USB...
  • Page 19: Cursor Right (254 77)

    This also prevents electrical noise which is often caused by continuous key scans. NOTE Please note that keypads may be laid out in a different pattern. If this is the case, the user will need to interpret the key codes differently. Matrix Orbital LK202-24-USB...
  • Page 20: Keypad Commands

    On the release of the key, the key release code transmitted will be a value equal to the key down code plus 20 hex. For example, if the key code associated with key “P”(0x50) is pressed, the release code is “p”(0x70). Matrix Orbital LK202-24-USB...
  • Page 21: Auto Repeat Mode Off (254 96)(R)

    MSB will be reset (0). If there are no buffered keypresses the returned code will be 0x00. Please note; in order to make use of this command, the “Auto transmit keypress” mode should be off. Matrix Orbital LK202-24-USB...
  • Page 22: Set Debounce Time (254 85 [Time])(R)

    0 to 20 (0x00 to 0x14) pixels. The necessary characters must first be initialized by either of the commands shown in section 4.1.1 or 4.1.2, which will determine the width of the bar graph. The graph may be erased by drawing a bar graph of height=0 in the same column. Matrix Orbital LK202-24-USB...
  • Page 23: Initialize Horizontal Bar Graph (254 104)

    A “1” bit indicates an “on” (black) pixel, while a “0” indicates an “off” (clear) pixel. 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; Matrix Orbital LK202-24-USB...
  • Page 24: Remember Custom Character (254 194 [C][8 Bytes])

    5 Fan and GPO Commands 5.1 Display Return Protocol To facilitate the reporting of information other than keypresses, the “Display return protocol”, (DRP) was developed. This protocol allows the display to return arbitrary information back to the controller. This Matrix Orbital LK202-24-USB...
  • Page 25 Finally, the data returned is specific to the packet type. Table 10: Continued / Size Byte Description Continued Packet Size Table 11: Display Return Protocol Types Decimal ASCII Description 0x31 ’1’ 1-Wire data 0x52 ’R’ Fan RPM data Matrix Orbital LK202-24-USB...
  • Page 26: Fan And Gpo Commands

    1, 2 or 4. For unknown fans some experimentation is required. NOTE It is not recommended that the RPM is checked more than once every two seconds. If the RPM is checked more frequently, the actual RPM readings can become very erratic. Matrix Orbital LK202-24-USB...
  • Page 27: Remember Gpo / Pwm State (254 195 [Fan #] [Pwm Value])

    152.6 Hz 305.2 Hz 610.4 Hz 1220.7 Hz 2441.4 Hz 4882.9 Hz 9765.8 Hz As the frequency increases,the number of valid PWM states will decrease. For example, with an index of 14, there are only 5 PWM states. Matrix Orbital LK202-24-USB...
  • Page 28: Remember Pwm Base Frequency (254 197 [Index])

    For example, the family code for the DS18S20 temper- ature probes is 10H. The CRC byte is included as a verification that the correct address was transmitted or received. 6.2 Protocol The transaction sequence for accessing a 1-wire device is as follows; Matrix Orbital LK202-24-USB...
  • Page 29: Rom Commands

    6.4 Display 1-Wire functions The transaction command allows data to be put onto the bus and read off the bus for transactions. And the search command identifies all the devices on the bus for further communication. Matrix Orbital LK202-24-USB...
  • Page 30: Transaction Command (254 C8 1 [Flags] [Send Bits] [Recieve Bits] [Send Data])

    Add a CRC8 to the end of the transmitted data (0 for future compatibility) Assume last received byte is a CRC8 and validate it Reset bus before transaction The received data is sent back using the “Display return protocol”. Matrix Orbital LK202-24-USB...
  • Page 31: Search Command (254 C8 2)

    The commands listed in this chapter don’t readily fit in any of the other categories, or are used in more than one category. 7.1 Command List 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. Matrix Orbital LK202-24-USB...
  • Page 32: Remember (254 147 [0|1])

    Individual display modules will also differ slightly from each other in appearance. In addition, values for optimal viewing while the display backlight is on may differ from values used when the backlight is off. Matrix Orbital LK202-24-USB...
  • Page 33: Set Contrast And Save (254 145[Contrast])

    This command sets and memorizes the startup screen which will appear each time the display is turned on. By default the screen shows; Table 20: Default Screen Matrix Orbital LK202-24-USB The 40 characters define the two 20 character rows of the screen.
  • Page 34: Read Module Type (254 55)

    GLK12232-25 - 0x22 LK404-AT - 0x31 LK402-12 - 0x33 LK162-12 - 0x34 LK204-25PC - 0x35 LK202-24-USB - 0x36 VK202-24-USB - 0x37 LK204-24-USB - 0x38 VK204-24-USB - 0x39 7.1.11 Set Serial Number (254 52 [byte1][byte2]) Modules may be delivered with the serial number blank. In this case the user may set the desired 2 byte serial number using this one time only command.
  • Page 35: Appendix: Command Summary

    Hexadecimal (hex) numbers are particularly convenient because exactly two hexadecimal digits make up one byte, each hex digit representing 4 binary digits (4 bits) as shown in the Table below. Matrix Orbital LK202-24-USB...
  • Page 36: Ascii Characters

    In the tables given in the following sections ASCII characters are shown as ’A’, with single quotes. 8.4 Text Commands Syntax in the tables below are given in hex, decimal and decimal with ASCII, in that order, one per line. Matrix Orbital LK202-24-USB...
  • Page 37 Turns on the un- 254 74 derline cursor. 254 “J” Underline cursor off FE 4B Turns off the un- 254 75 derline cursor. 254 “K” Block cursor on FE 53 Turns 254 83 blinking block 254 “S” cursor. Matrix Orbital LK202-24-USB...
  • Page 38: Keypad Interface Commands

    Applies to keypad 254 126 [0|1] only. 254 “~”[0|1] 0x00 = 200 ms typematic, 0x01 = key down / key up codes sent. Auto repeat mode off FE 60 Applies to keypad 254 96 only. 254 “‘” Matrix Orbital LK202-24-USB...
  • Page 39: Bar Graphs And Special Characters

    Initialize the user character set to graph 254 118 make wide vertical bar graphs. 254 “V” Initialize narrow vertical FE 73 Initialize the user character set to bar graph 254 115 make narrow vertical bar graphs. 254 “s” Matrix Orbital LK202-24-USB...
  • Page 40: Fan And Gpo Commands

    This command 254 87 turns 254 “W” of the General Purpose Outputs. [gpo#] is 1 to 6. PWM value FE C0 This command 254 192 sets one of the high power GPOs (GPOs 1-3) into PWM mode. Matrix Orbital LK202-24-USB...
  • Page 41: Miscellaneous Commands

    Notes Remember FE 93 [0|1] Turns “re- 254 147 member” func- tion on [1] or off [0]. Clear display FE 58 Clears screen of 254 88 text and graphics, 254 “X” places text cursor at top left. Matrix Orbital LK202-24-USB...
  • Page 42 254 152 [brightness] backlight bright- ness” but saves [brightness] default. Load startup screen FE 40 [40 char] Matrix Orbital Loads new startup 254 64 [40 char] LK202-24-USB screen (40 char- 254 “@” [40 char] acters). Screen is remembered for subsequent power ups.
  • Page 43 80 byte display buffer. When buffer reaches [full] display will return 0xFE to host. When buffer reaches [empty] display will return 0xFF. Exit flow control FE 3B Turns off flow 254 59 control. 254 ’;’ Matrix Orbital LK202-24-USB...
  • Page 44: Appendix: Specifications And Options

    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 Colour of Illumination Yellow Green, Ice Blue, In- verse Blue, Inverse Red, Inverse Yellow. Matrix Orbital LK202-24-USB...
  • Page 45 Figure 15: Physical Layout Matrix Orbital LK202-24-USB...
  • Page 46: Options

    9.2 Options Table 38: Options Available on LK202-24-USB Inverse Yellow; black backlight with yellow text Inverse Blue; blue backlight with white text Inverse Red; red backlight with white text White backlight with grey glass (Ice blue) 10 Appendix: Glossary Table 39: Appendix: Glossary ASCII American Standard Code for Information Interchange.
  • Page 47 RS-232 Short for recommended standard-232C, a standard in- terface approved by the Electronic Industries Associa- tion (EIA) for connecting serial devices. Matrix Orbital LK202-24-USB...
  • Page 48 1 bit is transmitted at a time. Version Number This refers to the firmware revision number of the module. Volatile Memory Temporary memory. Once the power supply is turned off, volatile memory is then erased. Matrix Orbital LK202-24-USB...
  • Page 49 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Matrix Orbital LK202-24-USB LK202-24-USB-FG LK202-24-USB-GW LK202-24-USB-FB LK202-24-USB-IY LK202-24-USB-R LK202-24-USB-FA LK202-24-USB-FY LK202-24-USB-FW LK202-24-USB-WB...

Table of Contents