Table of Contents

Advertisement

Quick Links

www.DataSheet4U.com
LK204-24-USB
Technical Manual
Revision: 1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Matrix Orbital LK204-24-USB

  • Page 1 LK204-24-USB Technical Manual Revision: 1.0...
  • Page 2: Table Of Contents

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

    • Dallas 1-wire Bridge 1.1 What to Expect From the LK204-24-USB The LK204-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. This controller is responsible for what is displayed on the screen of the display.
  • Page 6: Keypad Interface

    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 e-CD • Test software such as Alpha Demo or Display Tuner Figure 1: Connections for Testing Once the above test requirements have been met, the user may proceed with the following steps;...
  • Page 7: Trying Out The Lk204-24-Usb

    1.5 Trying out the LK204-24-USB The unit should be connected to the USB and the backlight and custom startup screen should come on. • Run a PC program such as Hyperterm to experiment with typing text. Make certain it’s configured to use the correct port.
  • 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 LK204-24-USB...
  • Page 9: Power

    Incorrect power application may damage the display on one 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 LK204-24-USB...
  • Page 10: Power By 3.5" Floppy Cable

    +12.0 VDC (normally from PC power supply) Make certain to have sufficient current capacity to handle the desired load. Each High Power GPO can source over 750mA. 2.1.2 Power by 3.5” floppy cable Figure 4: Jumper Locations Matrix Orbital LK204-24-USB...
  • Page 11: 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 12: Alternate Usb Communications

    2.1.4 Alternate USB Communications www.DataSheet4U.com Figure 6: USB & Alternate USB Table 6: Connector Pinout Pin Number Description Ground Not Used Matrix Orbital LK204-24-USB...
  • Page 13: Serial Ttl Communication

    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 number of general purpose outputs for a variety of applications. Matrix Orbital LK204-24-USB...
  • Page 14: Advanced General Purpose Outputs & Gpo's 1 To 4

    2.2.1 Advanced General Purpose Outputs & GPO’s 1 to 4 These outputs are capable of controlling high current draw devices, saving power up state, being switched to PWM mode, and repeat back RPM via Hall effect sensor. Figure 9: GPOs 1 to 4 Matrix Orbital LK204-24-USB...
  • Page 15: 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 supplied by a 3.5” floppy connector will be required. Matrix Orbital LK204-24-USB...
  • Page 16: Gpo 5, Gpo 6, And Gpo 7

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

    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. The display does not have provision to download other fonts. Matrix Orbital LK204-24-USB...
  • Page 18: 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 LK204-24-USB...
  • Page 19: 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 LK204-24-USB...
  • Page 20: 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 LK204-24-USB...
  • Page 21: 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 LK204-24-USB...
  • Page 22: Auto Repeat Mode Off (254 96)(R)

    MSB will be reset (0). If there are no buffered keypresses, then 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 LK204-24-USB...
  • Page 23: 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 LK204-24-USB...
  • Page 24: 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 LK204-24-USB...
  • Page 25: 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 LK204-24-USB...
  • Page 26 The type specifies what type of information is contained in the packet. Finally, the data returned is specific to the packet type. Table 11: Continued / Size Byte Description Continued Packet Size Table 12: Display Return Protocol Types Decimal ASCII Description 0x31 ’1’ 1-Wire data 0x52 ’R’ Fan RPM data Matrix Orbital LK204-24-USB...
  • Page 27: 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 LK204-24-USB...
  • Page 28: 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 LK204-24-USB...
  • Page 29: 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 LK204-24-USB...
  • Page 30: 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 LK204-24-USB...
  • Page 31: Transaction Command (254 C8 1 [Flags] [Send Bits] [Recieve Bits] [Send Data])

    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”. The return type will be 0x31 or ’1’, and the error codes are described in the Table below. Matrix Orbital LK204-24-USB...
  • Page 32: 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 LK204-24-USB...
  • Page 33: Remember (254 147 [0|1])

    7.1.4 Set Contrast and save (254 145[contrast]) This command works in exactly the same way as the "Set contrast" command. The only difference is that it saves the contrast value in the non-volatile memory of the module, whereas the previous command Matrix Orbital LK204-24-USB...
  • Page 34: Backlight On (254 66[Minutes]) (R)

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

    Table 23: Module Values LCD0821 - 0x01 LCD2021 - 0x03 LCD2041 - 0x05 LCD4021-0x06 LCD4041 - 0x07 LK204-24-USB - 0x08 LK204-25-0x09 LK404-55 - 0x0A VFD2021 - 0x0B VFD2041 - 0x0C VFD4021 - 0x0D VK202-25 - 0x0E...
  • Page 36: Read Version Number (254 54)

    7.1.13 Read Version Number (254 54) This command will return a 1 byte hex value. 8 Appendix: Command Summary 8.1 General The operation of the LK204-24-USB is controlled by a simple and consistent command set. Commands www.DataSheet4U.com control; • Text display •...
  • Page 37: 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 LK204-24-USB...
  • Page 38 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 LK204-24-USB...
  • Page 39: Keypad Interface Commands

    FE 7E [0x00 | 0x01] 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 LK204-24-USB...
  • Page 40: Bar Graphs And Special Characters

    FE 73 Initialize the user character set to graph 254 115 make narrow vertical bar graphs. 254 “s” Initialize horizontal bar FE 68 Initialize the user character set to graph 254 104 make horizontal bar graphs. 254 “h” Matrix Orbital LK204-24-USB...
  • Page 41: Fan And Gpo Commands

    254 192 sets one of the high power GPOs (GPOs 1-4) into PWM mode. Return fan RPM FE C1 This command 254 193 will return packet to the host with the fan RPM contained in it. Matrix Orbital LK204-24-USB...
  • Page 42: Miscellaneous Commands

    Set contrast FE 50 [contrast] 0x80 Sets display con- 254 80 [contrast] trast. Compen- 254 “P” [contrast] sates for viewing angle. Contrast is a value between 0 and 255 (hex 0 to FF). Larger = darker. Matrix Orbital LK204-24-USB...
  • Page 43 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] LK204-24-USB screen (40 char- 254 “@” [40 char] acters). Screen is remembered for subsequent power ups.
  • Page 44 80 byte display buffer. When buffer reaches [full] display will return 0xFE to host. When buffer reaches [empty] display will return OxFF. Exit flow control mode FE 3B Turns off flow 254 59 control. 254 ’;’ Matrix Orbital LK204-24-USB...
  • Page 45: 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 LK204-24-USB...
  • Page 46 Figure 16: Physical Layout Matrix Orbital LK204-24-USB...
  • Page 47: Options

    9.2 Options Table 39: Options Available on the LK204-24-USB Inverse Yellow; black backlight with yellow text Inverse Blue; blue backlight with white text White backlight with grey glass (Ice blue) Inverse Red; red backlight with white text www.DataSheet4U.com 10 Appendix: Glossary...
  • Page 48 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 LK204-24-USB...
  • Page 49 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 www.DataSheet4U.com off volatile memory is then erased. Matrix Orbital LK204-24-USB...

Table of Contents