Matrix Orbital LK202-25 User Manual

Matrix Orbital LK202-25 User Manual

Hide thumbs Also See for LK202-25:
Table of Contents

Advertisement

Quick Links

LK202-25
User Manual
LK202-25 rev 3
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Matrix Orbital LK202-25

  • Page 1 LK202-25 User Manual LK202-25 rev 3...
  • 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-25 ........................5 1.6 Trying out a Keypad..........................6 1.6.1 Here's what to do: ........................6 1.7 To Reset the module ..........................7 2.
  • Page 3 7.5 Keypad Interface Commands....................... 27 7.6 Bar Graphs and Special Characters ..................... 28 7.7 Miscellaneous Commands........................29 8. Appendix: Specifications and Options................31 8.1 Specifications ............................31 8.2 Options ..............................32 9. Appendix: Glossary....................... 33 List of Distributors....................35 LK202-25 rev 3...
  • Page 4: Introduction

    LK202-25 display you must program your controller accordingly. 1.4 Setup for Testing Before setting up your application you may want to try out the LK202-25. This is easily done with a PC. Here's what you'll need:...
  • Page 5: Trying Out Your Lk202-25

    3. Connect the LK202-25 to the PC using the serial cable and adapter if required. Make sure the RS- 232 cable includes the required ground lead. There must be no voltage differential between the RS-232 ground and the power supply ground.
  • Page 6: Trying Out A Keypad

    If you want your code to be portable, use the appropriate commands listed later in the manual instead. If you want to exercise some of the other features of the LK202-25 you'll need to write a program (in any convenient language such as Basic or C) to issue the required command strings. Most terminal programs are unable to issue the 0xFE character needed as a command prefix.
  • Page 7: To Reset The Module

    4. Remove the jumper and change the RS-232 port settings to the desired baud rate. 5. Turn off the display. 6. Power up the display. Refer to the “Set RS-232 Port Speed” command (section 6.1.12) for acceptable baud rates. LK202-25 rev 3...
  • Page 8: Connections

    Do not apply any power with reversed polarization. Do not apply any voltage other than the specified voltage. § Do not use any cables other than the cables supplied by Matrix Orbital, § unless you are aware of the modifications required.
  • Page 9 2.1.1.1 Five Volt Modules If the LK202-25 is used in a PC it is tempting to plug a spare power connector into the unit. Don't do this! Wiring for the PC power connector and that required for the LK202-25 are different as shown in Figure 2-3 below.
  • Page 10: Rs-232 Communications

    If you don't want to modify cable wiring yourself, Matrix Orbital can supply an adapter cable designed to use with the display module when it's installed in a PC. The cable is wired as shown in Figure 2-6 below. Figure 2-6 Twelve volt power cable 2.1.2 RS-232 Communications...
  • Page 11 Note: The GPOs do not have any over current or over/under voltage protection so care must be taken when using them. 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). LK202-25 rev 3...
  • Page 12 G PO 1N400 1 10 - 100 uF Relay coil Figure 2-10 Clamping a Relay LK202-25 rev 3...
  • Page 13: Displaying Text

    This chapter describes the various text-display commands in detail. A quick reference summary of all text commands is found in section 7.4. 3.1 General Text is displayed on the LK202-25 using the built-in 5 x 7 dot matrix font (plus up to 8 user-defined characters. 3.2 The Built-In Character Font The LK202-25 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 3-1.
  • Page 14: Writing Text To The Display

    3.4.3 Auto scroll on (254 81) (R) When auto scrolling is on, it causes the LK202-25 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 15: Turn On Underline Cursor (254 74) (R)

    3.4.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-25 rev 3...
  • Page 16: Keypad Interface

    4.2 Connections Figure 4-1 Keypad Connector The connector is not "keyed" so your keypad will probably plug in either of two ways. The LK202-25 will not be damaged by reversing the connector, but your keypad will generate a different ASCII character mapping for each position.
  • Page 17: I 2 C Interface

    This behavior can be modified using commands found in the next section. 4.5 Keypad Commands Before issuing commands to the LK202-25 please read sections 7.2 and 7.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 18: Auto Repeat Mode Off (254 96) (R)

    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-25 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 19: Bar Graphs And Special Characters

    5. Bar Graphs and Special Characters The LK202-25 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-25 please read sections 7.2 and 7.3.
  • Page 20 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-25 rev 3...
  • Page 21: Miscellaneous Commands

    The commands listed in this chapter don't readily fit in any of the other categories, or are used in more than one category. Before issuing commands to the LK202-25 please read sections 7.2 and 7.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 22: Backlight On (254 66 [Minutes]) (R)

    This command turns the backlight of the LK202-25 off. 6.1.7 Load startup screen (254 64 [40 characters]) This command sets and memorizes the startup screen that will appear each time the LK202-25 is turned on. By default the screen shows:...
  • Page 23: Read Module Type (254 55)

    LCD0821 - 0x01 LCD2021 - 0x03 LCD1641 - 0x04 LCD2041 - 0x05 LCD4021 - 0x06 LCD4041 - 0x07 LK202-25 - 0x08 LK204-25 - 0x09 LK404-55 - 0x0A VFD2021 - 0x0B VFD2041 - 0x0C VFD4021 - 0x0D VK202-25 - 0x0E...
  • Page 24: Read Version Number 254 54)

    This command will return the firmware version number of the LK202-25. 6.2 Flow Control The LK202-25 has built-in flow control which may be useful when long strings of text are downloaded to the display. Flow control is enabled or disabled by two commands (see Table 7-4 and the next two sections).
  • Page 25: Appendix: Command Summary

    7.2 Issuing Commands Commands are issued to the LK202-25 by the controller. In a test setup, commands can be issued to the LK202-25 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 26: Ascii Characters

    57 decimal or 39 hex This gives rise to the possibility of confusion when parameters are being set on the LK202-25 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. All such parameters must use numeric values (i.e. the actual byte values).
  • Page 27: 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-25 rev 3...
  • Page 28: Bar Graphs And Special Characters

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

    This is a one-time-use command which works 254 52 [byte1][byte2] only on units without factory set serial numbers. 254 '4' [byte1][byte2] Read Serial Number FE 35 Reads the two byte serial number of the 254 53 module. 254 '5' LK202-25 rev 3...
  • Page 30 When buffer reaches [full] display 254 ':' [full] [empty] will return 0xFE to host. When buffer reaches [empty] display will return 0xFF. Exit flow control mode FE 3B Turns off flow control. 254 59 254 ';' LK202-25 rev 3...
  • Page 31: Appendix: Specifications And Options

    3.20 x 5.55 mm (XxY), not including Character Size underline Character Pitch 3.7 mm 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 Color of Illumination Yellow Green LK202-25 rev 3...
  • Page 32: Options

    Figure 8-1 Physical Layout 8.2 Options Options Available on LK202-25 Extended Temperature Wide Voltage LK202-25 rev 3...
  • Page 33: Appendix: Glossary

    The ratio of luminance between the light state of the display to the dark state of the display. Controller The microcontroller or PC used to control the Matrix Orbital display unit. DB-9 The designation of a connector used in the RS232 interface: 9 pin connector Firmware Software (programs or data) that has been written onto read-only memory (ROM).
  • Page 34 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 then Memory erased. LK202-25 rev 3...
  • Page 35: List Of Distributors

    Antratek Electronics Toll Free Facsimile: 1 800 237 6948 Cipalstraat 3, Email: sales@jameco.com 2440 Geel Belgium Carries a selection of Matrix Orbital Displays for Telephone: +32 14 570557 more Facsimile: +32 14 570556 information visit the Official Jameco Website. Email: info@antratek.com...
  • Page 36 Facsimile: +91 422 213 849 Email: alsystem@md2.vsnl.net.in Lilla Fabriken Box 1003 SE-172 21 Sundbyberg, Sweden Africa Telephone: +46 8 287 286 Egypt Facsimile: +46 8 288 802 Email: info@lillfab.se AmGroup 13 Sheraton Heliopolis Zone 8, Cairo EGYPT Email: amgrou@link.com.eg LK202-25 rev 3...
  • Page 37 LK202-25 rev 3...

Table of Contents