Table of Contents

Advertisement

Quick Links

GLK12232-25-WBL
Technical Manual
Revision: 2.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GLK12232-25-WBL and is the answer not in the manual?

Questions and answers

Summary of Contents for Matrix Orbital GLK12232-25-WBL

  • Page 1 GLK12232-25-WBL Technical Manual Revision: 2.0...
  • Page 2: Table Of Contents

    1.5 Setting up ..........1.6 Trying Out the GLK12232-25-WBL ......
  • Page 3 7.1.11 Set Serial Number (254 52 [byte1] [byte2] ..... . . 26 7.1.12 Read Serial Number (254 53) ......26 Matrix Orbital GLK12232-25-WBL...
  • Page 4 8.7 Miscellaneous Commands ........31 9 Appendix: Specifications Matrix Orbital GLK12232-25-WBL...
  • Page 5: Introduction

    C communications 1.1 What to Expect From the GLK12232-25-WBL The GLK12232-25-WBL 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.
  • Page 6: Setting Up

    Before setting up an application the user may want to try out their display. This is easily done with a PC. The following will be required; • The PC cable available from Matrix Orbital (this is the simplest way to make test connections without having to solder cables and connectors).
  • Page 7: Trying Out The Glk12232-25-Wbl

    4. Connect the power connector, making sure that the +5V goes to V+ as shown in the diagram. 5. Turn on the power: the LCD backlight should come on. 1.6 Trying Out the GLK12232-25-WBL The unit should be connected to power and the PC and backlight should be on.
  • Page 8: Manual Over-Ride

    Once able to communicate with the display, the user may then change the default settings in the memory chip. 2 Connectionshttp://www.atmel.com/dyn/resources/prod_do 2.1 Connector Pinout Refer to the diagram below for this chapter. Matrix Orbital GLK12232-25-WBL...
  • Page 9 Keypad row 2 RS-232 receive data Keypad row 3 RS-232 transmit data Keypad row 4 +5V power input Keypad row 5 General purpose output 1 do not use General purpose output 2 Cont do not use ground for GPOs Matrix Orbital GLK12232-25-WBL...
  • Page 10: Power Connections

    A group of four connections (pins 7-10) provide for RS-232 communications and power. A 4 pin SIP connector soldered to these pins can be connected to a Matrix Orbital supplied PC cable. The RS-232 connector on the PC cable is wired so that a standard ’straight through’ 9 pin D-sub cable may be used to connect the modules to a standard serial port such as COM ports on PCs.
  • Page 11: Ack

    Matrix Orbital module processes data. Basically the reason why a Matrix Orbital module might fail to receive a byte correctly is that it was unable to process the byte previous before the failed byte was transmitted. Because the module cannot possibly know that it would be unable to store the byte before the next byte was received it cannot know to not ACK.
  • Page 12: Displaying Text

    Text is displayed on the display 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. Matrix Orbital GLK12232-25-WBL...
  • Page 13: Writing Text To The Display

    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 scroll position defined by the "Set font metrics" command in the display memory (normally the bottom right character position - default value for the GLK12232-25-WBL is 64).
  • Page 14: Set Current Text Insertion Point To Top Left (254 72)

    Typically, this value should be set to the first pixel row immediately below the last row of text that will fit the display. 4 Displaying Graphics This chapter describes the various graphics-display commands in detail. Matrix Orbital GLK12232-25-WBL...
  • Page 15: General

    The coordinate origin (0,0) is at the top left corner of the display. X values go from 0 to 239 (increasing toward the right) and Y values go from 0 to 63 (increasing toward the bottom). Matrix Orbital GLK12232-25-WBL...
  • Page 16: Set Drawing Color (254 99 [Color])

    flow control, particularly if the command is to be repeated frequently. This procedure is common for monitoring applications where there is a ’field’ on the display that is constantly being updated from, say, a temperature sensor. Matrix Orbital GLK12232-25-WBL...
  • Page 17: Initialize Bar Graph (254 103 [Ref][Type][X1][Y1][X2][Y2])

    Flow control is enabled or disabled by two commands. If flow control is enabled, the display will return an "almost full" message (0xFE) to the micro-controller when its internal buffer fills to a defined level, and an "almost empty" message (0xFF) when the buffer contents drop to a defined level. Matrix Orbital GLK12232-25-WBL...
  • Page 18: Enter Flow Control Mode (254 58 [Full][Empty])

    The display keypad interface processes the keypad row / column matrix into a serial (RS-232 or I data byte stream. Aside from this processing, the keypad has no effect on the display. If it is necessary to send keystrokes to the display, they must be routed through the micro-controller. Matrix Orbital GLK12232-25-WBL...
  • Page 19: Connections

    NOTE The keypad connector must be wired with columns on one side and rows on the other side of the center of the connector. In situations where the keypad isn’t wired this way an adapter will need to be made, or the user should rewire the connector to meet this requirement. Matrix Orbital GLK12232-25-WBL...
  • Page 20: I C Interface

    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. Matrix Orbital GLK12232-25-WBL...
  • Page 21: Auto Repeat Mode Off (254 96)

    (MSB) of this returned keycode will be set (1). If this is the only buffered keypress, then the MSB will be reset (0). If there are no buffered keypresses, then the returned code will be 0x00. Please note to make use of this command the "Auto transmit keypress" mode should be off. Matrix Orbital GLK12232-25-WBL...
  • Page 22: Set Debounce Time (254 85 [Time])

    Operationally, there is one important difference between the Matrix Orbital file system and that of a PC. While a PC will allow fragmentation of its files across the available file space, the Matrix Orbital file system takes great care to ensure that all parts of a file are stored together. This system works well to maximize storage space and operational efficiency, however, during file downloads, the modules may need to spend...
  • Page 23: Commands

    File size is a 2 byte value that must be calculated by the host before the transfer takes place. 6.4 Working with Font Files A font file consists of a header, a character list and character bitmaps. Matrix Orbital GLK12232-25-WBL...
  • Page 24: Font File In Table Form

    0xFE 0x24 [ref] [file size] [file data] In this example the file size is 94 bytes (0x5E) and the reference number is 2. The communications exchange between the host and the module looks like this; Matrix Orbital GLK12232-25-WBL...
  • Page 25: A Sample Font File

    First we need to define the font size. For this example we’ll use a 5x7 pixel font. Next, we have to draw the bitmaps for each of the characters. We’ll use the examples shown in the Figure below. Matrix Orbital GLK12232-25-WBL...
  • Page 26 0x07 0x68 0x6A 0x00 0x0F 0x05 0x00 0x14 0x03 0x00 0x17 0x04 0x7F 0x04 0x81 0x80 0x07 0xC4 0x3E 0x10 0x02 0x20 0xB1 0x07 The colours refer to: Font information header, character ’h’, character ’i’, character ’j’. Matrix Orbital GLK12232-25-WBL...
  • Page 27: Working With Bitmap Files

    Bitmap data follows with the bits organized vertically from the top left. The last byte may be padded with zeros. 7 Miscellaneous Commands 7.1 General The commands listed in this chapter don’t readily fit in any of the other categories, or are used in more than one category. Matrix Orbital GLK12232-25-WBL...
  • Page 28: Clear Display (254 88)

    7.1.6 General purpose output on (254 86 [gpo #]) This command turns ON either of the general purpose outputs. [gpo #] is 1 for G1 or 2 for G2. Note that ON means that the output is pulled low. Matrix Orbital GLK12232-25-WBL...
  • Page 29: General Purpose Output Off (254 87 [Gpo #])

    VFD4021 - 0x0D VK202-25 - 0x0E VK204-25 - 0x0F GLC12232 - 0x10 GLC24064 - 0x13 GLK24064-25 - 0x15 GLK12232-25-WBL - 0x22 GLK12232-25-SM - 0x24 LK404-AT - 0x31 LK402-12 - 0x33 LK162-12 - 0x34 LK204-25PC - 0x35 7.1.10 Set RS-232 port speed (254 57 [speed]) This command sets the display’s RS-232 port to the specified [speed].
  • Page 30: Set Serial Number

    The operation of the display is controlled by a simple and consistent command set. Commands control; • Text display • Graphics display • Keypad interface the display file system • Miscellaneous operating parameters This chapter includes summary tables of all commands. Matrix Orbital GLK12232-25-WBL...
  • Page 31: Issuing Commands

    254 ’R’ wrap to top left overwrite existing text. Set text insertion point FE 47 [col] [row] 254 71 Sets text insertion [col] [row] 254 ’G’ [col] point using the [row] base size of the current font. Matrix Orbital GLK12232-25-WBL...
  • Page 32: Graphics Commands

    Continues line from last line end 254 101 [x][y] (x2,y2) to (x,y). Uses current draw- 254 ’e’ [x][y] ing color. Put pixel FE 70 [x][y] Puts pixel in position (x,y). Uses 254 112 [x][y] current drawing color. 254 ’p’ [x][y] Matrix Orbital GLK12232-25-WBL...
  • Page 33: Keypad Interface Commands

    Table 15: Keypad Interface Commands http://www.hammondmfg.com/scpg.htm Command Syntax Default Notes Auto repeat mode on FE 7E [0|1] Applies to keypad 254 126 [0|1] only. 0 = 200 254 ’~’ [0|1] ms typematic, 1 = key down/key up codes sent. Matrix Orbital GLK12232-25-WBL...
  • Page 34: File System Commands

    254 173 [type] [ref] memory. Type = 1 is font, type = 5 is bitmap. [ref] is reference number. Purge memory FE 21 59 21 Removes 254 33 89 33 fonts, font met- rics, bitmaps and settings from memory. Matrix Orbital GLK12232-25-WBL...
  • Page 35: Miscellaneous Commands

    FE 91 [contrast] 254 145 Same as "Set con- [contrast] trast" but saves [contrast] as de- fault. Backlight on FE 42 [minutes] Backlight will 254 66 [minutes] 254 ’B’ stay on for [min- [minutes] utes]. If [minutes] backlight will stay permanently. Matrix Orbital GLK12232-25-WBL...
  • Page 36 254 ’4’ [byte 1] [byte 2] mand which works only on units without factory set serial numbers. Read Serial Number FE 35 Reads the two 254 53 byte serial num- 254 ’5’ ber of the module. Matrix Orbital GLK12232-25-WBL...
  • Page 37: Appendix: Specifications

    4Lines with 5x7 font) Display Area 69.50 x 20.76mm XxY Dot Size 0.52 x 0.62mm (XxY) Dot Pitch 0.53 x 0.53mm (XxY) LED / CCFL Backlight Life 20, 000 hours typical Color of Illumination Ice Blue Matrix Orbital GLK12232-25-WBL...
  • Page 38 Figure 11: Physical Layout Table 24: Display Options Model LCD0821 LCD2041 LCD4021 LCD4041 LK162-12 LK202-25 LK204-25 L402-12 LK404-55 LK404-AT BLC2041 VFD2041 Matrix Orbital GLK12232-25-WBL...
  • Page 39 Model VK202-25 VK204-25 BVF2041 GLC24064 GLK12232-25-WBL GLK24064-25 Matrix Orbital GLK12232-25-WBL...

This manual is also suitable for:

Glk12232-25-wbl-vptGlk12232-25-wbl-e

Table of Contents