Matrix-orbital LK204-25 Legacy Manual de usuario

Busca en linea o descarga Manual de usuario para Hardware Matrix-orbital LK204-25 Legacy. Matrix Orbital LK204-25 Legacy User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 62
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
LK204-25
Technical Manual
Revision: 2.1
Vista de pagina 0
1 2 3 4 5 6 ... 61 62

Indice de contenidos

Pagina 1 - Revision: 2.1

LK204-25Technical ManualRevision: 2.1

Pagina 2 - Contents

WARNING DO NOT use the standard floppy drive power connector,as this will not provide you with the correct voltage and will damage thedisplay module.Fi

Pagina 3

Comport The serial port the displayis plugged in to.Baudrate The communication speedthe displaymodule is set to. (Default19,200)Figure 12: uProject Se

Pagina 4

1 DB-9 Connector 5 Power / Data Connector2 Power Through DB9 Jumper 6 Keypad Interface3 GPOs 7 Protocol Select Jumpers4 Manual Override 8 Optional Dal

Pagina 5 - 1 Getting Started

Pin 2 Tx \ SDA (I2C data)Pin3 Rx \ SCL (I2C clock)Pin5 GNDPin 9 PWR (Must solder Power Through DB-9 Jumper. See table 70 on page 54 forpower requireme

Pagina 6 - 1.2 Accessories

2.2 Power/Data ConnectorThe Power/Data Connector providesa standard connectorfor poweringthe displaymodule. The LK204-25 requires five volts for the st

Pagina 7 - Matrix Orbital LK204-25 3

Figure 17: Protocol Select Jumpers2.4 General Purpose OutputsA unique feature of the LK204-25 is the ability to control relays and other external devi

Pagina 8 - Matrix Orbital LK204-25 4

2.5 Dallas 1-Wire BridgeIn addition to the six general purpose outputs the LK204-25 offers an optional Dallas 1-wire bridge, toallow for an aditional

Pagina 9 - 1.4 Connecting to a PC

Figure 20: Manual Override JumperTable 1: Default ValuesBrightness 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock FalseRS232AutoTransmitData Tr

Pagina 10 - 1.5 Installing the Software

Figure 21: Keypad Interface ConnectorNOTE The Ground / +5V pin is toggled by the jumper to the right of the keypad connec-tor. Jump 1 & 2 for +5V

Pagina 11 - 2 Hardware Information

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

Pagina 12 - 2.1 DB-9 Connector

ContentsContents ii1 Getting Started 11.1 Display Options Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Accesso

Pagina 13

The unit does not respond to general call address ($00).When communicating in I2C the LK204-25 will send an ACK on the 9th clock cycle when addressed.

Pagina 14 - 2.3 Protocol Select Jumpers

4.1.3 Serial CommunicationIn addition to being able to communicate via I2C the LK204-25 communicates natively through theRS-232 protocol at at a defau

Pagina 15 - 2.4 General Purpose Outputs

Description This command sets the RS-232 port to the specified [speed]. The changetakes place immediately. [speed] is a single byte specifying the desi

Pagina 16 - 2.6 Manual Override

ExamplesCrystal Speed 16 MhzDesired BAUD 13,500speed =crystalspeed8∗ DesiredBaud− 1speed = 148.15− 1speed =16, 000, 0008∗ 13, 500− 1speed = 147.15• LS

Pagina 17

5.1.1 Character SetFigure 22: Character Set5.1.2 Control CharactersIn addition to a full text set, the LK204-25 display supports the following ASCII C

Pagina 18 - 3 Troubleshooting

SyntaxHexadecimal 0xFE 0x51Decimal 254 81ASCII 254 “Q”Description When auto scrolling is on, it causes the display to shift the entiredisplay’s conten

Pagina 19 - 4 Communications

5.6 Set Auto Line Wrap OnSyntaxHexadecimal 0xFE 0x43Decimal 254 67ASCII 254 “C”Description Enabling Auto Line Wrap will allow the cursor to automatica

Pagina 20 - C Transaction Example

Description This command will allow you to manually set the cursor position, whichcontrols the text insertion point, by specifying the [col] and [row]

Pagina 21 - 4.3 Changing the Baud Rate

Description This command will move the cursor forward one space. If thiscommand is sent when the cursor is at the bottom right position thecursor will

Pagina 22 - 8×DesiredBaud

SyntaxHexadecimal 0xFE 0x54Decimal 254 84ASCII 254 “T”Description This command will turn the block cursor off.Remembered Yes6 Special Characters6.1 In

Pagina 23

5.8 Set Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225.9 Go Home . . . . . . . . . . . . . . . . .

Pagina 24 - 5.2 Auto Scroll On

Description The LK204-25 allows for upta to eight custom defined characters to beadded onto the the character set. A custom character is a five by eight

Pagina 25 - 5.4 Clear Screen

Description New to the LK204-25 has added five non-volatile memory banks forcustom character storage. This is intended to allow you to create yourown c

Pagina 26 - 5.8 Set Cursor Position

Description Using this command you may create the custom characters. that will bestored in memory bank zero, which will be used in the startup screen.

Pagina 27 - 5.11 Move Cursor Forward

6.8 Initialize Large NumbersSyntaxHexadecimal 0xFE 0x6EDecimal 254 110ASCII 254 “n”Description This command will load the default large number charact

Pagina 28 - 5.14 Blinking Block Cursor On

6.11 Place Horizontal Bar GraphSyntaxHexadecimal 0xFE 0x7C [Col] [Row] [Dir] [Length]Decimal 254 124 [Col] [Row] [Dir] [Length]ASCII 254 “|” [Col] [Ro

Pagina 29 - 6 Special Characters

SyntaxHexadecimal 0xFE 0x76Decimal 254 118ASCII 254 “v”Description This command will load the wide vertical bar characters into the volatilememory. If

Pagina 30 - 6.3 Saving Custom Characters

7.2 General Purpose Output OffSyntaxHexadecimal 0xFE 0x56 [Num]Decimal 254 86 [Num]ASCII 254 “V” [Num]ParametersParameter Length DescriptionNum 1 GPO

Pagina 31 - 6.4 Loading Custom Characters

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 startupwh

Pagina 32 - 6.7 Place Medium Numbers

Description This command will allow you to begin communicating with the deviceson the 1-wire bus by returning a packet containing device informationfo

Pagina 33 - 6.9 Place Large Number

Description This command will perform a single transaction on the 1-wire bus inthis order:1. Bus Reset.2. Transmit data onto the bus.3. Receive data f

Pagina 34

9.9 Assign Keypad Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3910 Display Functions 4010.1 Introduction . . . .

Pagina 35 - 7 General Purpose Output

connector. The keypad is scanned whenever a key is pressed;there is no continuous key scan. This meansthat key presses are dealt with immediately with

Pagina 36 - 7.4 Set Startup GPO state

Description In this mode, up to 10 key presses are buffered until the unit is polled bythe host system, via the poll keypad command 254 38. Issuing th

Pagina 37 - 8 Dallas 1-Wire

Remembered No9.6 Set Debounce TimeSyntaxHexadecimal 0xFE 0x55 [time]Decimal 254 85 [time]ASCII 254 “U” [time]ParametersParameter Length Descriptiontim

Pagina 38 - 8.3 Dallas 1-Wire Transaction

Description Two auto repeat modes are available and are set via the same command:• Resend Key Mode: 0x00• Key Up/Down Mode: 0x01Resend Key Mode This m

Pagina 39 - 9 Keypad

ParametersParameter Length DescriptionKDown 25 Key down codesKUp 25 Key up codesDescription This command will allow you to reassign the key codes that

Pagina 40 - 9.1.2 RS232 Interface

10.3 Display OffSyntaxHexadecimal 0xFE 0x46Decimal 254 70ASCII 254 “F”Description This command turns the backlight off immediately. The backlight will

Pagina 41 - 9.5 Clear Key Buffer

Description This command sets the display’s contrast to [contrast], where [contrast]is a value between 0x00 and 0xFF (between 0 to 255). Lower valuesc

Pagina 42 - 9.7 Set Auto Repeat Mode

11 Data Security11.1 IntroductionEnsuring that your LK204-25 display’s exactly what you want it to can be the difference between aprojects success and

Pagina 43 - 9.9 Assign Keypad Codes

11.3 Data LockSyntaxHexadecimal 0xFE 0xCA 0xF5 0xA0 [level]Decimal 254 202 245 160 [level]ParametersParameter Length Descriptionlevel 1 Sets the data

Pagina 44 - 10 Display Functions

11.4 Set and Save Data LockSyntaxHexadecimal 0xFE 0xCB 0xF5 0xA0 [level]Decimal 254 203 245 160 [level]ParametersParameter Length Descriptionlevel 1 S

Pagina 45 - 10.6 Set Contrast

1 Getting StartedThe LK204-25 is an intelligent LCD display designed to decrease development time by providing aninstant solution to any project. With

Pagina 46 - 10.7 Set and Save Contrast

12.2 Read Version NumberSyntaxHexadecimal 0xFE 0x36Decimal 254 54ASCII 254 “6”Description This command will return a byte representing the version of

Pagina 47 - 11 Data Security

Description This command will return a hex value corresponding to the the modelnumber of the module see the following table:Hex Product ID Hex Product

Pagina 48 - 11.3 Data Lock

13 Command Summary13.1 CommunicationsDescriptionSyntaxPageChanging the I2C SlaveAddressHexadecimal 0xFE 0x33 [adr]Decimal 254 51 [adr]ASCII 254 “3” [a

Pagina 49 - 12 Miscellaneous

DescriptionSyntaxPageMove Cursor BackHexadecimal 0xFE 0x4CDecimal 254 76ASCII 254 “L”23Move Cursor ForwardHexadecimal 0xFE 0x4DDecimal 254 77ASCII 254

Pagina 50 - 12.3 Read Module Type

DescriptionSyntaxPageInitialize Horizontal BarHexadecimal 0xFE 0x68Decimal 254 104ASCII 254 “h”29Place Horizontal BarGraphHexadecimal 0xFE 0x7C [Col]

Pagina 51

DescriptionSyntaxPageAuto Transmit KeyPresses OnHexadecimal 0xFE 0x41Decimal 254 65ASCII 254 “A”36Auto Transmit KeyPresses OffHexadecimal 0xFE 0x4FDec

Pagina 52 - 13 Command Summary

13.8 Data SecurityDescriptionSyntaxPageSet RememberHexadecimal 0xFE 0x93 [switch]Decimal 254 147 [switch]43Data LockHexadecimal 0xFE 0xCA 0xF5 0xA0 [l

Pagina 53 - 13.3 Special Characters

Command DescriptionPageHex Dec ASCII0x43 67 “C” Set Auto Line Wrap On 220x44 68 “D” Set Auto Line Wrap Off 220x45 69 “E” Clear Key Buffer 370x46 70 “F

Pagina 54 - 13.6 Keypad

14 Appendix14.1 Specifications14.1.1 EnvironmentalTable 69: Environmental SpecificationsStandard Temperature Extended TemperatureOperating Temperature 0

Pagina 55 - 13.7 Display Functions

NOTE To prolong life, it is recommended that the backlight be turned off when thedisplay is not in use.Matrix Orbital LK204-25 55

Pagina 56 - 13.10 Command By Number

Figure 1: LK204-25 Options1.2 AccessoriesNOTE Matrix Orbital provides all the interface accessories needed to get your displayup and running. You will

Pagina 57

14.3 Physical LayoutFigure 23: Physical DiagramMatrix Orbital LK204-25 56

Pagina 58 - 14 Appendix

14.4 Ordering InformationL K 20 4 -25 -GW -VPT -E1 2 3 4 5 6 7 8Table 72: Part Numbering Scheme# DescriptionOptions1 Screen TypeL: Liquid Crystal Disp

Pagina 59 - Matrix Orbital LK204-25 55

MSB Most Significant ByteLSB Least Significant Byte14.6 Contacting Matrix OrbitalTelephoneSales: 1(403)229-2737Support: 1(403)204-3750On The WebSales: h

Pagina 60 - 14.3 Physical Layout

Figure 4: Breadboard CableFigure 5: Serial Cable 4FTFigure 6: Communication and 5V Power CableFigure 7: Aluminum MountingsMatrix Orbital LK204-25 3

Pagina 61 - 14.5 Definitions

Figure 8: Keypad MountingsFigure 9: Mounting KitsFigure 10: 4X4 KeypadMatrix Orbital LK204-25 4

Pagina 62 - 14.7 Revision History

1.3 Features• 20 column by 4 line alphanumeric liquid crystal display• Selectable communication protocol, serial at RS-232 or TTL levels or I2C• Six,

Comentarios a estos manuales

Sin comentarios