background image

Table 9: Command Example

Decimal

Hex

Function

254 147 1

FE 93 01

Turn on "remember" function

254 81

FE 51

Turn on auto scroll. Since "remem-

ber" is ON, this setting will be saved

in non-volatile memory

254 147 0

FE 93 00

Turn off "remember" function

Any number of commands may be entered between the ’remember ON’ and ’remember OFF’ commands,

and all settings will be memorized.

6.1.2 Clear Display (254 88)

This command clears the display and resets the text insertion point to the top left of the screen.

6.1.3 Display On (254 66 [minutes]) (R)

This command turns on the display on for a time of [minutes] minutes. If [minutes] is zero (0), the

display will remain on indefinitely.

NOTE

The factory default for display is on.

6.1.4 Display Off (254 70)

This command turns the display off.

6.1.5 Load Startup Screen (254 64 [32 characters])

This command sets and memorizes the startup screen which will appear each time the display is turned

on. By default the screen shows;

Matrix Orbital

PK162-12

24

Summary of Contents for PK162-12

Page 1: ...PK162 12 Technical Manual Revision 1 0...

Page 2: ...te Serial Connection 9 2 1 8 TTL Communications 10 2 1 9 I2C Communications 10 2 1 10 ACK 10 2 2 General Purpose Outputs 11 3 Displaying Text 12 3 1 General 13 3 2 The built in Character Font 13 3 3 W...

Page 3: ...lumn row dir length 21 5 1 6 Define Custom Character 254 78 c 8 bytes 21 5 1 7 Initialize Medium Digits 254 109 23 5 1 8 Draw Medium Digits 254 111 row column digit 23 6 Miscellaneous Commands 23 6 1...

Page 4: ...28 7 3 1 ASCII Characters 29 7 4 Text Commands 30 7 5 Keypad Interface Commands 31 7 6 Bar Graphs and Special Characters 32 7 7 Miscellaneous Commands 33 8 Appendix Specifications and Options 35 8 1...

Page 5: ...application This controller is responsible for what is displayed on the screen of the display The display provides a simple command structure to allow text and bar graphs to be displayed on the screen...

Page 6: ...will be required Figure 1 Connections for Testing 1 Refer to the Figure above for the following steps 2 Wire the connector to the power supply On most connectors the RED lead will go to 5V and the BLA...

Page 7: ...ious section 2 With the display connected to the PC plug the keypad in If the connector has fewer pins than the one on the display center it as well as possible NOTES The keypad connector must be wire...

Page 8: ...lace jumper on the above pins 1 8 Memory Chip Lock Down The display uses a memory chip to store speed start up screen contrast I2C setting and other settings When everything has been changed to the de...

Page 9: ...on 2 Connections 2 1 Connector Pinout Refer to the Figure below for this chapter Figure 4 Electrical Connections The display has four connectors Table 1 Connectors Functions Connector Function 14 Pin...

Page 10: ...less aware of the modifications required Do not apply power to the DB 9 connector AND the power con nector Do not apply more than 5Vdc to pin 9 on the DB 9 con nector 2 1 2 Five Volt Modules If the di...

Page 11: ...The 12 volt power cable is designed for use with wide voltage range display modules mounted in a PC Wiring required for the 12 volt power connector is shown in the Figure below Figure 7 Wiring for 12...

Page 12: ...er 2 1 5 RS 232 Communications The RS 232 connector on the PC cable is wired so that a standard straight through 9 pin D sub cable may be used to connect the module to a standard serial port such as C...

Page 13: ...2 1 7 Alternate Serial Connection An optional alternate connection header is provided to allow one cable for data and power Two jumpers will have to be soldered and two removed Figure 11 RS 232 SIPs C...

Page 14: ...yte which was not received To fully understand the reasons for this one needs to understand how a Matrix Orbital module processes data Basically the reason why a Matrix Orbital module might fail to re...

Page 15: ...by I2C two jumpers have to be set into the I2C position left of the power SIP connector The I2C setting is default on the display Figure 14 RS 232 SIPs Connector pinout is as follows Figure 15 Power C...

Page 16: ...of 240ohms or more the corresponding resistor may be shorted 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 exter...

Page 17: ...includes a built in 5x8 dot matrix font with the full range of ASCII characters plus a variety of extended characters Figure 18 Character Set In addition to the built in characters users may define u...

Page 18: ...ied by their names and decimal values 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 3 4 1 Auto Line Wrap On 254 67 R Enab...

Page 19: ...s off the underline cursor Does not affect the blinking block cursor 3 4 9 Turn on Blinking Cursor 254 83 R Turns on the blinking block cursor The cursor shows the current text insertion point Both bl...

Page 20: ...keypad has no effect on the display To send keystrokes to the display they must be routed through the controller Whenever a columns and a row pin are shorted together a keystroke will be generated an...

Page 21: ...e of the center of the connector In situations where the keypad isn t wired this way an adapter will need to be made or the user should rewire the connector to meet this requirement 4 3 I2C Interface...

Page 22: ...the I2 C interface 2 Key Down Key Up codes This mode may be used when the typematic parameters of the Resend key code mode are unacceptable or if the unit is being operated in polled mode The host sy...

Page 23: ...nges to prevent jumping around the menu tree It may also be used to in effect reset the keypad in case the host application resets for whatever reason 4 5 6 Poll Keypad 254 38 This command returns any...

Page 24: ...nce the same 8 characters are used for each function the functions may not be used simultaneously The characters may be defined or redefined at any time by issuing the commands shown in this section O...

Page 25: ...n may range from 0x01 to 0x14 and length may be from 0x00 to 0x64 0 to 100 if the graph can extend the full width of the screen Each column is 5 pixels wide spaces between the columns don t count dir...

Page 26: ...11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Cursor Line NOTE Custom characters will be erased if any of the Initialize bar graph commands are issued Exam...

Page 27: ...r don t readily fit in any of the other categories or are used in more than one category Some commands marked with an R may be remembered to set new defaults that will be in effect each time the unit...

Page 28: ...lay 254 88 This command clears the display and resets the text insertion point to the top left of the screen 6 1 3 Display On 254 66 minutes R This command turns on the display on for a time of minute...

Page 29: ...0x00 and 0xFF between 0 and 255 The higher the number is the brighter the display will appear 6 1 7 Set brightness and save 254 152 brightness R This command works in exactly the same way as the Set b...

Page 30: ...1 0x06 LCD4041 0x07 LK202 25 0x08 LK204 25 0x09 LK404 55 0x0A VFD2021 0x0B VFD2041 0x0C VFD4021 0x0D VK202 25 0x0E VK204 25 0x0F GLC12232 0x10 GLC24064 0x13 GLK24064 25 0x15 GLK12232 25 0x22 PK162 12...

Page 31: ...d an almost empty message 0xFF when the buffer contents drop to a defined level 6 2 1 Enter Flow Control Mode 254 58 full empty NOTE Flow control applies only to the RS 232 interface It is not availab...

Page 32: ...ds can be issued to the display by means of a BASIC program using the chr function In the tables below we ve shown commands in hex ASCII and decimal form All commands begin with the prefix character 0...

Page 33: ...veral schemes were developed to map written characters to numeric values One such scheme has become universal the American Standard Code for Information Interchange or ASCII ASCII tables are readily a...

Page 34: ...ng Auto scroll on FE 51 254 81 254 Q On R Enables scroll at bottom of screen Text will push display up one line to make room for new line Auto scroll off FE 52 254 82 254 R Off R Disables auto scroll...

Page 35: ...e beginning of a line it will move to the end of the other line Cursor right FE 4D 254 77 254 M Moves the cur sor one position to the right If the cursor is already at the end of a line it will move t...

Page 36: ...press Set debounce time FE 55 time 254 85 time 254 U time 52 ms R Resolution 1 0 6554 ms time is a numeric mul tiplier 7 6 Bar Graphs and Special Characters The commands in this section are used to d...

Page 37: ...h 254 124 c r d length 254 c r d length Draws a horizontal bar graph start ing at column c on row r with di rection d 0 is right 1 is left of length length Length is measured in pixels 0x00 to 0x64 if...

Page 38: ...l Purpose Output Off FE 56 gpo 254 86 gpo 254 V gpo Off Turns a general purpose output OFF gpo may be from 1 to 6 General Purpose Output On FE 57 gpo 254 87 gpo 254 W gpo Off Turns a general purpose o...

Page 39: ...yte display buffer When buffer reaches full display will return 0xFE to host When buffer reaches empty display will return 0xFF Exit Flow Control Mode FE 3B 254 59 254 Turns off flow control 8 Appendi...

Page 40: ...s on 24 mA typical Table 26 Optical Characteristics Number of Characters 32 16 characters by 2 lines Matrix format 5 x 8 with underline Display Area 56 0 x 13 8 mm XxY Character Size 2 67 x 5 01 mm Xx...

Page 41: ...Figure 21 Physical Layout 8 2 Options Table 27 Options Available on PK162 12 Extended Temperature E Wide Voltage V 9 Appendix Glossary Table 28 Appendix Glossary Matrix Orbital PK162 12 37...

Page 42: ...ts CCFL Cold Cathode Fluorescent Lamp A high brightness backlighting source consists of a fluorescent tube pow ered by a high voltage A C source Configuration The way a system is set up or the assortm...

Page 43: ...o or more molecules combine to form larger molecules PLEDs are thin film displays that are created by sand wiching an undoped conjugated polymer between two proper electrodes at a short distance The p...

Page 44: ...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 PK162 12 40...

Reviews: