Matrix Orbital PK202-25 Manuale utente

PK202-25
Technical Manual
Revision: 4.0

Contents
Contents ii
1 Getting Started 1
1.1 Accessories ........................................... 1
1.2 Features............................................. 6
1.3 ConnectingtoaPC ....................................... 7
1.4 InstallingtheSoftware ..................................... 8
1.4.1 uProject......................................... 8
2 Hardware Information 9
2.1 DB-9Connector......................................... 9
2.1.1 Power Through DB-9 Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Power/DataConnector ..................................... 10
2.3 ProtocolSelectJumpers..................................... 11
2.4 GeneralPurposeOutputs .................................... 11
2.5 Dallas1-WireBridge ...................................... 12
2.6 ManualOverride ........................................ 13
2.7 KeypadInterfaceConnector .................................. 14
3 Troubleshooting 14
3.1 The display does not turn on when power is applied. . . . . . . . . . . . . . . . . . . . . . . 14
3.2 The display module is not communicating. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 The display module is communicating, however text cannot be displayed. . . . . . . . . . . 15
4 Communications 15
4.1 Introduction........................................... 15
4.1.1 I2CCommunication .................................. 16
4.1.2 SerialCommunication ................................. 16
4.2 Changing the I2CSlaveAddress ................................ 16
4.3 ChangingtheBaudRate .................................... 17
4.4 Setting a Non-Standard Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5 Text 19
5.1 Introduction........................................... 19
5.1.1 CharacterSet...................................... 20
5.2 AutoScrollOn ......................................... 20
5.3 AutoScrollOff ......................................... 20
5.4 ClearScreen........................................... 20
5.5 ChangingtheStartupScreen .................................. 21
5.6 SetAutoLineWrapOn..................................... 21
5.7 SetAutoLineWrapOff..................................... 22
5.8 SetCursorPosition ....................................... 22
5.9 GoHome ............................................ 23
5.10MoveCursorBack ....................................... 23
Matrix Orbital PK202-25 ii

5.11MoveCursorForward...................................... 23
5.12UnderlineCursorOn ...................................... 24
5.13UnderlineCursorOff ...................................... 24
5.14BlinkingBlockCursorOn ................................... 24
5.15BlinkingBlockCursorOff ................................... 25
6 Special Characters 25
6.1 Introduction........................................... 25
6.2 CreatingaCustomCharacter.................................. 25
6.3 SavingCustomCharacters ................................... 26
6.4 LoadingCustomCharacters .................................. 27
6.5 Save Startup Screen Custom Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.6 InitializeMediumNumber ................................... 28
6.7 PlaceMediumNumbers .................................... 28
6.8 InitializeHorizontalBar .................................... 29
6.9 PlaceHorizontalBarGraph................................... 29
6.10InitializeNarrowVerticalBar.................................. 30
6.11InitializeWideVerticalBar................................... 30
6.12PlaceVerticleBar........................................ 31
7 General Purpose Output 31
7.1 Introduction........................................... 31
7.2 GeneralPurposeOutputOff .................................. 32
7.3 GeneralPurposeOutputOn................................... 32
7.4 SetStartupGPOstate...................................... 33
8 Dallas 1-Wire 33
8.1 Introduction........................................... 33
8.2 Searchfora1-WireDevice................................... 33
8.3 Dallas1-WireTransaction ................................... 34
9 Keypad 35
9.1 Introduction........................................... 35
9.2 AutoTransmitKeyPressesOn................................. 36
9.3 AutoTransmitKeyPressesOff................................. 36
9.4 PollKeyPress.......................................... 36
9.5 ClearKeyBuffer ........................................ 37
9.6 SetDebounceTime....................................... 37
9.7 SetAutoRepeatMode ..................................... 38
9.8 AutoRepeatModeOff ..................................... 39
9.9 AssignKeypadCodes...................................... 39
10 Display Functions 40
10.1Introduction........................................... 40
10.2DisplayOn ........................................... 40
10.3DisplayOff ........................................... 41
10.4SetBrightness.......................................... 41
Matrix Orbital PK202-25 iii

10.5SetandSaveBrightness..................................... 42
11 Data Security 42
11.1Introduction........................................... 42
11.2SetRemember.......................................... 42
11.3DataLock............................................ 43
11.4SetandSaveDataLock..................................... 44
12 Miscellaneous 45
12.1Introduction........................................... 45
12.2ReadVersionNumber...................................... 45
12.3ReadModuleType ....................................... 45
13 Command Summary 46
13.1Communications ........................................ 46
13.2Text ............................................... 47
13.3SpecialCharacters ....................................... 48
13.4GeneralPurposeOutput..................................... 49
13.5Dallas1-Wire .......................................... 50
13.6Keypad ............................................. 50
13.7DisplayFunctions........................................ 51
13.8DataSecurity .......................................... 51
13.9Miscellaneous.......................................... 51
13.10CommandByNumber ..................................... 52
14 Appendix 53
14.1Specifications.......................................... 53
14.1.1 Environmental ..................................... 53
14.1.2 Electrical ........................................ 54
14.2OpticalCharacteristics ..................................... 54
14.3PhysicalLayout......................................... 55
14.4Definitions............................................ 56
14.5ContactingMatrixOrbital.................................... 56
Matrix Orbital PK202-25 iv

1 Getting Started
The PK202-25 is an extremely bright PLED display, that features a 160 degree viewing angle and is
designed to decrease development time by providing an instant solution to any project. With the ability to
communicate via serial RS-232/TTL and I2C protocols, the versatile PK202-25 can be used with virtually
any controller. The ease of use is further enhanced by an intuitive command structure to allow display
settings such as backlight brightness, contrast and baud rate to be software controlled. Additionally, up to
thirty-two custom characters such as character sets for bar graphs, medium and large numbers may be stored
in the non-volatile memory to be easily recalled and displayed at any time. The PK202-25 comes in extended
voltage, and temperature options to allow you to select the display which will best fit your project needs.
1.1 Accessories
NOTE Matrix Orbital provides all the interface accessories needed to get your display
up and running. You will find these accessories and others on our e-commerce website at
http://www.matrixorbital.com. To contact a sales associate see Section 14.5 on page 56 for
contact information.
Figure 1: 5V Power Cable Adapter
Matrix Orbital PK202-25 1

Figure 2: 12V Power Cable Adapter (V/VPT Models)
Figure 3: Breadboard Cable
Matrix Orbital PK202-25 2

Figure 4: Serial Cable 4FT
Figure 5: Communication and 5V Power Cable
Matrix Orbital PK202-25 3

Figure 6: Aluminum Mountings
Figure 7: Keypad Mountings
Matrix Orbital PK202-25 4

Figure 8: Mounting Kits
Figure 9: 4X4 Keypad
Matrix Orbital PK202-25 5

1.2 Features
•20 column by 2 line PLED display
•Selectable communication protocol, RS-232 or I2C
•One-wire interface
•Six, 5V -20mA, general purpose outputs for a variety of applications
•Lightning fast communication speeds, up to 57.6 kbps for RS-232 and 400 kbps for I2C
•Default 19.2 kbps serial communication speed
•Extended temperature available for extreme environments of -20C to 70C
•Extended voltage and efficient power supply available
•Built in font with provision for up to 8 user defined characters
•Use of up to 127 modules on the same 2 wire I2C interface
•1-wire bus that is capable of communicating with up to 32 devices over a single bus
•Fully buffered so that no delays in transmission are ever necessary
•Ability to add a customized splash / startup screen
•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 6
Indice
Altri manuali Matrix Orbital Accessori per computer


















