PK202-25 Matrix Orbital, PK202-25 Datasheet

LCD Character Display Modules Black Background Yel/Grn Text

PK202-25

Manufacturer Part Number
PK202-25
Description
LCD Character Display Modules Black Background Yel/Grn Text
Manufacturer
Matrix Orbital
Series
PK202-25r
Datasheet

Specifications of PK202-25

Character Count X Line
20 x 2
Module Size (w X H X T)
116 mm x 37 mm x 25.73 mm
Background Color
Black
Backlight Type
LED Yellow / Green
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PK202-25
Technical Manual
Revision: 1.0

Related parts for PK202-25

PK202-25 Summary of contents

Page 1

... PK202-25 Technical Manual Revision: 1.0 ...

Page 2

... What to Expect From the PK202- 1.2 What Not to Expect From the PK202- 1.3 Keypad Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4 Setup for Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5 Trying Out the PK202- 1.6 Trying Out a Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.6.1 Here’s what 1.7 Manual Over-ride . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 3

... Set RS-232 port speed (254 57 [speed]) ( 6.1.14 Set Serial Number (254 52 [byte1] [byte2 6.1.15 Read Serial Number (254 53 6.1.16 Read Version Number (254 54 6.2 Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.2.1 Enter Flow Control Mode (254 58 [full][empty 6.2.2 Exit Flow Control Mode (254 59 Matrix Orbital PK202- iii ...

Page 4

... Issuing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 8.3 On Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 8.3.1 ASCII Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 8.4 Text Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 8.5 Keypad Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 8.6 Bar Graphs and Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 8.7 Miscellaneous Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9 Appendix: Specifications and Options 9.1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.2 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 10 Appendix: Glossary Matrix Orbital PK202- ...

Page 5

... Introduction The PK202-25 comes equipped with the following features: • 20 column by 2 line text PLED display • Built in font with provision for user defined characters • Speeds from 1200 bps to a lighting fast 19.2 Kbps over RS-232 • Communication over RS-232 or I • ...

Page 6

... Connect the display 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. Matrix Orbital Figure 1: Connections for Testing PK202-25 2 ...

Page 7

... Connect the power connector, making sure that the +5V goes to V+. Turn on the power: the display should come on. 1.5 Trying Out the PK202-25 The unit should be connected to power. The PC and display should be on. To experiment with typing text, run a PC terminal program, such as Hyperterm. Make sure it’s configured to use the correct port. Set the baud rate to 19,200 ...

Page 8

... Use “Display Tuner” or any other available test software to check functionality of the unit. Try turning the display off/on, sending text, etc. 7. Turn off the display. 8. Power up the display. 2 Connections 2.1 Connector Pinout Refer to the diagram below for this section. Matrix Orbital PK202-25 4 ...

Page 9

... Power (5.0 VDC), Data (Rx, Tx pin header DB-9F Matrix Orbital 1-Wire Connector Keypad Connector Configuration Jumpers Figure 2: Electrical Connections Table 2: Connectors & Functions Function General purpose outputs ( communications and Ground Keypad and ground strapping RS-232 / power PK202-25 DB9 Connector 5 ...

Page 10

... If the display is used becomes 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 display are different as shown in the Figure below. Matrix Orbital 1234 1234 Figure 3: Power Connector Table 3: Connector Pinout 2 SCL (I C clock SDA (I C data), Tx Ground PK202-25 6 ...

Page 11

... V). Use of the 12 volt power cable with 5 volt modules will damage the module. 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. Matrix Orbital Figure 4: Wiring for 5V Modules Figure 5: 5V Power Cable PK202-25 7 ...

Page 12

... If the module is des- ignated “wide or extended voltage”, then you may apply between 8-15 Volts accordingly. Please see the figures below for power connections and appropriate solder jump required. Matrix Orbital Figure 6: Wiring for 12V Modules Figure 7: 12V Power Cable PK202-25 8 ...

Page 13

... A null modem cable will not work. Pin Number Matrix Orbital Figure 8: RS-232 and Power Connector Figure 9: Power Applied via DB9 Table 4: RS-232 Pinout Direction Description Data from LCD Data out (LCD) Data to LCD Data in (LCD) - Ground PK202-25 LCD Host gnd gnd 9 ...

Page 14

... One modification is required for TTL. The RS232 jumper selection must be removed and placed on the TTL jumper selection. Please see Figure below for appropriate modification: Matrix Orbital Figure 10: DB9 Pinout 1234 1234 Figure 11: Power Connector Table 5: Connector Pinout Rx Tx Ground PK202-25 10 ...

Page 15

... For TTL communication via the 4 pin connector, please see the figure and table below: Matrix Orbital Figure 12: TTL Select Table 6: RS-232 Pinout Direction Description Data from LCD Data out (LCD) Data to LCD Data in (LCD) - Ground 1234 1234 Figure 13: Power Connector PK202-25 LCD Host gnd gnd 11 ...

Page 16

... RS232 jumper selection must be removed and placed on the I2C jumper selection. Please see figure below for appropriate modification: 2 For I C communication, a connection must be made via the 4 pin connector as per the figure and table below: Matrix Orbital Table 7: Connector Pinout Rx (receive data) Tx (transmit data) Ground Figure 14: I2C Select 1234 1234 Figure 15: Power Connector PK202-25 12 ...

Page 17

... The display offers one Dallas 1-wire bridge. All three headers are connected to one communication line. A maximum of 32 1-wire devices can be connected to the display at a time. Matrix Orbital Table 8: Connector Pinout SCL (clock SDA (data) Ground 2 C address of 45hex as 8Ahex (shifted 1 bit to the left). The read 2 C please visit; PK202-25 13 ...

Page 18

... Solder a small jumper wire (wirewrap wire is good) from the feedthrough hole to the corresponding negative pin for the GPO in question. Matrix Orbital Figure 16: 1-Wire Pinout Figure 17: General Purpose Outputs PK202-25 14 ...

Page 19

... Suggestions for clamping a relay: 3 Displaying Text This chapter describes the various text display commands in detail. Before issuing commands to the PK202-25 please read sections 8.2 and 8.3 (‘Issuing Commands’ and ‘On Numbers’). Matrix Orbital Figure 19: Clamping a Relay PK202-25 ...

Page 20

... General Text is displayed on the PK202-25 using the built in 5x8 dot matrix font. In addition, there are user defined characters. 3.2 The Built In Character Font The display includes a built in 5x8 dot matrix font with the full range of ASCII characters plus a variety of extended characters, as shown in the Figure below. ...

Page 21

... 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 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 PK202-25 17 ...

Page 22

... 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 PK202-25 18 ...

Page 23

... Pins 1 through 5 are columns and pins 6 through 10 are rows. The keypad is scanned whenever a key is pressed; there is no continuous key scan. This means that key presses are dealt with immediately without any appreciable latency. This also prevents electrical noise which is often caused by continuous key scans. Matrix Orbital Figure 21: Keypad Connector PK202- ...

Page 24

... RS-232 Interface By default on any press of a key, the module will immediately send out the key code at the selected baud rate. This behavior can be modified using commands found in the next section. Matrix Orbital Table 9: Keypad Layout Columns Rows PK202- function 20 ...

Page 25

... Auto repeat mode off (254 96) (R) This command turns off auto repeat mode. Matrix Orbital 2 C interface. Figure 22: Poll Timing PK202- interface, 21 ...

Page 26

... Eight characters (ASCII values 0x00 to 0x07) are set aside for use with bar graphs, user defined charac- ters, and big numbers. Since the same 8 characters are used for each function, the functions may not be used simultaneously. The bottom row of pixels is normally reserved for the underline cursor. The characters may Matrix Orbital PK202-25 22 ...

Page 27

... Each column is 5 pixels wide (spaces between the columns don’t count). [dir] specifies the direction: 0x00 goes from left to right, 0x01 goes from right to left. Matrix Orbital PK202-25 23 ...

Page 28

... NOTE Custom characters will be erased if any of the "Initialize bar graph" commands are issued. Matrix Orbital Table 10: 8 Byte Map MSB LSB * Data Byte Data Byte Data Byte Data Byte Data Byte Data Byte Data Byte Data Byte 8 Table 11: Character Values PK202-25 24 ...

Page 29

... Writing to non-volatile memory ( using the “save” function) is time consuming and slows down the operation of the display. 2. Non-volatile memory has a ’write limit’ and may only be changed approximately 100,000 times. 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. Matrix Orbital PK202-25 25 ...

Page 30

... Load startup screen (254 64 [40 characters]) This command sets and memorizes the startup screen that will appear each time the display is turned on. By default the screen shows: The 40 characters define the two 20 character rows of the screen. Matrix Orbital Table 12: Default Screen Matrix Orbital PK202-25 PK202-25 26 ...

Page 31

... This command will return a 1 byte hex value, over the RS-232 interface only, the model type value of the module. Values for various modules at the time of this publication are as follows: Matrix Orbital Table 13: Default Screen Character 20 Character write address is set to 0x50, then the read address is 0x51. The PK202-25 27 ...

Page 32

... Read Serial Number (254 53) This command will return a 2 byte hex value, over the RS-232 interface only, the serial number of the module as it was previously stored. Matrix Orbital Table 14: Module Values PK202- LCD2041 - 0x05 LCD4041 - 0x07 LK202-25 - 0x08 LK404-55 - 0x0A ...

Page 33

... This command turns off flow control. Bytes may overflow the buffer without warning. 7 1-Wire Commands The 1-wire bus is capable of communicating with many devices over a single wire plus a ground refer- ence. This chapter deals with the capabilities of the display and a brief introduction to the 1-Wire standard. For more detail consult Matrix Orbital PK202- ...

Page 34

... Skip ROM [CCh]: After this command, all devices will continue to listen and process the trans- action. This is equivalent to broadcasting to all devices. This command is useful when probes need to be informed to get their measurement ready. With this command all the probes can be instructed simultaneously. Matrix Orbital PK202-25 30 ...

Page 35

... Send Data section. Recieve Bits The number of bits to read off the bus after the data to be put on the bus has been sent. Send Data The data to be transmitted onto the bus. The data is transmitted MSB to LSB in the order that they are re- ceived. PK202-25 31 ...

Page 36

... Matrix Orbital Table 17: 1-Wire Flags Description Unused (0 for future compatibility) (0 for future compatibility) Reset bus before transaction Table 18: 1-Wire Error Codes Code Description 0x00 Success 0x01 Unknown 1-Wire Command 0x02 No devices on the bus 0x03 Fatal search error PK202-25 32 ...

Page 37

... Packet is 10 bytes long, an- other address will follow 0x0A - Packet is 10 bytes long, this is the last address 1 0x31 - 1-Wire Packet Type 1 Error Code (0x00 for success) 8 1-Wire Address 1 CRC8 - 0x00 means the last address was valid PK202- RS-232) at the currently 33 ...

Page 38

... American Standard Code for Information Interchange, or ASCII. ASCII tables are readily available from a number of sources. A few examples will do here: Matrix Orbital Table 20: Hex Value Table Hex Decimal Binary Hex 0 0 1000 1001 1010 1011 1100 1101 1110 1111 F PK202-25 Decimal ...

Page 39

... 254 68 R 254 ’D’ Off 254 81 R 254 ’Q’ Off 254 82 R 254 ’R’ PK202-25 41 Hex 61 Hex 30 Hex 39 Hex Notes Enables line wrapping (not word wrap). Disables line wrapping. Enables scroll at bottom of screen. Text will push ...

Page 40

... Off 254 84 R 254 ’T’ N/A 254 76 254 ’L’ N/A 254 77 254 ’M’ PK202-25 Notes Moves cursor to the specified column and row. The cursor marks the text insertion point in this and all commands. This command moves the cursor to the top left of the display area ...

Page 41

... FE 45 N/A 254 69 254 ’E’ N/A 254 38 254 ’&’ [time] 52ms 254 85 [time] R 254 ’U’ [time] PK202-25 Notes Applies to key- pad only.0x00 = 200 ms type- matic,0x01 = key down/key up codes sent. Applies to keypad only. Sets auto transmit mode for keypad. ...

Page 42

... Draws a horizontal bar graph start- 254 124 [c][r][d][length] ing at column [c] on row [r] with di- 254 ’|’ [c][r][d][length] rection [ right left) of length [length]. Length is measured in pixels (0x00 to 0x64 if starting in column 1). User must first use the ’h’ command to initialize characters. PK202-25 38 ...

Page 43

... FE 93 [0|1] Off 254 147 FE 58 N/A 254 88 254 ’X’ [brightness] 254 0x00 89 [brightness] 254 ’Y’ R [brightness] PK202-25 Notes Turn the “remem- ber” function on [1] or off [0]. Clears screen of text and graphics, places text cursor at top left. Sets display brightness. ...

Page 44

... Off 254 87 [gpo #] R 254 ’W’ [gpo #] FE C3 [gpo#][gpo value] Off 254 195 [gpo#][gpo value [address] 0x50 254 51 [address] 254 ’3’ [address] PK202-25 Notes Turn the “remem- ber” function on [1] or off [0]. Sets display brightness and saves on sub- ...

Page 45

... FE 3A [full] [empty] Off 254 58 [full] [empty] R 254 ’:’ [full] [empty Off 254 59 R 254 ’;’ PK202-25 Notes Turn the “remem- ber” function on [1] or off [0]. Reads the module type. Sets RS-232 speed. This is a one- time-only ...

Page 46

... Vdc (optional 8-15 VDC typical 9 mA typical Table 32: Optical Characteristics 40 (20 characters by 2 lines Matrix 73. 79 3. 3 0 0 Yellow Green PK202-25 Extended Temperature - +50 C ◦ ◦ - +70 C ◦ ◦ 80% non condensing 2 19 ...

Page 47

... Options Table 33: Options Available on PK202-25 10 Appendix: Glossary Matrix Orbital Figure 23: Physical Layout Extended Temperature E Wide Voltage V Table 34: Appendix: Glossary PK202-25 43 ...

Page 48

... EPROMs and flash EEPROMs that have data or pro- grams recorded on them are firmware. A design for a set of characters. A font is the combina- tion of typeface and other qualities, such as size, pitch, and spacing. A definition of where font placed, such as mar- gins and spacing between characters and lines. PK202-25 44 ...

Page 49

... A number that is one of a series and is used for identi- fication of the module. A port, or interface, that can be used for serial commu- nication, in which only 1 bit is transmitted at a time. PK202- multi-master 45 ...

Page 50

... Version Number Volatile Memory Matrix Orbital This refers to the firmware revision number of the module. Temporary memory. Once the power supply is turned off volatile memory is then erased. PK202-25 46 ...

Related keywords