GLK12232-25-SM Technical Manual Revision: 2.
Contents Contents 1 2 3 4 5 ii Getting Started 1.1 Display Options Available 1.2 Accessories . . . . . . . . 1.3 Features . . . . . . . . . . 1.4 Connecting to a PC . . . . 1.5 Installing the Software . . 1.5.1 MOGD# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 7 8 Text 6.1 Introduction . . . . . . . . . . 6.1.1 Character Set . . . . . 6.1.2 Control Characters . . 6.2 Move Cursor Home . . . . . . 6.3 Setting the Cursor Position . . 6.4 Setting the Cursor Coordinate 6.5 Auto Scroll On . . . . . . . . 6.6 Auto Scroll Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11 Display Functions 11.1 Introduction . . . . . . . 11.2 Clear Screen . . . . . . . 11.3 Display On . . . . . . . 11.4 Display Off . . . . . . . 11.5 Set Brightness . . . . . . 11.6 Set and Save Brightness . 11.7 Set Contrast . . . . . . . 11.8 Set and Save Contrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15.11Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.12Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Appendix 16.1 Specifications . . . . . . . 16.1.1 Environmental . . 16.1.2 Electrical . . . . . 16.2 Optical Characteristics . . 16.3 Physical Layout . . . . . . 16.4 Ordering Information() . . 16.5 Definitions . . . . . . . . . 16.6 Contacting Matrix Orbital . 16.7 Revision History . . . . .
1 Getting Started Figure 1: GLK12232-25-SM The GLK12232-25-SM is an intelligent graphic LCD display designed to decrease development time by providing an instant solution to any project. With the ability to communicate via serial RS-232/TTL and I2 C protocols, the versatile GLK12232-25-SM can be used with virtually any controller. The ease of use is further enhanced by an intuitive command structure to allow display settings such as backlight brightness, contrast and baud rate to be software controlled.
Figure 2: GLK12232-25-SM Options 1.2 Accessories NOTE Matrix Orbital provides all the interface accessories needed to get your display up and running. You will find these accessories and others on our e-commerce website at http://www.matrixorbital.com. To contact a sales associate see Section 16.6 for contact information.
Figure 7: Communication and 5V Power Cable Figure 8: 4x4 Keypad 1.
• Extended temperature available for extreme environments of -20C to 70C • Extended voltage and efficient power supply available • Support for up to a twenty five key matrix style keypad 1.4 Connecting to a PC The GLK12232-25-SM connects seamlessly to a PC and it is an excellent means of testing the functionality and uploading new fonts and bitmaps. You will require a Communication and 5V Power Cable such as the one shown in Figure 7.
3. 4. 5. 6. 7. Locate the file MogdSharp.zip on your desktop Unzip MogdSharp.zip to a temporary directory using a program such as Winzip, Pkzip, etc. Double click on "setup.exe" Follow the instructions on the screen to complete the installation MOGD# requires the .NET framework 2.0 and will download and install it automatically After the installation is complete there will be a Matrix Orbital entry under "Start->Programs->Matrix Orbital" in the start menu.
2 Hardware Information Refer to the following diagram for this chapter: Figure 10: GLK12232-25-SM Table 1: Hardware information 1 Power/Data Connector 5 Protocol Select Jumpers 2 Floppy Power Connector 6 Filesystem Lock Jumper 3 Keypad Interface Connector 7 Manual Override 4 GPO 2.
Power/Connector Vcc +5V +12V Regular GLK12232-25-SM input +5V only +5V only N/C -V option input 9-15V N/C +12V NOTE +12V is nominal for the -V but supply of 9-15V is acceptable Figure 11: Power and Data Configuration To power up and communicate with a GLK12232-25-SM (standard or wide voltage options), the users have two options for connections: • power and data connections using the Power/Data Connector of the GLK12232-25-SM (supply Vcc with the proper voltage) • power connections using the Floppy Powe
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 than the cables supplied by Matrix Orbital, unless aware of the modifications required • Do not under any circumstances use an unmodified floppy drive power cable in the wrong connector 2.
2.3 Keypad Interface Connector The GLK12232-25-SM provides a Keypad Interface Connector which allows for up to a five by five matrix style keypad to be directly connected to the display module. Key presses are generated, when a short is detected between a row and a column. When a key press is generated a character, which is associated with the particular key press, is automatically sent on the Tx communication line.
relatively high current (such as a relay) and has an internal resistance of its own greater than 250 ohms, then the 240 ohm resistor may be removed and replaced with a jumper. Pin 1 (from left) Pin 2 GPO 1 Pin 3 Pin 4 GPO 2 -GND +MAX: 20mA, +5Vdc -GND +MAX: 20mA, +5Vdc Figure 14: General Purpose Output WARNING Warning: If connecting a relay, be sure that it is fully clamped using a diode and capacitor in order to absorb any electromotive force (EMF) which will be generated. 2.
Figure 15: Manual Override Jumper Table 2: Default Values Contrast 128 Backlight 255 Baud Rate 19.2 kbps I2 C Slave Address 0x50 Data Lock 0x00 RS232AutoTransmitData True NOTE The display module will revert back to the old settings once turned off, unless the settings are saved. 2.6 Filesystem Lock Jumper The Filesystem Lock Jumper allows you to lock the filesystem on the GLK12232-25-SM so that no fonts or bitmaps can be either written or deleted from the on board memory.
Figure 16: Filesystem Lock Jumper 3 Troubleshooting 3.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 connector. Standard floppy drive power cables from your PC power supply may fit on the Power/Data Connector however they do not have the correct pinout as can be seen in Figure ??. Matrix Orbital supplies power cable adapters for connecting to a PC, which can be found in the Accessories Section on page 2.
• If you are communicating to the display via I2 C please ensure that the data is being sent to the correct address. The default slave address for the display module is 0x50. NOTE I2 C communication will always require pull up resistors. • Finally, you may reset the display to it’s default settings using the Manual Override Jumper, see Section 2.5 on page 10. 3.3 The display module is communicating, however text cannot be displayed.
4.1.1 I2 C Communication Summary The GLK12232-25-SM is capable of communicating at 100 KHz in I2 C mode, with 127 units addressable on a single I2 C communication line. However, in order to communicate via I2 C you must first ensure that pull up resistors, with a nominal value of 1K to 10K, are placed on the SCL and SDA communication lines coming from pins two and three of the Data / Power Connector respectively.
is high. Next, the display must be addressed using a one byte hexadecimal value, the default to write to the unit is 0x50, while read is 0x51. Then information can be sent to the unit; even when reading, a command must first be sent to let the unit know what type of information it is required to return. After each bit is sent, the display will issue an ACK or NACK as described above.
Description This command enables flow control. When the buffer fills so that only [full] bytes are available, the display will return an “almost full” message (0xFE) to the host controller. When the buffer empties so that only [empty] bytes remain, the display will return an “almost empty” message (0xFF) to the host controller. The display will return the “almost full” message for every byte sent to the display until the used buffer space once more drops below the [full] level.
Syntax Parameters Description Hexadecimal Decimal ASCII Parameter adr 0xFE 0x33 [adr] 254 51 [adr] 254 “3” [adr] Length Description 1 The new I2 C write address (0x00 0xFF). This command sets the I2 C write address of the module between 0x00 and 0xFF. The I2 C write address must be an even number and the read address is automatically set to one higher. For example if the I2 C write address is set to 0x50, then the read address is 0x51. NOTE The change in address is immediate. Remembered Default 4.
Description This command sets the RS-232 port to the specified [speed]. The change takes place immediately. [speed] is a single byte specifying the desired port speed. Valid speeds are shown in the table below. The display module can be manually reset to 19,200 baud in the event of an error during transmission, including transmitting a value not listed below, by setting the manual override jumper during power up.
Examples Crystal Speed 16 Mhz Desired BAUD 13,500 speed = crystalspeed −1 8 ∗ DesiredBaud speed = 148.15 − 1 speed = 16, 000, 000 −1 8 ∗ 13, 500 speed = 147.15 • LSB = 0x93 (rounded) • MSB = 0x00 • Intended Baud Rate: 13,500 baud Actual Baud Rate: 16,000,000 =13,514 Percent Difference: 0.1% 8(147+1) NOTES • Results from the formula are rounded down to the nearest whole number (i.e 73.07 = 73). • This formula becomes less acurate as baud rates increase, due to rounding.
5.1.1 Font File Format A font file consists of three parts, a header, a character table and bitmap data. 1. Header (4 bytes) (a) (b) (c) (d) Nominal Width (1 byte) Height (1 byte) ASCII Start Value (1 byte) ASCII End Value (1 byte) 2. Character Table (3 bytes for every character between the ASCII Start and End values inclusive) (a) High Offset MSB (1 byte) (b) Low Offset LSB(1 byte) (c) Character Width (1 byte) 3. Bitmap Data 5.1.
1 1 1 1 1 1 1 Bitmap Data 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 Byte Hex Value 10000100 00101101 10011000 11000110 00100000 0x84 0x2D 0x98 0xC6 0x20 Figure 18: Bitmap Encoding As you can see the letter h will take up five bytes with the last five bits being zero padded to form a full byte. So if you continue the process you will get the character data as seen in table 5.1.2.
0x05 0x12 0xC6 0x60 0x07 0x03 0x20 Table 11: Sample Font File 0x68 0x6A 0x00 0x0D 0x00 0x15 0x04 0x84 0x43 0x24 0x84 0x2D 0x05 0x2D 0x98 0x00 0x98 0x19 Red = Header Blue = Character Table Purple = Character Data 5.2 Uploading a Font File Syntax Parameters Description Hexadecimal Decimal ASCII Parameter refID 0xFE 0x24 [refID] [size] [data] 254 36 [refID] [size] [data] 254 “$” [refID] [size] [data] Length Description 1 A unique font identification number. size 2 Font file size (LSB to MSB).
5.4 Description In order to set the font on the GLK12232-25-SM you must know the font identification number of the font that you wish to use. The font ID is established when the font is saved to the display. The default installed fonts are “Small Filled” and “Futura Bk BT 16” and their font ID’s are 0x01 and 0x02 respectfully, with “Small Filled” being the default selected font.
Syntax Parameters Description Remembered Default 6 6.1 Hexadecimal 0xFE 0xAC [value] Decimal 254 172 [value] Parameter Length Description value 1 Value (0: Off, 1: On) This command will toggle the box space mode. Box space mode is when a box, the size of the character to be written, is printed to the display before a character is written. Yes On Text Introduction The GLK12232-25-SM is an intelligent display module, designed to reduce the amount of code necessary to begin displaying data.
6.3 Description This command moves the text insertion point to the top left of the display area (Row 1, Column 1). Remembered No Setting the Cursor Position Description Hexadecimal 0xFE 0x47 [col] [row] Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Parameter Length Description col 1 Column row 1 Row This command sets the text insertion point to the [col] and [row] specified.
6.6 Description When auto scrolling is on, it causes the display to shift the entire display’s contents up to make room for a new line of text when the text reaches the end of the scroll row defined in the font metrics (the bottom right character position) see Section 5.4 on page 23. Remembered Default Yes On Auto Scroll Off Syntax Description Remembered 7 7.
Description The GLK12232-25-SM is capable of storing 128 font and bitmap files up to 16 Kbytes total. In order to upload a bitmap to the GLK12232-25-SM you must first initiate the upload font file command (0xFE 0x5E), you must then pass it a reference identification number, which must be unique for every font on the display module. You may then pass the display module the two byte file system size, which needs to be transfered LSB, then MSB.
Parameters Description Parameter Length Description X 1 Left bounds. Y 1 Top bounds. W 1 Width H 1 Height D (width*height)/8Data Drawing a bitmap to the GLK12232-25-SM, without first uploading the image to the memory can be a very useful feature for drawing images that are not used very often.
8.3 Description This command sets the drawing color for subsequent graphic commands that do not have the drawing color passed as a parameter. The parameter [color] is the value of the color where white is 0 and black is 1-255. Remembered No Draw Pixel Syntax Parameters Description Remembered 8.4 No Drawing a Line Syntax Parameters Description Remembered 8.5 Hexadecimal 0xFE 0x70 [x] [y] Decimal 254 112 [x] [y] ASCII 254 “p” [x] [y] Parameter Length Description x 1 X screen location.
Syntax Parameters Description Remembered 8.6 No Draw a Rectangle Syntax Parameters Description Remembered 8.7 Hexadecimal 0xFE 0x65 [x] [y] Decimal 254 101 [x] [y] ASCII 254 “e” [x] [y] Parameter Length Description x 1 Left bounds. y 1 Top Bounds. This command will draw a line with the current drawing color from the last line end (x2,y2) to (x,y). This command uses the global drawing color.
8.8 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 bottom right corner by (x2,y2). Since this command involves considerable processing overhead, we strongly recommend the use of flow control, particularly if the command is to be repeated frequently.
Syntax Parameters Description Remembered Hexadecimal Decimal ASCII Parameter ref 0xFE 0x69 [ref] [value] 254 105 [ref] [value] 254 “i” [ref] [value] Length Description 1 Initialized bar graph reference number. value 1 The number of pixels to fill. Once the bar graph has been initialized it can be filled in using this command. This command sets the bar graph specified by the [ref] number to fill in [value]. [value] is given in pixels and should not exceed the available height/width of the graph.
Description A strip chart is an area of the screen reserved for horizontal scrolling. This is normally used as follows: • Initialize the strip chart, which reserves the appropriate area of the screen. • Draw a line segment at the right or left side of the strip chart. • Shift the strip chart to the right or left. • Draw the next line segment. • Used this way the strip chart can produce a graph which scrolls smoothly horizontally in either direction. With text the strip chart can produce a marquis effect.
Description This command shifts the strip chart left or right. [ref] determines both which strip chart is used and which direction it will shift. The direction is selected by the most significant bit (MSB): • MSB: 0 shifts left • MSB: 1 shifts right For example if [ref] is 1: • 254 107 1 (hex FE 6B 01) shifts left • 254 107 129 (hex FE 6B 81) shifts right This command shifts the contents of the area defined in the Initialize Strip Chart command 8 pixels at a time. Remembered 9 9.
Syntax Parameters Description Hexadecimal 0xFE 0x57 [Num] Decimal 254 87 [Num] ASCII 254 “W” [Num] Parameter Length Description Num 1 GPO number. This command turns ON general purpose output [num]. The standard GPO’s on the GLK12232-25-SM output 20mA of current at 5V. NOTE ON means the output is pulled HIGH. Remembered 9.4 Yes Set Startup GPO state Syntax Parameters Description Hexadecimal 0xFE 0xC3 [Num] [state] Decimal 254 195 [Num] [state] Parameter Length Description Num 1 GPO number.
10.1.1 I2 C Interface The keypad is read by I2 C master read. In short, this means that a read of the module will always return the first unread key press. A read is initiated by writing to the module with its base address plus 1, then clocking the module’s return byte after the module releases the SDA line. Much more detail on this basic I2 C function can be found in the I2 C specification by Phillips. 10.1.
10.4 Poll Key Press Syntax Description Hexadecimal 0xFE 0x26 Decimal 254 38 ASCII 254 “&” This command returns any buffered key presses via the serial interface. The host system must be set up to receive key codes. When the display receives this command, it will immediately return any buffered key presses which may have not been read already. If there is more than one key press buffered, then the high order bit (MSB) of the returned key code will be set (1).
Parameters Description Remembered Default Parameter time Length 1 Description Debounce time in increments of 6.554ms (0 - 255). This command sets the time between key press and key read. All key types with the exception of latched piezo switches will ’bounce’ for a varying time, depending on their physical characteristics. The [time] value is in increments of 6.554ms. The default debounce time for the module is 8 (about 52ms), which is adequate for most membrane keypads. Yes 8 10.
Examples When the key code associated with key ’P’ (0x50) is pressed, the release code is ’p’ (0x70). In RS-232 polled mode or via the I2 C, the “Key Down / Key Up” codes are used; however, the user should be careful of timing details. If the poll rate is slower than the simulated auto-repeat it is possible that polling for a key up code will be delayed long enough for an unwanted key repeat to be generated. 10.
11 Display Functions 11.1 Introduction The GLK12232-25-SM employs software controlled display settings, which allow for control over, clearing the screen, changing the brightness and contrast or setting timers for turning it on or off. The combination of these allow you complete software control over your display’s appearance. 11.
Description This command turns the backlight off immediately. The backlight will remain off until a ’Display On’ command has been received. Remembered Yes 11.5 Set Brightness Syntax Parameters Description Remembered Default Hexadecimal Decimal Parameter brightness 0xFE 0x99 [brightness] 254 153 [brightness] Length Description 1 Display brightness setting (0 to 255). This command sets the display [brightness]. If the remember function is on, this command acts the same as ’Set and Save Brightness’.
Description This command sets the display’s contrast to [contrast], where [contrast] is a value between 0x00 and 0xFF (between 0 to 255). Lower values cause ‘on’ elements in the display area to appear lighter, while higher values cause ‘on’ elements to appear darker. Lighting and temperature conditions will affect the actual value used for optimal viewing. Individual display modules will also differ slightly from each other in appearance.
12 Filesystem 12.1 Introduction The GLK12232-25-SM incorporates a 16 Kbyte on board flash memory in order to allow up to 128 font and bitmap files to be transfered directly onto the display and recalled whenever necessary. The filesystem can address font and bitmap files combined up to 16 Kbytes. It is recommended that fonts and bitmaps are uploaded when possible all together after a filesystem wipe ro preserve memory integrity. These fonts and bitmaps can then be locked to ensure they remain intact.
Host 0xFE 0x24 0x01 0x19 0x00 Display 0x01 0x01 0x05 0x05 0x01 0x07 0x07 0x01 0x49 0x49 0x01 ... 0x60 ... 0x60 0x01 Comments Command Prefix Upload Font File Command Reference ID Size (LSB) Size (MSB) Confirmation Byte Confimation Byte Font Width Echo Font Width Confimation Byte Font Height Echo Font Height Confimation Byte Font ASCII Start Value Echo Font ASCII Start Value Confimation Byte ...
NOTES • The GLK12232-25-SM has watch dog timer, set to 2.1 seconds in between transmissions, in order prevent the display module from staying in a waiting state. • Once the timeout has been reached the timer will reset the display and issue a 0xFE 0xD4 response to the host to signal that this has happened. 12.1.2 XModem Upload Protocol In addition to its original simple upload format, Matrix Orbital has added an XModem based protocol.
Host 0xFE 0xDB 0x85 0x06 0x30 0x00 0x40 0x00 0x00 Display 0x06 0x01 0x80 0x7F 0x06 <128 bytes> 0x1E 0x47 0x06 0x7F 0x80 0x06 <128 bytes> 0x5A 0x0D ... 0x04 0x06 ...
Syntax Description Hexadecimal 0xFE 0x21 0x59 0x21 Decimal 254 33 89 33 ASCII 254 “!” “Y” “!” This command completely erases the display’s non-volatile memory. It removes all fonts, font metrics, bitmaps, and settings (current font, cursor position, communication speed, etc.). It is an “odd” command in that it is three bytes in length in order to prevent accidental execution. NOTE After deleting the file system it is important to cycle power to your display to ensure the removal process is completed.
12.5 Get Filesystem Directory Syntax Description Hexadecimal 0xFE 0xB3 Decimal 254 179 This command will return a directory of the contents of the file system. The first byte returned will be a hex value representing the number of entries in the filesystem, followed by four bytes for each entry.
Syntax Parameters Description Remembered Hexadecimal 0xFE 0xB2 [Type] [refID] Decimal 254 178 [Type] [refID] Parameter Length Description Type 1 File type (0:Font File, 1:Bitmap) refID 1 Reference ID number Download a specified file from the filesystem. The first 4 bytes will be the length of the file (LSB to MSB) followed by 2 bytes representing the width and height of the image then the data contained in the file. No 12.
13.2 Set Remember Syntax Parameters Description Hexadecimal 0xFE 0x93 [switch] Decimal 254 147 [switch] Parameter Length Description switch 1 0: Do not remember, 1: Remember This command allows you to switch the remember function on and off. To use the remember function, set remember to on, then set all of the settings that you wish to save, settings that are listed as ’Remember: Yes’ support being saved into the non-volatile memory.
Description Paranoia allows you to lock the module from displaying information, as well as enables the protection of the filesystem and module settings.
13.4 Set and Save Data Lock Syntax Parameters Description Remembered Default Hexadecimal 0xFE 0xCB 0xF5 0xA0 [level] Decimal 254 203 245 160 [level] Parameter Length Description level 1 Sets the data lock level This command will set and save the data lock level. See the Data Lock section for more information. Always 0 13.5 Dump the Filesystem Syntax Description Remembered Hexadecimal 0xFE 0x30 Decimal 254 48 ASCII 254 “0” This will allow you to dump the filesystem for debugging purposes.
14 Description Reads whatever was written by Write Customer Data. Remembered No Miscellaneous 14.1 Introduction This chapter covers the ’Report Version Number’ and ’Read Module Type’ commands. These commands can be particularly useful to find out more information about the display module before contacting technical support. 14.
Description Remembered Matrix Orbital This command will return a hex value corresponding to the the model number of the module see the following table: Hex 1 5 7 9 B D F 13 15 21 23 25 27 29 2B 31 33 35 37 39 3B 3D 3F 41 43 45 47 49 4B 4D 4F 51 53 55 57 5B 71 73 77 79 No Product ID LCD0821 LCD2041 LCD4041 LK204-25 VFD2021 VFD4021 VK204-25 GLC24064 GLK24064-25 Unused Unused GLK24064-16-1U-USB GLK19264-7T-1U-USB GLK12232-16-SM LK204-7T-1U LK404-AT LK402-12 LK204-25PC VK202-24-USB VK204-24-USB VK162-12 PK2
15 Command Summary 15.
Description Setting the Cursor Position Setting the Cursor Coordinate Auto Scroll On Auto Scroll Off Syntax Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII 0xFE 0x47 [col] [row] 254 71 [col] [row] 254 “G” [col] [row] 0xFE 0x79 [x] [y] 254 121 [x] [y] 254 “y” [x] [y] 0xFE 0x51 254 81 254 “Q” 0xFE 0x52 254 82 254 “R” Syntax Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII 0xFE 0x5E [refID] [size] [data] 254 94 [refID] [s
Description Draw a Rectangle Drawing a Solid Rectangle Initializing a Bar Graph Drawing a Bar Graph Initializing a Strip Chart Shifting a Strip Chart Syntax Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII 0xFE 0x72 [color] [x1] [y1] [x2] [y2] 254 114 [color] [x1] [y1] [x2] [y2] 254 “r” [color] [x1] [y1] [x2] [y2] 0xFE 0x78 [color] [x1] [y1] [x2] [y2] 254 120 [color] [x1] [y1] [x2] [y2] 254 “x” [
Description Clear Key Buffer Set Debounce Time Set Auto Repeat Mode Auto Repeat Mode Off Assign Keypad Codes Syntax Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal ASCII Hexadecimal Decimal 0xFE 0x45 254 69 254 “E” 0xFE 0x55 [time] 254 85 [time] 254 “U” [time] 0xFE 0x7E [mode] 254 126 [mode] 254 “~” [mode] 0xFE 0x60 254 96 254 “‘” 0xFE 0xD5 [KDown] [KUp] 254 213 [KDown] [KUp] Page 37 37 38 39 39 15.
Description Deleting a File Get Filesystem Space Get Filesystem Directory Filesystem Upload Downloading a File Moving a File Syntax Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal Hexadecimal Decimal 0xFE 0xAD [type] [refID] 254 173 [type] [refID] 0xFE 0xAF 254 175 0xFE 0xB3 254 179 0xFE 0xB0 [Size] [Data] 254 176 [Size] [Data] 0xFE 0xB2 [Type] [refID] 254 178 [Type] [refID] 0xFE 0xB4 [oldT] [oldID] [newT] [newID] 254 180 [oldT] [oldID] [newT] [newID] S
15.
Command Hex 0x78 0x79 0x7E 0x91 0x93 0x98 0x99 0xA4 0xAC 0xAD 0xAF 0xB0 0xB2 0xB3 0xB4 0xC3 0xCA 16 Description Page Dec ASCII 120 “x” 121 “y” 126 “~” 145 147 152 153 164 172 173 175 176 178 179 180 195 202 Drawing a Solid Rectangle Setting the Cursor Coordinate Set Auto Repeat Mode Set and Save Contrast Set Remember Set and Save Brightness Set Brightness Setting a Non-Standard Baud Rate Set Box Space Mode Deleting a File Get Filesystem Space Filesystem Upload Downloading a File Get Filesystem Directory
16.1.2 Electrical Table 82: Electrical Specifications Standard Wide Voltage (V) Supply Voltage +5Vdc ±0.25V +9V to +15V Minimum Current 30mA typical Backlight On (GW & WB) add 20mA (50mA) typical 16.2 Optical Characteristics Table 83: Optical Characteristics Pixel Layout 122 x 32 pixels XxY Number of Characters 80 (maximum 20 characters x 4 Lines with 5x7 font) Display Area 60.2 x 18.00mm XxY Dot Size 0.40 x 0.40mm Dot Pitch 0.44 x 0.
Figure 19: Physical Diagram Matrix Orbital GLK12232-25-SM 63
16.4 Ordering Information() G 1 L 2 K 3 122 4 32 5 -25 6 -SM 7 -WB 8 -V 9 -E 10 Table 84: Part Numbering Scheme # 1 2 3 4 5 6 7 8 Description Screen Type Display Technology Input Interface Width Height Keypad Buttons Form Factor Colour (Text/Background) 9 Input Voltage 10 Temperature Options G: Graphic L: Liquid Crystal Display K: Keypad 122: Pixel Width Count 32: Pixel Height Count -25: External 25 Key Input Maximum -SM: Small NP: Standard (Grey/White) -WB: White/Blue NP: Standard (4.75-5.
Sales: 1(403)229-2737 Support: 1(403)204-3750 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com 16.7 Revision History Table 86: Revision History Revision Number Description 2.0 Rev 2.0 of the PCB 2.