GLK12232-25-SMTechnical ManualRevision: 2.1
3. Locate the file MogdSharp.zip on your desktop4. Unzip MogdSharp.zip to a temporary directory using a program such as Winzip, Pkzip, etc.5. Double cl
2 Hardware InformationRefer to the following diagram for this chapter:Figure 10: GLK12232-25-SMTable 1: Hardware information1 Power/Data Connector 5 P
Power/Connector Regular GLK12232-25-SM input -V option inputVcc +5V only 9-15V+5V +5V only N/C+12V N/C +12VNOTE +12V is nominal for the -V but supply
WARNINGS• Do not apply and power with reversed polarization• Do not apply any voltage other than the specified voltage• Do not use any cables other tha
2.3 Keypad Interface ConnectorThe GLK12232-25-SM provides a Keypad Interface Connector which allows for up to a five by fivematrix style keypad to be di
relatively high current (such as a relay) and has an internal resistance of its own greater than 250 ohms, thenthe 240 ohm resistor may be removed and
Figure 15: Manual Override JumperTable 2: Default ValuesContrast 128Backlight 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock 0x00RS232AutoTrans
Figure 16: Filesystem Lock Jumper3 Troubleshooting3.1 The display does not turn on when power is applied.• First, you will want to make sure that you
• If you are communicating to the display via I2C please ensure that the data is being sent to the correctaddress. The default slave address for the d
4.1.1 I2C Communication SummaryThe GLK12232-25-SM is capable of communicating at 100 KHz in I2C mode, with 127 units address-able on a single I2C comm
ContentsContents ii1 Getting Started 11.1 Display Options Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Accesso
is high. Next, the display must be addressed using a one byte hexadecimal value, the default to write to theunit is 0x50, while read is 0x51. Then inf
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• L
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 0x68 0x6A 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-SM you must know thefont identification number of the font that you wish to use. The font IDis
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-SM is capable of storing 128 font and bitmap filesup to 16 Kbytes total. In order to upload a bitmap to theGLK12232-25-SM y
ParametersParameter Length DescriptionX 1 Left bounds.Y 1 Top bounds.W 1 WidthH 1 HeightD (width*height)/8DataDescription Drawing a bitmap to the GLK1
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-SMemploys software controlled display settings, which allow for control over, clear-ing the scree
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
12 Filesystem12.1 IntroductionThe GLK12232-25-SM incorporates a 16 Kbyte on board flash memory in order to allow up to 128 fontand bitmap files to be tr
Host Display Comments0xFE Command Prefix0x24 Upload Font File Command0x01 Reference ID0x19 Size (LSB)0x00 Size (MSB)0x01 Confirmation Byte0x01 Confimatio
15.11Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5915.12Command By Number . . . . . . . . . . .
NOTES• The GLK12232-25-SM has watch dog timer, set to 2.1 seconds in between transmis-sions, in order prevent the display module from staying in a wai
Host Display Comments0xFE Command Prefix0xDB XModem Upload Command0x85 Command byte 10x06 Command byte 20x30 Command byte 30x00 Size Low Byte0x40 Size
SyntaxHexadecimal 0xFE 0x21 0x59 0x21Decimal 254 33 89 33ASCII 254 “!” “Y” “!”Description This command completely erases the display’s non-volatile me
12.5 Get Filesystem DirectorySyntaxHexadecimal 0xFE 0xB3Decimal 254 179Description This command will return a directory of the contents of the file sys
SyntaxHexadecimal 0xFE 0xB2 [Type] [refID]Decimal 254 178 [Type] [refID]ParametersParameter Length DescriptionType 1 File type (0:Font File, 1:Bitmap)
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 Nu
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
1 Getting StartedFigure 1: GLK12232-25-SMThe GLK12232-25-SM is an intelligent graphic LCD display designed to decrease development time byproviding an
15 Command Summary15.1 CommunicationsDescriptionSyntaxPageTurn Flow Control OnHexadecimal 0xFE 0x3A [full] [empty]Decimal 254 58 [full] [empty]ASCII 2
DescriptionSyntaxPageSetting the CursorPositionHexadecimal 0xFE 0x47 [col] [row]Decimal 254 71 [col] [row]ASCII 254 “G” [col] [row]25Setting the Curso
DescriptionSyntaxPageDraw a RectangleHexadecimal 0xFE 0x72 [color] [x1] [y1] [x2] [y2]Decimal 254 114 [color] [x1] [y1] [x2] [y2]ASCII 254 “r” [color]
DescriptionSyntaxPageClear Key BufferHexadecimal 0xFE 0x45Decimal 254 69ASCII 254 “E”37Set Debounce TimeHexadecimal 0xFE 0x55 [time]Decimal 254 85 [ti
DescriptionSyntaxPageDeleting a FileHexadecimal 0xFE 0xAD [type] [refID]Decimal 254 173 [type] [refID]47Get Filesystem SpaceHexadecimal 0xFE 0xAFDecim
15.12 Command By NumberCommand DescriptionPageHex Dec ASCII0x21 33 “!” Wipe Filesystem 450x24 36 “$” Uploading a Font File 220x26 38 “&” Poll Key
Command DescriptionPageHex Dec ASCII0x78 120 “x” Drawing a Solid Rectangle 300x79 121 “y” Setting the Cursor Coordinate 250x7E 126 “~” Set Auto Repeat
16.1.2 ElectricalTable 82: Electrical SpecificationsStandard Wide Voltage (V)Supply Voltage +5Vdc ±0.25V +9V to +15VMinimum Current 30mA typicalBacklig
Figure 19: Physical DiagramMatrix Orbital GLK12232-25-SM 63
16.4 Ordering Information()G L K 122 32 -25 -SM -WB -V -E1 2 3 4 5 6 7 8 9 10Table 84: Part Numbering Scheme# Description Options1 Screen Type G: Grap
Figure 2: GLK12232-25-SM Options1.2 AccessoriesNOTE Matrix Orbital provides all the interface accessories needed to get your displayup and running. Yo
Sales: 1(403)229-2737Support: 1(403)204-3750On The WebSales: http://www.MatrixOrbital.comSupport: http://www.MatrixOrbital.caForums: http://www.lcdfor
Figure 7: Communication and 5V Power CableFigure 8: 4x4 Keypad1.3 Features• 122 x 32 pixel graphics display• Selectable communication protocol, Serial
• Extended temperature available for extreme environments of -20C to 70C• Extended voltage and efficient power supply available• Support for up to a tw
Comentários a estes Manuais