Matrix-orbital GLK12232-25-FGW Uživatelský manuál

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

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

Shrnutí obsahu

Strany 1 - Revision: 3.0

GLK12232-25Technical ManualRevision: 3.0

Strany 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. A

Strany 3

Port The serial port the display is plugged in to.Speed The communication speed the displaymodule is set to. (Default 19,200)Display Type The type of

Strany 4

Table 1: Hardware Information1 Power / Data Connector 4 Protocol Select Jumpers2 Keypad connector 5 Filesystem Lock Jumper3 GPO 6 Manual Override2.1 P

Strany 5

WARNINGS• Do not apply any power with reversed polarization.• Do not apply any voltage other than the specified voltage2.2 Keypad Interface ConnectorTh

Strany 6 - 1 Getting Started

2.3 GPOA unique feature of the GLK12232-25 is the ability to control relays and other external devices using aGeneral Purpose Output (3), which can pr

Strany 7 - 1.2 Accessories

Figure 15: Protocol Select Jumpers2.5 Filesystem Lock JumperThe Filesystem Lock Jumper allows you to lock the filesystem on the GLK12232-25 so that no

Strany 8 - Matrix Orbital GLK12232-25 3

Figure 16: Filesystem Lock Jumper2.6 Manual OverrideThe Manual Override is provided to allow the GLK12232-25 to be reset to some of its factory defaul

Strany 9 - 1.4 Connecting to a PC

Figure 17: Manual Override JumperTable 3: Default ValuesContrast 128Backlight 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock FalseRS232AutoTran

Strany 10 - 1.5 Installing the Software

• The next step is to check the power cable which you are using for continuity. If you don’t have anohm meter, try using a different power cable, if t

Strany 11 - 2 Hardware Information

• Third, please ensure that the display module’s memory is not full. The GLK12232-25 has 16 Kb ofmemory for fonts and bitmaps.NOTE If you are unable t

Strany 12 - 2.1 Power/Data Connector

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

Strany 13

* to be able to read the replies of query commands (eg. cmds 54, 55) the following command must besent (only needs to be sent once, so this can be don

Strany 14 - 2.4 Protocol Select Jumpers

Description This command enables flow control. When the buffer fills so that only[full] bytes are available, the display will return an “almost full”mes

Strany 15 - 2.5 Filesystem Lock Jumper

SyntaxHexadecimal 0xFE 0x33 [adr]Decimal 254 51 [adr]ASCII 254 “3” [adr]ParametersParameter Length Descriptionadr 1 The new I2C write address (0x00 -0

Strany 16 - 2.6 Manual Override

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

Strany 17 - 3 Troubleshooting

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

Strany 18

5.1.1 Font File FormatA font file consists of three parts, a header, a character table and bitmap data.1. Header (4 bytes)(a) Nominal Width (1 byte)(b)

Strany 19 - 4 Communications

Bitmap Data Byte Hex Value1 0 0 0 01 0 0 0 0 10000100 0x841 0 1 1 0 00101101 0x2D1 1 0 0 1 10011000 0x981 0 0 0 1 11000110 0xC61 0 0 0 1 00100000 0x20

Strany 20 - 4.2 Turn Flow Control On

Table 11: Sample Font File0x05 0x07 0x49 0x4B 0x00 0x0D 0x05 0x000x12 0x03 0x00 0x15 0x04 0x84 0x2D 0x980xC6 0x20 0x43 0x24 0x84 0x2D 0x98 0x190x60Red

Strany 21 - C Slave Address

Description In order to set the font on the GLK12232-25 you must know the fontidentification number of the font that you wish to use. The font ID isest

Strany 22 - 4.5 Changing the Baud Rate

SyntaxHexadecimal 0xFE 0xAC [value]Decimal 254 172 [value]ParametersParameter Length Descriptionvalue 1 Value (0: Off, 1: On)Description This command

Strany 23 - 8×DesiredBaud

6 Text 246.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246.1.1 Character Set . . . . . . . .

Strany 24

Description This command moves the text insertion point to the top left of thedisplay area (Row 1, Column 1).Remembered No6.3 Setting the Cursor Posit

Strany 25 - 5.1.2 Creating a Font

Description When auto scrolling is on, it causes the display to shift the entiredisplay’s contents up to make room for a new line of text when the tex

Strany 26

Description The GLK12232-25 is capable of storing font and bitmap files up to 16Kbytes. In order to upload a bitmap to the GLK12232-25 you must firstini

Strany 27 - 5.3 Setting the Current Font

ParametersParameter Length DescriptionX 1 Left bounds.Y 1 Top bounds.W 1 WidthH 1 HeightD 1 DataDescription Drawing a bitmap to the GLK12232-25, witho

Strany 28 - 5.5 Set Box Space Mode

Description This command sets the drawing color for subsequent graphic commandsthat do not have the drawing color passed as a parameter. The parameter

Strany 29 - 6.2 Move Cursor Home

SyntaxHexadecimal 0xFE 0x65 [x] [y]Decimal 254 101 [x] [y]ASCII 254 “e” [x] [y]ParametersParameter Length Descriptionx 1 Left bounds.y 1 Top Bounds.De

Strany 30 - 6.5 Auto Scroll On

Description This command draws a solid rectangle in the specified color (0: White,1: Black). The top left corner is specified by (x1,y1) and the bottomr

Strany 31 - 7 Bitmaps

SyntaxHexadecimal 0xFE 0x69 [ref] [value]Decimal 254 105 [ref] [value]ASCII 254 “i” [ref] [value]ParametersParameter Length Descriptionref 1 Initializ

Strany 32 - 7.4 Drawing a Bitmap Directly

Description A strip chart is an area of the screen reserved for horizontal scrolling.This is normally used as follows:• Initialize the strip chart, wh

Strany 33 - 8 Bar Graphs and Drawing

Description This command shifts the strip chart left or right. [ref] determines bothwhich strip chart is used and which direction it will shift. The d

Strany 34 - 8.5 Continue a Line

11 Display Functions 4011.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4011.2 Clear Screen . .

Strany 35 - 8.7 Drawing a Solid Rectangle

SyntaxHexadecimal 0xFE 0x57 [Num]Decimal 254 87 [Num]ASCII 254 “W” [Num]ParametersParameter Length DescriptionNum 1 GPO number.Description This comman

Strany 36 - 8.9 Drawing a Bar Graph

10.1.1 I2C InterfaceThe keypad is read by I2C master read. In short, this means that a read of the module will always returnthe first unread key press.

Strany 37

10.4 Poll Key PressSyntaxHexadecimal 0xFE 0x26Decimal 254 38ASCII 254 “&”Description This command returns any buffered key presses via the serial

Strany 38 - 8.11 Shifting a Strip Chart

ParametersParameter Length Descriptiontime 1 Debounce time in increments of6.554ms (0 - 255).Description This command sets the time between key press

Strany 39 - 9 General Purpose Output

Examples When the key code associated with key ’P’ (0x50) is pressed, the releasecode is ’p’ (0x70). In RS-232 polled mode or via the I2C, the “KeyDow

Strany 40 - 10 Keypad

11 Display Functions11.1 IntroductionThe GLK12232-25 employs software controlled display settings, which allow for control over, clearingthe screen, c

Strany 41 - 10.1.2 RS232 Interface

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

Strany 42 - 10.6 Set Debounce Time

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 43 - 10.7 Set Auto Repeat Mode

font and bitmap files combined up to 16 Kbytes. This section covers uploading, downloading, deleting andmoving files, as well as getting the remaining s

Strany 44 - 10.9 Assign Keypad Codes

Matrix Orbital GLK12232-25 44

Strany 45 - 11 Display Functions

15.12Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5716 Appendix 5916.1 Specifications . . . . . . . . .

Strany 46 - 11.7 Set Contrast

At times that the display or the host sees anything else other than 0x01 for confirmation (usually a 0x08) theupload is aborted.NOTES• The GLK12232-25h

Strany 47 - 12 Filesystem

SyntaxHexadecimal 0xFE 0xAFDecimal 254 175Description This command will return 4 bytes, LSB to MSB for how many bytes areremaining in the 16 KB on boa

Strany 48 - 12.1.1 File Upload Protocol

12.7 Downloading a FileSyntaxHexadecimal 0xFE 0xB2 [Type] [refID]Decimal 254 178 [Type] [refID]ParametersParameter Length DescriptionType 1 File type

Strany 49 - Matrix Orbital GLK12232-25 44

13.2 Set RememberSyntaxHexadecimal 0xFE 0x93 [switch]Decimal 254 147 [switch]ParametersParameter Length Descriptionswitch 1 0: Do not remember, 1: Rem

Strany 50 - 12.4 Get Filesystem Space

DescriptionParanoia allows you to lock the module from displaying information, aswell as enables the protection of the filesystem and module settings.E

Strany 51 - 12.6 Filesystem Upload

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

Strany 52 - 13 Data Security

Description Reads whatever was written by Write Customer Data.Remembered No14 Miscellaneous14.1 IntroductionThis chapter covers the’Report Version Num

Strany 53 - 13.3 Data Lock

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 54

DescriptionSyntaxPageTurn Flow Control OffHexadecimal 0xFE 0x3BDecimal 254 59ASCII 254 “;”16Changing the I2C SlaveAddressHexadecimal 0xFE 0x33 [adr]De

Strany 55 - 13.7 Reads the Customer Data

DescriptionSyntaxPageAuto Scroll OffHexadecimal 0xFE 0x52Decimal 254 82ASCII 254 “R”2615.4 BitmapsDescriptionSyntaxPageUploading a Bitmap FileHexadeci

Strany 56 - 14 Miscellaneous

1 Getting StartedFigure 1: GLK12232-25The GLK12232-25 is an intelligent graphic LCD display designed to decrease development time byproviding an insta

Strany 57 - 15 Command Summary

DescriptionSyntaxPageDrawing a Bar GraphHexadecimal 0xFE 0x69 [ref] [value]Decimal 254 105 [ref] [value]ASCII 254 “i” [ref] [value]31Initializing a St

Strany 58 - 15.3 Text

DescriptionSyntaxPageAuto Repeat Mode OffHexadecimal 0xFE 0x60Decimal 254 96ASCII 254 “‘”39Assign Keypad CodesHexadecimal 0xFE 0xD5 [KDown] [KUp]Decim

Strany 59 - 15.5 Bar Graphs and Drawing

DescriptionSyntaxPageDownloading a FileHexadecimal 0xFE 0xB2 [Type] [refID]Decimal 254 178 [Type] [refID]47Moving a FileHexadecimal 0xFE 0xB4 [oldT] [

Strany 60 - 15.7 Keypad

Command DescriptionPageHex Dec ASCII0x30 48 “0” Dump the Filesystem 500x31 49 “1” Setting the Current Font 220x32 50 “2” Font Metrics 230x33 51 “3” Ch

Strany 61 - 15.9 Filesystem

Command DescriptionPageHex Dec ASCII0x99 153 Set Brightness 410xA4 164 Setting a Non-Standard Baud Rate 180xAC 172 Set Box Space Mode 230xAD 173 Delet

Strany 62 - 15.12 Command By Number

16.2 Optical CharacteristicsTable 81: Optical CharacteristicsPixel Layout 122 x 32 pixels XxYNumber of Characters 80 (maximum 20 characters x 4Lines w

Strany 63

GW Grey Text / White BackgroundWB White Text / Blue BackgroundMSB Most Significant ByteLSB Least Significant Byte16.5 Contacting Matrix OrbitalTelephone

Strany 64 - 16 Appendix

1.2 AccessoriesNOTE Matrix Orbital provides all the interface accessories needed to get your displayup and running. You will find these accessories and

Strany 65 - 16.4 Definitions

Figure 7: Communication and Power CableFigure 8: 4X4 KeypadMatrix Orbital GLK12232-25 3

Strany 66

1.3 Features• 122 x 32 pixel graphics display• Selectable communication protocol, RS-232 or I2C• Two, 5V - 20mA, general purpose outputs for a variety

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

Žádné komentáře