Matrix-orbital LK402-25 Legacy Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Hardware Matrix-orbital LK402-25 Legacy. Matrix Orbital LK402-25 Legacy User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 56
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
LK402-25
Technical Manual
Revision: 1.1
Zobrazit stránku 0
1 2 3 4 5 6 ... 55 56

Shrnutí obsahu

Strany 1 - Revision: 1.1

LK402-25Technical ManualRevision: 1.1

Strany 2 - Contents

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

Strany 3

WARNINGS• Do not apply any power with reversed polarization.• Do not apply any voltage other than the specified voltage.2.3 Protocol Select JumpersThe

Strany 4

WARNING If connecting a relay, be sure that it is fully clamped usinga diode and capacitor in order to absorb any electro-motive force (EMF)which will

Strany 5 - 1 Getting Started

Table 1: Default ValuesContrast 128Brightness 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock FalseRS232AutoTransmitData TrueNOTE The display mo

Strany 6 - 1.3 Features

3 Troubleshooting3.1 The display does not turn on when power is applied.• First, you will want to make sure that you are using the correct power conne

Strany 7 - 1.4 Connecting to a PC

4 Communications4.1 IntroductionThe commands listed in this chapter describe how to configure data flow on the LK402-25.4.1.1 I2C Communication SummaryT

Strany 8 - 1.5 Installing the Software

NOTE These delays are consrevative, and may be decreased based on performance4.1.2 I2C Transaction ExampleThe typical I2C transaction contains four pa

Strany 9 - 2 Hardware Information

Description This command sets the I2C write address of the module between 0x00and 0xFF. The I2C write address must be an even number and the readaddre

Strany 10 - 2.2 Power/Data Connector

4.4 Setting a Non-Standard Baud RateSyntaxHexadecimal 0xFE 0xA4 [speed]Decimal 254 164 [speed]ParametersParameter Length Descriptionspeed 2 Inputed LS

Strany 11 - 2.4 General Purpose Outputs

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

Strany 12 - 2.6 Manual Override

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

Strany 13

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

Strany 14 - 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

Strany 15 - 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

Strany 16 - C Slave Address

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

Strany 17 - 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

Strany 18 - 8×DesiredBaud

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

Strany 19

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

Strany 20 - 5.2 Auto Scroll On

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

Strany 21 - 5.4 Clear Screen

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.

Strany 22 - 5.8 Set Cursor Position

6.8 Initialize Horizontal BarSyntaxHexadecimal 0xFE 0x68Decimal 254 104ASCII 254 “h”Description This command will load the default horizontal bar char

Strany 23 - 5.11 Move Cursor Forward

5.8 Set Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185.9 Go Home . . . . . . . . . . . . . . . . .

Strany 24 - 5.14 Blinking Block Cursor On

Description This command will load the narrow vertical bar characters into thevolatile memory. If you have stored your own custom vertical bar data,us

Strany 25 - 6 Special Characters

Description This command will place a bar graph at the specified [Column] with thespecified [Length]. The [Length] is the size in pixels of the bar grap

Strany 26 - 6.3 Saving Custom Characters

Description This command turns ON general purpose output [num]. The standardGPO’s on the LK402-25 output 20mA of current at 5V.NOTE ON means the outpu

Strany 27 - 6.4 Loading Custom Characters

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

Strany 28 - 6.7 Place Medium Numbers

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

Strany 29 - 6.8 Initialize Horizontal Bar

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

Strany 30 - 6.12 Place Vertical Bar

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

Strany 31 - 7 General Purpose Output

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

Strany 32 - 8 Dallas 1-Wire

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

Strany 33 - 8.3 Dallas 1-Wire Transaction

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

Strany 34 - 9 Keypad

10 Display Functions 3510.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3510.2 Display On . . .

Strany 35 - 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

Strany 36 - 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

Strany 37 - 9.7 Set Auto Repeat Mode

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

Strany 38 - 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

Strany 39 - 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

Strany 40 - 10.6 Set Contrast

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

Strany 41 - 10.7 Set and Save Contrast

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

Strany 42 - 11 Data Security

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

Strany 43 - 11.3 Data Lock

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

Strany 44 - 12 Miscellaneous

DescriptionSyntaxPageInitialize Narrow VerticalBarHexadecimal 0xFE 0x73Decimal 254 115ASCII 254 “s”25Initialize Wide VerticalBarHexadecimal 0xFE 0x76D

Strany 45 - 12.3 Read Module Type

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

Strany 46

DescriptionSyntaxPagePoll Key PressHexadecimal 0xFE 0x26Decimal 254 38ASCII 254 “&”32Clear Key BufferHexadecimal 0xFE 0x45Decimal 254 69ASCII 254

Strany 47 - 13 Command Summary

DescriptionSyntaxPageData LockHexadecimal 0xFE 0xCA 0xF5 0xA0 [level]Decimal 254 202 245 160 [level]39Set and Save Data LockHexadecimal 0xFE 0xCB 0xF5

Strany 48 - 13.3 Special Characters

Command DescriptionPageHex Dec ASCII0x4A 74 “J” Underline Cursor On 200x4B 75 “K” Underline Cursor Off 200x4C 76 “L” Move Cursor Back 190x4D 77 “M” Mo

Strany 49 - 13.6 Keypad

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

Strany 50 - 13.8 Data Security

14.3 Physical LayoutFigure 18: Physical DiagramMatrix Orbital LK402-25 50

Strany 51 - 13.10 Command By Number

14.4 Ordering InformationL K 40 2 -251 2 3 4 5Table 70: Part Numbering Scheme# DescriptionOptions1 Screen TypeL: Liquid Crystal Display2 Input TypeK:

Strany 52

Table 72: Revision HistoryRevision Description Author1.0 Initial Manual Matrix Orbital1.1 Updated Backlight Life ClarkMatrix Orbital LK402-25 52

Strany 53 - 14 Appendix

Figure 3: Breadboard CableFigure 4: Serial Cable 4FTFigure 5: Communication and 5V Power Cable1.3 Features• 40 column by 2 line alphanumeric liquid cr

Strany 54 - 14.3 Physical Layout

1.4 Connecting to a PCThe LK402-25 connects seamlessly to a PC and it is an excellent means of testing the functionality. Toconnect your display to a

Strany 55 - 14.7 Revision History

1.5 Installing the Software1.5.1 uProjectuProject was designed by Matrix Orbital to provide a simple and easy to use interface that will allow youto t

Strany 56 - Matrix Orbital LK402-25 52

2 Hardware InformationRefer to the following diagram for this chapter:1 DB-9 Connector 5 Power / Data Connector2 Power Through DB9 Jumper 6 Manual Ove

Komentáře k této Příručce

Žádné komentáře