PK162-12Technical ManualRevision: 3.0
1.3 Connecting to a PCThe PK162-12 connects seamlessly to a PC and it is an excellent means of testing the functionality. Toconnect your display to a
1.4 Installing the Software1.4.1 uProjectuProject was designed by Matrix Orbital to provide a simple and easy to use interface that will allow youto t
2 Hardware InformationRefer to the following diagram for this chapter:1 DB-9 Connector 5 Power / Data Connector2 Power Through DB9 Jumper 6 Keypad Int
2.1.1 Power Through DB-9 JumperIn order to provide power through pin 9 of the DB-9 Connector you must place a solder jumper on thePower through DB-9 J
Table 1: Power RequirementsStandard Wide Voltage (V) Wide Voltage with EfficientSwitching Power Supply(VPT)Supply Voltage +5Vdc ±0.25V +9V to +15V +9V
- GND+ MAX: 20 mA, +5VdcFigure 13: General Purpose OutputWARNING If connecting a relay, be sure that it is fully clamped usinga diode and capacitor in
2. Place a Jumper on the Manual Override pins.3. Power up the display module.4. The display module is now set to its default values listed below in ta
Figure 16: Keypad Interface Connector3 Troubleshooting3.1 The display does not turn on when power is applied.• First, you will want to make sure that
NOTE I2C communication will always require pull up resistors.• Finally, you may reset the display to it’s default settings using the Manual Override J
4.1.2 Serial CommunicationIn addition to being able to communicate via I2C the PK162-12 communicates natively through the RS-232 protocol at a default
ContentsContents ii1 Getting Started 11.1 Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.2 Featu
ParametersParameter Length Descriptionspeed 1 Hex value corrisponding to a baudrate.Description This command sets the RS-232 port to the specified [spe
Description This command sets the RS-232 port to a non-standard baud rate. Thecommand accepts a two byte parameter that goes directly into the mod-ule
of the display area, known as home, and continue to print to the display as if it was a page on a typewriter.When the text reaches the bottom right ro
5.2 Auto Scroll OnSyntaxHexadecimal 0xFE 0x51Decimal 254 81ASCII 254 “Q”Description When auto scrolling is on, it causes the display to shift the enti
5.5 Changing the Startup ScreenSyntaxHexadecimal 0xFE 0x40 [chars]Decimal 254 64 [chars]ASCII 254 “@” [chars]ParametersParameter Length Descriptioncha
Description Disabling Auto Line Wrap will allow you to have full control over thecursor position. This means that once the cursor has advanced to thee
Remembered No5.10 Move Cursor BackSyntaxHexadecimal 0xFE 0x4CDecimal 254 76ASCII 254 “L”Description This command will move the cursor back one space.
Description This command will cause the PK162-12 to display an underline cursor atthe current text insertion point.Remembered Yes5.13 Underline Cursor
Remembered Yes6 Special Characters6.1 Introduction6.2 Creating a Custom CharacterSyntaxHexadecimal 0xFE 0x4E [refID] [data]Decimal 254 78 [refID] [dat
Description The PK162-12 allows for up to eight custom defined characters to beadded onto the the character set. A custom character is a five by eightpi
5.10 Move Cursor Back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225.11 Move Cursor Forward . . . . . . . . . . . .
Description New to the PK162-12 has added five non-volatile memory banks forcustom character storage. This is intended to allow you to create yourown c
SyntaxHexadecimal 0xFE 0xC2 [refID] [data]Decimal 254 194 [refID] [data]ParametersParameter Length DescriptionrefID 1 Character reference ID (0-7).dat
SyntaxHexadecimal 0xFE 0x6F [Row] [Col] [Digit]Decimal 254 111 [Row] [Col] [Digit]ASCII 254 “o” [Row] [Col] [Digit]ParametersParameter Length Descript
ParametersParameter Length DescriptionCol 1 The column number.Row 1 The row number.Dir 1 The direction of the bar data (0 or1).Length 1 The length of
SyntaxHexadecimal 0xFE 0x76Decimal 254 118ASCII 254 “v”Description This command will load the wide vertical bar characters into the volatilememory. If
7 General Purpose Output7.1 IntroductionGeneral purpose outputs allow you to connect devices, such as LEDs, to the PK162-12 and supply themwith up to
Description This command turns OFF general purpose output [num].NOTE OFF means that the output is ground.Remembered Yes7.4 General Purpose Output OnSy
Description This command will set the startup state for the GPO on the next powerup. A value of one will cause the GPO to be off on the next startup w
Description This command will allow you to begin communicating with the deviceson the 1-wire bus by returning a packet containing device informationfo
ParametersParameter Length Descriptionflags 1 Flags to control optionalcomponents of the transaction.SndBits 1 The number of bits you will betransmitti
10 Display Functions 3910.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3910.2 Display On . . .
9 Keypad9.1 IntroductionThe PK162-12 supports up to a 12 key, matrix style, keypad and may be configured to allow key pressesto be automatically transm
Factory Default On9.4 Auto Transmit Key Presses OffSyntaxHexadecimal 0xFE 0x4FDecimal 254 79ASCII 254 “O”Description In this mode, up to 10 key presse
SyntaxHexadecimal 0xFE 0x45Decimal 254 69ASCII 254 “E”Description This command clears any unread key presses. In a menu application, ifthe user presse
SyntaxHexadecimal 0xFE 0x7E [mode]Decimal 254 126 [mode]ASCII 254 “~” [mode]ParametersParameter Length Descriptionmode 1 Auto Repeat Mode (0: Resend K
Description This command turns auto repeat mode off. See Set Auto Repeat Mode.Remembered No9.10 Assign Keypad CodesSyntaxHexadecimal 0xFE 0xD5 [KDown]
SyntaxHexadecimal 0xFE 0x42 [min]Decimal 254 66 [min]ASCII 254 “B” [min]ParametersParameter Length Descriptionmin 1 Minutes before turning the display
Description This command sets the display [brightness]. If the remember function ison, this command acts the same as ’Set and Save Brightness’.Remembe
SyntaxHexadecimal 0xFE 0x93 [switch]Decimal 254 147 [switch]ParametersParameter Length Descriptionswitch 1 0: Do not remember, 1: RememberDescription
Description Data lock, originally known as paranoia, allows you to lock the modulefrom displaying information, as well as enables the protection of th
SyntaxHexadecimal 0xFE 0xCB 0xF5 0xA0 [level]Decimal 254 203 245 160 [level]ParametersParameter Length Descriptionlevel 1 Sets the data lock levelDesc
1 Getting StartedThe PK162-12 is an extremely bright PLED display, that features a 160 degree viewing angle and isdesigned to decrease development tim
12.3 Read Module TypeSyntaxHexadecimal 0xFE 0x37Decimal 254 55ASCII 254 “7”Description This command will return a hex value corresponding to the the m
DescriptionSyntaxPageChanging the I2C SlaveAddressHexadecimal 0xFE 0x33 [adr]Decimal 254 51 [adr]ASCII 254 “3” [adr]15Changing the Baud RateHexadecima
DescriptionSyntaxPageGo HomeHexadecimal 0xFE 0x48Decimal 254 72ASCII 254 “H”21Move Cursor BackHexadecimal 0xFE 0x4CDecimal 254 76ASCII 254 “L”22Move C
DescriptionSyntaxPageSave Startup ScreenCustom CharactersHexadecimal 0xFE 0xC2 [refID] [data]Decimal 254 194 [refID] [data]26Initialize MediumNumberHe
DescriptionSyntaxPageSet Startup GPO stateHexadecimal 0xFE 0xC3 [Num] [state]Decimal 254 195 [Num] [state]3213.5 Dallas 1-WireDescriptionSyntaxPageSea
DescriptionSyntaxPageAuto Repeat Mode OffHexadecimal 0xFE 0x60Decimal 254 96ASCII 254 “‘”38Assign Keypad CodesHexadecimal 0xFE 0xD5 [KDown] [KUp]Decim
13.9 MiscellaneousDescriptionSyntaxPageRead Version NumberHexadecimal 0xFE 0x36Decimal 254 54ASCII 254 “6”44Read Module TypeHexadecimal 0xFE 0x37Decim
Command Description PageHex Dec ASCII0x57 87 “W” General Purpose Output On 310x58 88 “X” Clear Screen 190x60 96 “‘” Auto Repeat Mode Off 380x68 104 “h
14.1.2 ElectricalTable 64: Electrical SpecificationsStandard Wide Voltage (V) Wide Voltage with EfficientSwitching Power Supply(VPT)Supply Voltage +5Vdc
14.3 Physical LayoutFigure 18: Physical DiagramMatrix Orbital PK162-12 55
1.1 AccessoriesNOTE Matrix Orbital provides all the interface accessories needed to get your displayup and running. You will find these accessories and
14.4 DefinitionsE Extended Temperature (-20C to 70C)VPT Wide Voltage with Efficient Switching Power Supply (+9 to +35Vdc)V Wide Voltage (+9 to +15Vdc)GW
Figure 3: Breadboard CableFigure 4: Serial Cable 4FTMatrix Orbital PK162-12 3
Figure 5: Communication and 5V Power CableMatrix Orbital PK162-12 4
1.2 Features• 16 column by 2 line PLED display• Selectable communication protocol, RS-232/TTL or I2C• Seven, 5V -20mA, general purpose outputs for a v
Kommentare zu diesen Handbüchern