Matrix-orbital LCD2041 Manuale Utente

Navigare online o scaricare Manuale Utente per Hardware Matrix-orbital LCD2041. Matrix Orbital LCD2041 User Manual [it] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 0
LCD2041
Technical Manual
Revision: 2.1
Vedere la pagina 0
1 2 3 4 5 6 ... 54 55

Sommario

Pagina 1 - Revision: 2.1

LCD2041Technical ManualRevision: 2.1

Pagina 2 - Contents

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

Pagina 3

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

Pagina 4

Pin 2 Tx \ SDA (I2C data)Pin3 Rx \ SCL (I2C clock)Pin 5 GNDPin9 PWR (Must solder Power Through DB-9 Jumper. See table 1 on page 10 forpower requiremen

Pagina 5 - 1 Getting Started

Matrix Orbital LCD2041 9

Pagina 6 - 1.2 Accessories

WARNING Do not apply voltage through pin 9 of the DB-9 connectorAND through the Power/Data Connector at the same time.2.2 Power/Data ConnectorThe Powe

Pagina 7 - 1.3 Features

2.2.1 Legacy Data Connector JumpersTo reverse pins two and three of the Power/Data Connector remove the zero ohm resistors from theLegacy Data Connect

Pagina 8 - Matrix Orbital LCD2041 4

Matrix Orbital LCD2041 12

Pagina 9 - 1.4 Connecting to a PC

2.4 General Purpose OutputsA unique feature of the LCD2041 is the ability to control relays and other external devices using aGeneral Purpose Output,

Pagina 11 - 2 Hardware Information

Table 2: Default ValuesContrast 128Backlight 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock FalseRS232AutoTransmitData TrueNOTE The display mod

Pagina 12

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

Pagina 13 - Matrix Orbital LCD2041 9

3.3 The display module is communicating, however text cannotbe displayed.• A common cause may be that the contrast settings have been set to low. The

Pagina 14 - 2.2 Power/Data Connector

that the transmission is over.The LCD2041 has some speed limitations, especially when run in I2C mode. Here are some considera-tions when writing I2C

Pagina 15 - 2.3 Protocol Select Jumpers

4.2 Changing the I2C Slave AddressSyntaxHexadecimal 0xFE 0x33 [adr]Decimal 254 51 [adr]ASCII 254 “3” [adr]ParametersParameter Length Descriptionadr 1

Pagina 16 - Matrix Orbital LCD2041 12

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

Pagina 18 - Matrix Orbital LCD2041 14

5.1.1 Character SetFigure 20: Character Set5.1.2 Control CharactersIn addition to a full text set, the LCD2041 display supports the following ASCII Co

Pagina 19 - 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 20 - 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 21 - 4.1.3 Serial Communication

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

Pagina 22 - 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 23 - 8×DesiredBaud

5.9 Go Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.10 Move Cursor Back . . . . . . . . . . . . .

Pagina 24

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

Pagina 25 - 5.2 Auto Scroll On

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

Pagina 26 - 5.4 Clear Screen

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

Pagina 27 - 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 28 - 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 29 - 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 30 - 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 31 - 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 32 - 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 33 - 6.7 Place Medium Numbers

Description This command turns the backlight off immediately. The backlight willremain off until a ’Display On’ command has been received.Remembered Y

Pagina 34 - 6.9 Place Large Number

10 Miscellaneous 3910.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3910.2 Read Version Number

Pagina 35

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 36 - 7 General Purpose Output

9 Data Security9.1 IntroductionEnsuring that your LCD2041 display’s exactly what you want it to can be the difference between aprojects success and fa

Pagina 37 - 7.4 Set Startup GPO state

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

Pagina 38 - 8 Display Functions

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

Pagina 39 - 8.6 Set Contrast

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

Pagina 40 - 8.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

Pagina 41 - 9 Data Security

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

Pagina 42 - 9.3 Data Lock

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

Pagina 43 - 10 Miscellaneous

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

Pagina 44 - 10.3 Read Module Type

DescriptionSyntaxPageSet ContrastHexadecimal 0xFE 0x50 [contrast]Decimal 254 80 [contrast]ASCII 254 “P” [contrast]35Set and Save ContrastHexadecimal 0

Pagina 45

1 Getting StartedFigure 1: LCD2041-WBThe LCD2041 is an intelligent LCD display designed to decrease development time by providing aninstant solution t

Pagina 46 - 11 Command Summary

Command DescriptionPageHex Dec ASCII0x37 55 “7” Read Module Type 400x39 57 “9” Changing the Baud Rate 180x3D 61 “=” Place Vertical Bar 320x40 64 “@” C

Pagina 47 - 11.3 Special Characters

12 Appendix12.1 Specifications12.1.1 EnvironmentalTable 58: Environmental SpecificationsStandard Temperature Extended TemperatureOperating Temperature 0

Pagina 48 - 11.5 Display Functions

NOTE To prolong life, it is recommended that the backlight be turned off when thedisplay is not in use.Matrix Orbital LCD2041 48

Pagina 49 - 11.8 Command By Number

12.3 Physical LayoutFigure 21: Physical DiagramMatrix Orbital LCD2041 49

Pagina 50

12.4 Ordering InformationLCD 20 4 1 -IY -VPT -E1 2 3 4 5 6 7Table 61: Part Numbering Scheme# DescriptionOptions1 Screen TypeLCD: Liquid Crystal Displa

Pagina 51 - 12 Appendix

12.6 Contacting Matrix OrbitalTelephoneSales: 1(403)229-2737Support: 1(403)204-3750On The WebSales: http://www.MatrixOrbital.comSupport: http://www.Ma

Pagina 52 - Matrix Orbital LCD2041 48

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

Pagina 53 - 12.3 Physical Layout

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

Pagina 54 - 12.5 Definitions

Figure 8: Aluminum MountingsFigure 9: Mounting KitsMatrix Orbital LCD2041 4

Pagina 55 - 12.7 Revision History

• Extended temperature available for extreme environments of -20C to 70C• Extended voltage and efficient power supply available• Built in font with pro

Commenti su questo manuale

Nessun commento