Table of Contents

Advertisement

Quick Links

PK202-25
Technical Manual
Revision: 4.0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Matrix Orbital PK202-25

  • Page 1 PK202-25 Technical Manual Revision: 4.0...
  • Page 2: Table Of Contents

    5.10 Move Cursor Back ........Matrix Orbital...
  • Page 3 10.4 Set Brightness ......... . Matrix Orbital...
  • Page 4 14.5 Contacting Matrix Orbital ........
  • Page 5: Getting Started

    The PK202-25 comes in extended voltage, and temperature options to allow you to select the display which will best fit your project needs.
  • Page 6 Figure 2: 12V Power Cable Adapter (V/VPT Models) Figure 3: Breadboard Cable Matrix Orbital PK202-25...
  • Page 7 Figure 4: Serial Cable 4FT Figure 5: Communication and 5V Power Cable Matrix Orbital PK202-25...
  • Page 8 Figure 6: Aluminum Mountings Figure 7: Keypad Mountings Matrix Orbital PK202-25...
  • Page 9 Figure 8: Mounting Kits Figure 9: 4X4 Keypad Matrix Orbital PK202-25...
  • Page 10: Features

    Software controlled contrast and brightness with configurable time-out setting up to 90 minutes Use of up to a 25 key keypad with a 10 key buffer Horizontal or vertical bar graphs Extended temperature option Fits Matrix Orbital’s mountings without any modifications Matrix Orbital PK202-25...
  • Page 11: Connecting To A Pc

    1.3 Connecting to a PC The PK202-25 connects seamlessly to a PC and it is an excellent means of testing the functionality. To connect your display to a PC, you will require a standard RS-232 9-pin serial cable such as the one pictured , as well as a modified 5V power adapter such as the one pictured in...
  • Page 12: Installing The Software

    1.4 Installing the Software 1.4.1 uProject uProject was designed by Matrix Orbital to provide a simple and easy to use interface that will allow you to test all of the features of our alpha numeric displays. To install uProject from the Matrix Orbital CD, follow the following steps: Insert the Matrix Orbital CD-ROM into the CD drive Locate the file, uProject.exe, which should be in the “CD-drive:\Download”...
  • Page 13: Hardware Information

    Manual Override Figure 12: PK202-25 2.1 DB-9 Connector The PK202-25 provides a DB-9 Connector to readily interface with serial devices which use the EIA232 standard signal levels of 12V to 12V. It is also possible to communicate at TTL levels of 0 to +5V by setting the Protocol Select Jumpers to TTL.
  • Page 14: Power Through Db-9 Jumper

    In order to provide power through pin 9 of the DB-9 Connector you must place a solder jumper on the Power through DB-9 Jumper pictured in below. The PK202-25 allows all voltage models to use the figure 14 power through DB-9 option, see table 1 on the following page for display module voltage requirements.
  • Page 15: Protocol Select Jumpers

    2.4 General Purpose Outputs A unique feature of the PK202-25 is the ability to control relays and other external devices using a General Purpose Output, which can provide up to 20 mA of current and +5Vdc from the positive side of...
  • Page 16: Dallas 1-Wire Bridge

    2.5 Dallas 1-Wire Bridge In addition to the six general purpose outputs the PK202-25 offers a Dallas 1-wire bridge, to allow for an additional thirty two 1-wire devices to be connected to the display. See Section 8.1 on page 33.
  • Page 17: Manual Override

    2.6 Manual Override The Manual Override is provided to allow the PK202-25 to be reset to factory defaults. This can be particularly helpful if the display module has been set to an unknown baud rate or I C Slave Address and you are no longer able to communicate with it.
  • Page 18: Keypad Interface Connector

    PC power supply may fit on the Power/Data Connector however they do not have the correct pin out as can be seen in figure 10 on page 7. Matrix Orbital supplies power cable adapters for connecting to a PC, which can be found in the Accessories Section on page 1.
  • Page 19: The Display Module Is Not Communicating

    The last step will be to check the Power / Data Connector on the PK202-25. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see 14.5 on page 56 for contact information.
  • Page 20: I 2 C Communication

    12V or at TTL levels of 0 to +5V by setting the Protocol Select Jumpers to TTL. 4.2 Changing the I C Slave Address Hexadecimal 0xFE 0x33 [adr] Syntax Decimal 254 51 [adr] ASCII 254 “3” [adr] Parameters Parameter Length Description The new I C write address (0x00 - 0xFF). Matrix Orbital PK202-25...
  • Page 21: Changing The Baud Rate

    NOTE The change in address is immediate. Remembered Always Factory Default 0x50 4.3 Changing the Baud Rate Hexadecimal 0xFE 0x39 [speed] Syntax Decimal 254 57 [speed] ASCII 254 “9” [speed] Parameter Length Description Parameters speed Hex value corrisponding to a baud rate. Matrix Orbital PK202-25...
  • Page 22: Setting A Non-Standard Baud Rate

    12 to 2047 which corresponds to a baud range of 977 to 153,800 baud. Setting the baud rate out of this range could cause the display to stop working properly and require the Manual Override jumper to be set. Matrix Orbital PK202-25...
  • Page 23: Text

    When the text reaches the bottom right row, it is able to automatically scroll all of the lines up and continue to display text, with the auto scroll option set to on. Matrix Orbital PK202-25...
  • Page 24: Character Set

    Remembered 5.4 Clear Screen Hexadecimal 0xFE 0x58 Syntax Decimal 254 88 ASCII 254 “X” Description This command will immediately clear all of the contents of the display. Remembered Matrix Orbital PK202-25...
  • Page 25: Changing The Startup Screen

    254 “C” Description Enabling Auto Line Wrap will allow the cursor to automatically wrap over to the next line when the current line is full. NOTE Line wraps may occur in the middle of a word. Remembered Matrix Orbital PK202-25...
  • Page 26: Set Auto Line Wrap Off

    [col] and [row] of the new proposed cursor position. NOTE If the cursor position is set past the end of a line it will wrap to the beginning of the next line. Remembered Matrix Orbital PK202-25...
  • Page 27: Go Home

    Sending this command will not effect the text displayed on the module, however any characters that are sent will over write the current characters that are being displayed. Remembered Matrix Orbital PK202-25...
  • Page 28: Underline Cursor On

    This command will turn the the underline cursor off. Remembered 5.14 Blinking Block Cursor On Hexadecimal 0xFE 0x53 Syntax Decimal 254 83 ASCII 254 “S” Description This command will cause the to display an underline cursor at the current text insertion point. Remembered Matrix Orbital PK202-25...
  • Page 29: Blinking Block Cursor Off

    6 Special Characters 6.1 Introduction 6.2 Creating a Custom Character Hexadecimal 0xFE 0x4E [refID] [data] Syntax Decimal 254 78 [refID] [data] ASCII 254 “N” [refID] [data] Parameter Length Description Parameters refID Character reference ID (0-7). data Character data. Matrix Orbital PK202-25...
  • Page 30: Saving Custom Characters

    Remembered 6.3 Saving Custom Characters Hexadecimal 0xFE 0xC1 [Bank] Syntax Decimal 254 193 [Bank] Parameters Parameter Length Description Bank Memory bank to save to (0-4). Matrix Orbital PK202-25...
  • Page 31: Loading Custom Characters

    / number. To use this command send the com- mand bytes followed by the [Bank] that contains the custom character data that you want to retreive. Remembered Matrix Orbital PK202-25...
  • Page 32: Save Startup Screen Custom Characters

    This command will allow you to use the ’Place Medium Numbers’ command. Remembered 6.7 Place Medium Numbers Hexadecimal 0xFE 0x6F [Row] [Col] [Digit] Syntax Decimal 254 111 [Row] [Col] [Digit] ASCII 254 “o” [Row] [Col] [Digit] Matrix Orbital PK202-25...
  • Page 33: Initialize Horizontal Bar

    254 124 [Col] [Row] [Dir] [Length] ASCII 254 “|” [Col] [Row] [Dir] [Length] Parameter Length Description Parameters The column number. The row number. The direction of the bar data (0 or Length The length of the bar data. Matrix Orbital PK202-25...
  • Page 34: Initialize Narrow Vertical Bar

    This command will allow you to use the ’Place Vertical Bar’ command. NOTE Narrow bars have a width of two pixels. Remembered 6.11 Initialize Wide Vertical Bar Hexadecimal 0xFE 0x76 Syntax Decimal 254 118 ASCII 254 “v” Matrix Orbital PK202-25...
  • Page 35: Place Verticle Bar

    General purpose outputs allow you to connect devices, such as temperature probes, to the and supply them with up to 30mA of current at 5V. The has 6 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup. Matrix Orbital PK202-25...
  • Page 36: General Purpose Output Off

    ASCII 254 “W” [Num] Parameters Parameter Length Description GPO number. Description This command turns ON general purpose output [num]. The standard GPO’s on the output 20mA of current at 5V. NOTE The output is pulled high. Remembered Matrix Orbital PK202-25...
  • Page 37: Set Startup Gpo State

    Wire Device’ command. After you have established the address of the device that you wish to communicate with, you may begin a transaction with the device 8.2 Search for a 1-Wire Device Hexadecimal 0xFE 0xC8 0x2 Syntax Decimal 254 200 2 Matrix Orbital PK202-25...
  • Page 38: Dallas 1-Wire Transaction

    SndBits The number of bits you will be transmitting on the bus. RcvBits The number of bits you will be reading on the bus. Data variable Data to be transmitted, LSB to MSB. Matrix Orbital PK202-25...
  • Page 39: Keypad

    The supports up to a 25 key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via RS-232 or polled through I C. The also allows for auto-repeating key presses, and remapping of all keypad character codes. Matrix Orbital PK202-25...
  • Page 40: Auto Transmit Key Presses On

    In this mode, up to 10 key presses are buffered until the unit is polled by the host system, via the poll keypad command 254 38. Issuing this command places the unit in polled mode. Remembered 9.4 Poll Key Press Hexadecimal 0xFE 0x26 Syntax Decimal 254 38 ASCII 254 “&” Matrix Orbital PK202-25...
  • Page 41: Clear Key Buffer

    Remembered 9.6 Set Debounce Time Hexadecimal 0xFE 0x55 [time] Syntax Decimal 254 85 [time] ASCII 254 “U” [time] Parameters Parameter Length Description time Debounce time in increments of 6.554ms (0 - 255). Matrix Orbital PK202-25...
  • Page 42: Set Auto Repeat Mode

    On the release of the key, the key release code transmitted will be a value equal to the key down code plus 20 hex. Matrix Orbital PK202-25...
  • Page 43: Auto Repeat Mode Off

    This command turns auto repeat mode off. See Set Auto Repeat Mode. Remembered 9.9 Assign Keypad Codes Hexadecimal 0xFE 0xD5 [KDown] [KUp] Syntax Decimal 254 213 [KDown] [KUp] Parameters Parameter Length Description KDown Key down codes Key up codes Matrix Orbital PK202-25...
  • Page 44: Display Functions

    , with a one-hundred minute maximum timer. A time of 0 specifies that the display should turn on immediately and stay on. When this command is sent while the remember function is on, the timer will reset and begin after power up. Matrix Orbital PK202-25...
  • Page 45: Display Off

    Parameters Parameter Length Description brightness Display brightness setting (0 to 255). Description This command sets the display [brightness]. If the remember function is on, this command acts the same as ’Set and Save Brightness’. Remembered Factory Default Matrix Orbital PK202-25...
  • Page 46: Set And Save Brightness

    11.2 Set Remember Hexadecimal 0xFE 0x93 [switch] Syntax Decimal 254 147 [switch] Parameters Parameter Length Description switch 0: Do not remember, 1: Remember Matrix Orbital PK202-25...
  • Page 47: Data Lock

    Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered Factory Default Do not remember 11.3 Data Lock Hexadecimal 0xFE 0xCA [level] Syntax Decimal 254 202 [level] Parameters Parameter Length Description level Sets the data lock level Matrix Orbital PK202-25...
  • Page 48: Set And Save Data Lock

    Factory Default Examples Binary Description 0x00 Unlock 0x50 01010000 Setting and Command Lock 11.4 Set and Save Data Lock Hexadecimal 0xFE 0xCB [level] Syntax Decimal 254 203 [level] Parameter Length Description Parameters level Sets the data lock level Matrix Orbital PK202-25...
  • Page 49: Miscellaneous

    This command will return a byte representing the version of the module, see the following table as an example: Hex Value Version Number 0x10 Version 1.0 0x20 Version 2.0 0x42 Version 4.2 Remembered 12.3 Read Module Type Hexadecimal 0xFE 0x37 Syntax Decimal 254 55 ASCII 254 “7” Matrix Orbital PK202-25...
  • Page 50: Command Summary

    Product ID Product ID LCD0821 LK202-24-USB LCD2021 VK202-24-USB VK202-25 LK204-24-USB LCD4021 VK204-24-USB LCD4041 PK162-12 LK202-25 VK162-12 LK204-25 MOS-AP-162A LK404-55 PK202-25 VFD2021 MOS-AL-162A VFD2041 MOS-AV-202A VFD4021 MOS-AP-202A VK202-25 PK202-24-USB VK204-25 MOS-AL-082 GLC12232 MOS-AL-204 GLC24064 MOS-AV-204 GLK24064-25 MOS-AL-402 GLK12232-25-WBL...
  • Page 51: Text

    Set Auto Line Wrap Off Decimal 254 68 ASCII 254 “D” Hexadecimal 0xFE 0x47 [col] [row] Set Cursor Position Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Hexadecimal 0xFE 0x48 Go Home Decimal 254 72 ASCII 254 “H” Matrix Orbital PK202-25...
  • Page 52: Special Characters

    Hexadecimal 0xFE 0xC1 [Bank] Saving Custom Decimal 254 193 [Bank] Characters Hexadecimal 0xFE 0xC0 [Bank] Loading Custom Decimal 254 192 [Bank] Characters Hexadecimal 0xFE 0xC2 [refID] [data] Save Startup Screen Decimal 254 194 [refID] [data] Custom Characters Matrix Orbital PK202-25...
  • Page 53: General Purpose Output

    Decimal 254 86 [Num] ASCII 254 “V” [Num] Hexadecimal 0xFE 0x57 [Num] General Purpose Output Decimal 254 87 [Num] ASCII 254 “W” [Num] Hexadecimal 0xFE 0xC3 [Num] [state] Set Startup GPO state Decimal 254 195 [Num] [state] Matrix Orbital PK202-25...
  • Page 54: Dallas 1-Wire

    Decimal 254 85 [time] ASCII 254 “U” [time] Hexadecimal 0xFE 0x7E [mode] Set Auto Repeat Mode Decimal 254 126 [mode] ASCII 254 “~” [mode] Hexadecimal 0xFE 0x60 Auto Repeat Mode Off Decimal 254 96 ASCII 254 “‘” Matrix Orbital PK202-25...
  • Page 55: Display Functions

    Syntax Page Hexadecimal 0xFE 0x93 [switch] Set Remember Decimal 254 147 [switch] Hexadecimal 0xFE 0xCA [level] Data Lock Decimal 254 202 [level] Hexadecimal 0xFE 0xCB [level] Set and Save Data Lock Decimal 254 203 [level] 13.9 Miscellaneous Matrix Orbital PK202-25...
  • Page 56: Command By Number

    “T” Blinking Block Cursor Off 0x55 “U” Set Debounce Time 0x56 “V” General Purpose Output Off 0x57 “W” General Purpose Output On 0x58 “X” Clear Screen 0x60 “‘” Auto Repeat Mode Off 0x68 “h” Initialize Horizontal Bar Matrix Orbital PK202-25...
  • Page 57: Appendix

    -30 C to +70 C -30 C to +70 C Operating Relative Humidity 90% max non-condensing Vibration (Operating) 4.9 m/s XYZ directions Vibration (Non-Operating) 19.6 m/s XYZ directions Shock (Operating) 29.4 m/s XYZ directions Shock (Non-Operating) 490 m/s XYZ directions Matrix Orbital PK202-25...
  • Page 58: Electrical

    Character Size 3.15 x 5.55 mm (XxY) Character Pitch 3.7 x 5.55 mm Dot Size 0.4 x 0.5 mm (XxY) Dot Pitch 0.5 x 0.7 mm (XxY) Luminance 350cd m (100fL) min Color of Illumination Yellow Green Matrix Orbital PK202-25...
  • Page 59: Physical Layout

    14.3 Physical Layout Figure 21: Physical Diagram Matrix Orbital PK202-25...
  • Page 60: Definitions

    Wide Voltage (+9 to +15Vdc) Grey Text / White Background White Text / Blue Background Inverse Red Inverse Yellow Most Significant Byte Least Significant Byte 14.5 Contacting Matrix Orbital Telephone Sales and Support: 1(403)229-2737 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com...

Table of Contents