GLK12232-25-SM-WB Matrix Orbital, GLK12232-25-SM-WB Datasheet
![LCD GRAPHIC DISPL 122X32 BLU/WHT](/photos/7/91/79174/glk12232-25-sm-wb_front_sml.jpg)
GLK12232-25-SM-WB
Specifications of GLK12232-25-SM-WB
Related parts for GLK12232-25-SM-WB
GLK12232-25-SM-WB Summary of contents
Page 1
...
Page 2
... Keypad Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4 mogd.exe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.6 Setting 1.7 Trying out the GLK12232-25- 1.8 Trying out a Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.8.1 Here’s what to do 1.9 Manual Over-ride . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 3
... Backlight On (254 66 [minutes 8.1.5 Backlight Off (254 70 8.1.6 Set Backlight brightness (254 153 [brightness 8.1.7 Set Backlight brightness and save (254 152 [brightness 8.1.8 General Purpose Output On (254 86 [gpo #]) . . . . . . . . . . . . . . . . . . . . . 28 8.1.9 General Purpose Output Off (254 87 [gpo #]) . . . . . . . . . . . . . . . . . . . . . 28 Matrix Orbital GLK12232-25- iii ...
Page 4
... Read Serial Number (254 53 8.1.15 Read Version Number (254 54 Appendix: Command Summary 9.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 9.2 Issuing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 9.3 Text Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 9.4 Graphics Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 9.5 Keypad Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 9.6 File System Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 9.7 Miscellaneous Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 10 Appendix: Specifications Matrix Orbital GLK12232-25- ...
Page 5
... Manufacturer’s Warranty. 1.1 What to Expect From the GLK12232-25-SM The GLK12232-25-SM is designed as the display unit for an associated controller. The controller may be anything from a single board, special purpose micro-controller to a PC, depending on the application. This controller is responsible for what is displayed on the screen of the display. ...
Page 6
... Installation The display is easy to install: 1. Connect the "Plug for GLK12232-25-SM" to the Power / RS-232 connector on the back of the display. 2. Connect the RS-232 connector to an available PC COM port. 3. Connect the "Power from PC" connector to a 3.5" floppy drive power connector power "Y" ...
Page 7
... Make certain the GLK12232-25-SM is equipped with the proper connector for use with this cable. 1. Refer to Figure above for the following steps. 2. Wire the connector to the power supply. On most connectors the RED lead will go to +5V and the BLACK lead to GND. NOTE The Manufacturer’s Warranty becomes void if the unit is subjected to over-voltage or reversed polarity ...
Page 8
... Turn off the display 2. Put a jumper on pins 5 and 6 of the keypad connector 3. Power up the display. The baud rate is now set to 19,200 4. Remove the jumper and change the RS-232 port settings to the desired baud rate 5. Turn off the display 6. Power up the display Matrix Orbital GLK12232-25-SM 4 ...
Page 9
... LOCKED position. This will lock down the memory chip, not allowing anything to be changed inside it until the jumpers are restored to their original position. 3 Connections 3.1 Connector Pinout Refer to the diagram below for this chapter. Matrix Orbital Figure 2: UnLocked Position GLK12232-25- setting and other settings. 5 ...
Page 10
... 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 Matrix Orbital Configuration Jumpers Keypad Connector Figure 3: Electrical Connections GLK12232-25-SM Power/Data Connector 6 ...
Page 11
... This device complies with the EIA232 standard in that it uses signal levels from +/-12V to +/- 12V. It will also operate correctly at TTL (0 to +5V) levels. To use standard RS-232 no modifications are required. Matrix Orbital GND TX RX +5V +5V GND GND +12V GLK12232-25-SM 7 ...
Page 12
... C mode you must remove the jumpers from the RS232 location and place new jumpers on Matrix Orbital Table 1: RS-232 Pinout Direction Description Data from LCD Data out (LCD) Data to LCD Data in (LCD) - Ground Figure 5: Default RS232 Configuration Figure 6: TTL Connections GLK12232-25-SM LCD Host gnd gnd default. 8 ...
Page 13
... This allows external devices to be turned on or off using the PC or controller and software commands. Matrix Orbital 2 Figure Connections GND SDA SCL +5V +5V GND GND +12V 2 Figure Connections uses the same pins as RS-232. Much more detail 2 C specification by Phillips. GLK12232-25-SM 9 ...
Page 14
... The GPOs do not have any over current or over / under voltage protection so care must be taken when using them. For instance if the external device is a relay it must be fully clamped using a diode and capacitor to absorb any generated back electro-motive force (EMF). Matrix Orbital Figure 9: GPO Configuration Figure 10: Clamping a Relay GLK12232-25-SM 10 ...
Page 15
... This chapter describes the various text-display commands in detail. 4.1 General Text is displayed on the GLK12232-25-SM using fonts saved in its internal flash memory. The display is supplied with a 5x7 font installed. If this is suitable, there will be no need to install any other fonts. 4.2 Writing Text to the Display When the display receives a character, it displays that character at the position currently defi ...
Page 16
... Matrix Orbital GLK12232-25-SM 12 ...
Page 17
... Inline bitmaps: These are processed horizontally and each byte represents a horizontal row of 8 bits, with the next byte representing the next 8 bits to the right. Orientation is left to right - MSB to LSB, which is the opposite to the serial transmission sequence (bytes are sent LSB first). Matrix Orbital Figure 11: Graphic Bitmaps GLK12232-25-SM 13 ...
Page 18
... Draw Outline Rectangle (254 114 [color][x1][y1][x2][y2]) This command draws a rectangular box in the specified color (0 = white, non-zero = black). The top left corner is specified by (x1,y1) and the bottom right corner by (x2,y2). Matrix Orbital GLK12232-25-SM 14 ...
Page 19
... Bitmaps and fonts may use the same reference numbers, for example it is possible to have both a bitmap 1 and a font 1. NOTE The reference number is established when the bitmap is saved, normally using mogd.exe. Matrix Orbital GLK12232-25-SM 15 ...
Page 20
... Exit Flow Control Mode (254 59) This command turns off flow control. Bytes may overflow the buffer without warning. 6 Keypad Interface This chapter describes the keypad interface and associated commands in detail. Matrix Orbital GLK12232-25- ...
Page 21
... Also included are two extra pins on each end of the connector to be used for ground strapping. This can be used in conjuntion with your keypad if a ground strap connection is required common ground connection is needed. Matrix Orbital Figure 12: Keypad Connector Figure 13: Keypad Connector GLK12232-25- ...
Page 22
... This behavior can be modified using commands found in the next section. 6.5 Commands 6.5.1 Auto repeat mode on (254 126 [mode]) [mode gives Resend Key Code mode [mode gives Key down / Key up code mode Matrix Orbital Table 2: Keypad Layout Columns Rows specification by Phillips. A good reference is also available at; GLK12232-25- ...
Page 23
... In this mode keypresses are buffered until the unit is polled by the host system via the poll keypad command. Issuing this command places the unit in polled mode. Matrix Orbital 2 C interface interface, the key down / key up codes are used. However, the user Figure 14: Poll Timing GLK12232-25-SM 19 ...
Page 24
... We cannot know if the new file is exactly the same size as the old file since the space vacated by the old files is filled by moving previously existing files down to fill up the vacated space. This ensures that no file space is wasted. Matrix Orbital GLK12232-25-SM 20 ...
Page 25
... This command completely erases the display’s non-volatile memory. This removes all fonts, font metrics, bitmaps, and settings (current font, cursor position, communication speed, etc.). ’odd’ command in that it is three bytes in length. This is to prevent accidental execution. Matrix Orbital GLK12232-25-SM 21 ...
Page 26
... ASCII value of last character defined in this file (1 byte) The character list consists of groups of 3 bytes per character: • Offset to character bitmap (2 bytes) • Actual width of this character (1 byte) 7.4.1 Font File in Table Form The Table below shows the layout of a font file in table form. Matrix Orbital GLK12232-25-SM 22 ...
Page 27
... Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data GLK12232-25-SM O-High O-Low Width O-High O-Low Width Data Data Data Data Data Data Data Data Data Data Data Data Data Data ...
Page 28
... For this example we’ll use a 5x7 pixel font. Next, we have to draw the bitmaps for each of the characters. Matrix Orbital Host sends Module sends 0xfe ’$’ (command)) ’2’ (reference 0x5e (low size) 0x5e (echo) 0x00 (high size) 0x00 (echo) 0x01 (file fits)* 0xFF (echo) 0xFF (echo) 0x20 (echo) etc GLK12232-25-SM 24 ...
Page 29
... Figure 16: Bytes For a 7 Bit High Font Table 5: Example of a File Font 0X05 0x07 0x68 0x6A 0x14 0x03 0x00 0x17 0x80 0x07 0xC4 0x3E 0x07 header, character ’h’, character GLK12232-25-SM 0x00 0x0F 0x04 0x7F 0x10 0x02 ’i’, character ’j’. 25 ...
Page 30
... Offset to definition of first character (h) Number of bytes in definition of first character Offset to definition of second character (i) Number of bytes in definition of second character Offset to definition of third character (j) Number of bytes in definition of third character Definition of first character Definition of second character Definition of third character GLK12232-25-SM 26 ...
Page 31
... Lower values will cause the backlight intensity to “dim”, while higher values cause the backlight’s intensity to “brighten”. Once this command has been sent, [brightness] will be set accordingly on additional power ups. Matrix Orbital GLK12232-25-SM 27 ...
Page 32
... C write address is set to 0x50, then the read address is 0x51. Table 7: Module Values LCD2021 - 0x03 LCD2041 - 0x05 LCD4041 - 0x07 LK202-25 - 0x08 LK404-55 - 0x0A VFD2021 - 0x0B VFD4021 - 0x0D VK202-25 - 0x0E GLC12232 - 0x10 GLC24064 - 0x13 GLK12232-25-SM - 0x24 GLK12232-25- 0x22 LK402-12 - 0x33 LK162-12 - 0x34 GLK12232-25-SM 28 ...
Page 33
... Keypad interface • The display file system • Miscellaneous operating parameters This chapter includes summary tables of all commands. Matrix Orbital Table 8: Speed Settings Speed Value Speed 20 Hex 9600 baud 0F Hex 19200 baud 95 Hex 57600 baud 03 Hex 76800 baud 8A Hex 115000 baud GLK12232-25-SM 29 ...
Page 34
... FE 52 off 254 82 254 ’R’ [col] [row] 254 71 n/a [col] [row] 254 ’G’ [col] [row] GLK12232-25- RS-232) at the currently Notes Enables scroll at bottom of screen. Text will push display up one line to make room for new line. Disables auto scroll ...
Page 35
... FE 65 [x][y] Continues line from last line end 254 101 [x][y] (x2,y2) to (x,y). Uses current draw- 254 ’e’ [x][y] ing color. GLK12232-25-SM Notes This command moves the text insertion point to the top left ...
Page 36
... Table 13: Keypad Interface Commands Syntax Default FE 7E [0|1] off 254 126 [0|1] 254 ’~’ [0|1] GLK12232-25-SM Notes Applies to keypad only 200 ms typematic key down/key up codes sent. 32 ...
Page 37
... FE 55 [time 254 85 [time] 254 ’U’ [time] Table 15: File System Commands Syntax Default FE B0 [type] [ref] 254 173 n/a [type] [ref n/a 254 GLK12232-25-SM Notes Applies to keypad only Sets auto transmit mode for keypad. Keypresses are transmitted to host without polling. ...
Page 38
... FE 42 [minutes] on 254 66 [minutes] 254 ’B’ [minutes 254 70 254 ’F’ (Full Inten- 254 153 sity) GLK12232-25-SM Notes Uploads a bitmap to the memory of the display. Uploads a font to the memory of the display. Notes Clears screen of text and graphics, places text cursor at top left. ...
Page 39
... FE 39 [speed] 19,200 254 57 [speed] 254 ’9’ [speed [full] [empty] off 254 58 [full] [empty] 254 ’:’ [full] [empty n/a 254 59 254 ’;’ GLK12232-25-SM Notes Changes the intensity of the backlight. Back- light brightness is saved for sub- sequent power ups. ...
Page 40
... XYZ directions 2 490 m/s XYZ directions Table 20: Electrical Specifications Supply Voltage 4.75 - 5.25 Vdc Supply Current 22 mA Typical 21 mA Typical GLK12232-25-SM Notes This is a one- time-use com- mand which works only on units without factory set serial numbers. Reads the two byte serial num- ber of the module ...
Page 41
... Color of Illumination Table 22: Display Options and Availability Matrix Orbital Table 21: Optical Characteristics 122 x 32pixels XxY 80 (Maximum 20 Characters x 4Lines with 5x7 Font) 60.2 x 18.0mm XxY 0.40 x 0.40mm (XxY) 0.44 x 0.44mm (XxY) 100, 000 Hours on Average White / Ice Blue Figure 17: Physical Layout GLK12232-25-SM 37 ...
Page 42
... GLK12232-25- ...