Matrix-orbital PK202-25 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Matrix-orbital PK202-25. Matrix Orbital PK202-25 User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Revision: 1.0

PK202-25Technical ManualRevision: 1.0

Página 2 - Contents

2.1.1 Power ConnectionsPower is applied via pin1 and ground via pin 4 as shown in the figure below. Power requirement is +5VDC ±0.25V. As an alternate

Página 3

Figure 4: Wiring for 5V ModulesMatrix Orbital can supply an adapter cable designed for use with the display when it’s installed in a PC.The cable is w

Página 4

Figure 6: Wiring for 12V ModulesMatrix Orbital can supply an adapter cable designed for use with the display module when it’s installedin a PC. The ca

Página 5 - 1 Introduction

Figure 8: RS-232 and Power ConnectorFigure 9: Power Applied via DB9The RS-232 connector on the PC cable is wired so that a standard ‘straight through’

Página 6 - 1.4 Setup for Testing

5 329Figure 10: DB9 PinoutFor RS232 communication via the 4 pin connector, please see the figure and table below.1 23 4 12 34Figure 11: Power Connector

Página 7 - 1.6 Trying Out a Keypad

Figure 12: TTL SelectNote that this device uses signal levels from 0V to + 5V on the TTL setting.Table 6: RS-232 PinoutPin Number Direction Descriptio

Página 8 - 2 Connections

Table 7: Connector PinoutPin 1 +5.0 VDC (+7 to +15 VDC with wide voltage option)Pin 2 Rx (receive data)Pin 3 Tx (transmit data)Pin 4 Ground2.2.3 I2C C

Página 9 - 1-Wire Connector

Table 8: Connector PinoutPin 1 +5.0 VDC (+7 to +15 VDC with wide voltage option)Pin 2 I2C SCL (clock)Pin 3 I2C SDA (data)Pin 4 Ground2.2.4 ACKThe idea

Página 10 - 1 23 4 12 34

GNDData+5VFigure 16: 1-Wire Pinout2.3 General Purpose OutputsThe display has six general purpose outputs. These are provided to control relays or othe

Página 11

Figure 18: Bypassing 240 ohm ResistorNOTE The GPOs do not have any over current or over / under voltage protection so caremust be taken when using the

Página 12 - 2.2 Communication Connection

ContentsContents ii1 Introduction 11.1 What to Expect From the PK202-25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to E

Página 13

3.1 GeneralText is displayed on the PK202-25 using the built in 5x8 dot matrix font. In addition, there are up to 8user defined characters.3.2 The Buil

Página 14

fonts.3.3 Writing Text to the DisplayWhen the display receives a character, it displays that character at the position currently defined. Thenext chara

Página 15

3.4.5 Set cursor position (254 71 [column] [row])This command sets the cursor position (text insertion point) to the [column] and [row] specified. Colu

Página 16

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 This command

Página 17 - 2.2.5 Dallas 1-Wire Bridge

NOTE The keypads may be laid out in a different pattern. If this is the case, the userwill need to interpret the key codes differently. Also included

Página 18 - 2.3 General Purpose Outputs

4.5 Keypad CommandsSome commands, marked with an “R”, may be "Remembered" to set new defaults that will be in effecteach time the unit is po

Página 19 - 3 Displaying Text

4.5.3 Auto transmit keypresses on (254 65) (R)In this mode, all keypresses are sent immediately to the host system without the use of the poll keypadc

Página 20 - 3.1 General

be defined or redefined at any time by issuing the commands shown in this section. Once defined, they maybe used either by means of the bar graph command

Página 21 - 3.4 Text Commands

5.1.6 Define custom character (254 78 [c] [8 bytes])The display allows up to 8 user defined (custom) characters. These characters occupy the first 8 (0x0

Página 22

5.1.7 Initialize Medium Digits (254 109)This command defines the 8 special characters to be blocks suitable for use in drawing medium digits.Any previo

Página 23 - 4 Keypad Interface

4 Keypad Interface 194.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.2 Connections . . . . .

Página 24 - 4.4 RS-232 Interface

6.1.3 Set brightness (254 89 [brightness]) (R)Brightness is set to 100% by default. his commands sets the display’s backlight brightness to [bright-ne

Página 25 - 4.5 Keypad Commands

Table 13: Default ScreenCharacter 1 Character 20Character 21 Character 40If sending more than 10 characters to be stored, add in a ~10ms per character

Página 26 - 4.5.6 Poll keypad (254 38)

Table 14: Module ValuesLCD0821 - 0x01 PK202-25 - 0x LCD2041 - 0x05LCD4021 - 0x06 LCD4041 - 0x07 LK202-25 - 0x08LK204-25 - 0x09 LK404-55 - 0x0A VFD2021

Página 27 - 5.1 Command List

6.1.16 Read Version Number (254 54)This command will return the firmware version number of the display as a 1 byte hex value over RS-232only.6.2 Flow C

Página 28

7.1 Device IdentificationEach 1-wire device contains a unique 64-bit address in which to identify them with. The address isguaranteed to be unique from

Página 29 - 6 Miscellaneous Commands

• Read ROM [33h]: All devices will begin transmitting their address after this command. Thiscommand will only succeed when there is one device on the

Página 30

Table 17: 1-Wire FlagsBit Description76 Unused5 (0 for future compatibility)43 Add a CRC8 to the end of the transmitted data2 (0 for future compatibil

Página 31

Table 19: Search Return PacketOffset(Bytes)Offset(Bytes)Description0 2 0x232A - Preamble2 1 0x8A - Packet is 10 bytes long, an-other address will foll

Página 32

8.3 On NumbersLike all computerized devices, the display operates with commands and values in the form of binarynumbers. These binary numbers are arra

Página 33 - 7 1-Wire Commands

Table 21: Example of an ASCII TableThe letter A has a value of 65 Decimal or 41 HexThe letter A has a value of 97 Decimal or 61 HexThe number 0 has a

Página 34 - 7.3 ROM Commands

7 1-Wire Commands 297.1 Device Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307.2 Protocol . . . . . . .

Página 35 - [Send data])

Command Syntax Default NotesSet cursor position FE 47 [col] [row] 254 71[col] [row] 254 ’G’ [col][row]N/A Moves cursorto the specifiedcolumn and row.Th

Página 36

8.5 Keypad Interface CommandsTable 24: Keypad Interface CommandsCommand Syntax Default NotesAuto repeat mode on FE 7E [0x00|0x01] 254126 [0|1]254 ’~’

Página 37 - 8 Appendix: Command Summary

8.6 Bar Graphs and Special CharactersThe commands in this section are used to define and display bar graphs and special characters.Table 26: Bar Graphs

Página 38 - 8.3 On Numbers

Command Syntax NotesDraw medium digits FE 6F [r][c][digit]254 111 [r][c][digit]254 ’o’ [r][c][digit]Draws a medium digit in [row] and[column] using th

Página 39 - 8.4 Text Commands

Command Syntax Default NotesRemember FE 93 [0|1]254 147Off Turn the “remem-ber” function on[1] or off [0].Set brightness and save FE 91 [brightness]24

Página 40

Command Syntax Default NotesRemember FE 93 [0|1]254 147Off Turn the “remem-ber” function on[1] or off [0].Read module type FE 37254 55254 ’7’see table

Página 41 - 8.5 Keypad Interface Commands

9 Appendix: Specifications and Options9.1 SpecificationsTable 30: Environmental SpecificationsStandard Temperature Extended TemperatureOperating Temperat

Página 42

Figure 23: Physical Layout9.2 OptionsTable 33: Options Available on PK202-25Extended Temperature EWide Voltage V10 Appendix: GlossaryTable 34: Appendi

Página 43 - 8.7 Miscellaneous Commands

ASCII American Standard Code for Information Interchange.A 7 bit binary code representing the English alpha-bet, decimal numbers and common punctuatio

Página 44

Hexadecimal Refers to the base-16 number system, which consistsof 16 unique symbols: the numbers 0 to 9 and the let-ters A to F. For example, the deci

Página 45

1 IntroductionThe PK202-25 comes equipped with the following features:• 20 column by 2 line text PLED display• Built in font with provision for up to

Página 46 - 9.1 Specifications

Version Number This refers to the firmware revision number of themodule.Volatile Memory Temporary memory. Once the power supply is turnedoff volatile m

Página 47 - 10 Appendix: Glossary

1.3 Keypad InterfaceThe keypad interface takes row / column input and converts it to ASCII characters, which are deliveredout the RS-232 or I2C port t

Página 48

4. Connect the power connector, making sure that the +5V goes to V+. Turn on the power: the displayshould come on.1.5 Trying Out the PK202-25The unit

Página 49

2. With the display connected to the PC, plug in the keypad. If the connector has fewer pins than the oneon the display, center it as well as possible

Página 50 - Matrix Orbital PK202-25 46

GPOs Configuration JumpersPower/Data Connector DB9 ConnectorKeypad Connector1-Wire ConnectorFigure 2: Electrical ConnectionsThe display has four conne

Comentários a estes Manuais

Sem comentários