GLK12232-25Technical ManualRevision: 3.0
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
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
Table 1: Hardware Information1 Power / Data Connector 4 Protocol Select Jumpers2 Keypad connector 5 Filesystem Lock Jumper3 GPO 6 Manual Override2.1 P
WARNINGS• Do not apply any power with reversed polarization.• Do not apply any voltage other than the specified voltage2.2 Keypad Interface ConnectorTh
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
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
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
Figure 17: Manual Override JumperTable 3: Default ValuesContrast 128Backlight 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock FalseRS232AutoTran
• 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
• 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
ContentsContents ii1 Getting Started 11.1 Display Options Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Accesso
* 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
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
SyntaxHexadecimal 0xFE 0x33 [adr]Decimal 254 51 [adr]ASCII 254 “3” [adr]ParametersParameter Length Descriptionadr 1 The new I2C write address (0x00 -0
Description This command sets the RS-232 port to the specified [speed]. The changetakes place immediately. [speed] is a single byte specifying the desi
ExamplesCrystal Speed 16 MhzDesired BAUD 13,500speed =crystalspeed8∗ DesiredBaud− 1speed = 148.15− 1speed =16, 000, 0008∗ 13, 500− 1speed = 147.15• LS
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)
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
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
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
SyntaxHexadecimal 0xFE 0xAC [value]Decimal 254 172 [value]ParametersParameter Length Descriptionvalue 1 Value (0: Off, 1: On)Description This command
6 Text 246.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246.1.1 Character Set . . . . . . . .
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
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
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
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
Description This command sets the drawing color for subsequent graphic commandsthat do not have the drawing color passed as a parameter. The parameter
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
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
SyntaxHexadecimal 0xFE 0x69 [ref] [value]Decimal 254 105 [ref] [value]ASCII 254 “i” [ref] [value]ParametersParameter Length Descriptionref 1 Initializ
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
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
11 Display Functions 4011.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4011.2 Clear Screen . .
SyntaxHexadecimal 0xFE 0x57 [Num]Decimal 254 87 [Num]ASCII 254 “W” [Num]ParametersParameter Length DescriptionNum 1 GPO number.Description This comman
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.
10.4 Poll Key PressSyntaxHexadecimal 0xFE 0x26Decimal 254 38ASCII 254 “&”Description This command returns any buffered key presses via the serial
ParametersParameter Length Descriptiontime 1 Debounce time in increments of6.554ms (0 - 255).Description This command sets the time between key press
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
11 Display Functions11.1 IntroductionThe GLK12232-25 employs software controlled display settings, which allow for control over, clearingthe screen, c
Description This command turns the backlight off immediately. The backlight willremain off until a ’Display On’ command has been received.Remembered Y
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
font and bitmap files combined up to 16 Kbytes. This section covers uploading, downloading, deleting andmoving files, as well as getting the remaining s
Matrix Orbital GLK12232-25 44
15.12Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5716 Appendix 5916.1 Specifications . . . . . . . . .
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
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
12.7 Downloading a FileSyntaxHexadecimal 0xFE 0xB2 [Type] [refID]Decimal 254 178 [Type] [refID]ParametersParameter Length DescriptionType 1 File type
13.2 Set RememberSyntaxHexadecimal 0xFE 0x93 [switch]Decimal 254 147 [switch]ParametersParameter Length Descriptionswitch 1 0: Do not remember, 1: Rem
DescriptionParanoia allows you to lock the module from displaying information, aswell as enables the protection of the filesystem and module settings.E
13.4 Set and Save Data LockSyntaxHexadecimal 0xFE 0xCB 0xF5 0xA0 [level]Decimal 254 203 245 160 [level]ParametersParameter Length Descriptionlevel 1 S
Description Reads whatever was written by Write Customer Data.Remembered No14 Miscellaneous14.1 IntroductionThis chapter covers the’Report Version Num
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
DescriptionSyntaxPageTurn Flow Control OffHexadecimal 0xFE 0x3BDecimal 254 59ASCII 254 “;”16Changing the I2C SlaveAddressHexadecimal 0xFE 0x33 [adr]De
DescriptionSyntaxPageAuto Scroll OffHexadecimal 0xFE 0x52Decimal 254 82ASCII 254 “R”2615.4 BitmapsDescriptionSyntaxPageUploading a Bitmap FileHexadeci
1 Getting StartedFigure 1: GLK12232-25The GLK12232-25 is an intelligent graphic LCD display designed to decrease development time byproviding an insta
DescriptionSyntaxPageDrawing a Bar GraphHexadecimal 0xFE 0x69 [ref] [value]Decimal 254 105 [ref] [value]ASCII 254 “i” [ref] [value]31Initializing a St
DescriptionSyntaxPageAuto Repeat Mode OffHexadecimal 0xFE 0x60Decimal 254 96ASCII 254 “‘”39Assign Keypad CodesHexadecimal 0xFE 0xD5 [KDown] [KUp]Decim
DescriptionSyntaxPageDownloading a FileHexadecimal 0xFE 0xB2 [Type] [refID]Decimal 254 178 [Type] [refID]47Moving a FileHexadecimal 0xFE 0xB4 [oldT] [
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
Command DescriptionPageHex Dec ASCII0x99 153 Set Brightness 410xA4 164 Setting a Non-Standard Baud Rate 180xAC 172 Set Box Space Mode 230xAD 173 Delet
16.2 Optical CharacteristicsTable 81: Optical CharacteristicsPixel Layout 122 x 32 pixels XxYNumber of Characters 80 (maximum 20 characters x 4Lines w
GW Grey Text / White BackgroundWB White Text / Blue BackgroundMSB Most Significant ByteLSB Least Significant Byte16.5 Contacting Matrix OrbitalTelephone
1.2 AccessoriesNOTE Matrix Orbital provides all the interface accessories needed to get your displayup and running. You will find these accessories and
Figure 7: Communication and Power CableFigure 8: 4X4 KeypadMatrix Orbital GLK12232-25 3
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
Commenti su questo manuale