Matrix Orbital GLK12232-25 Technical Manual

Matrix Orbital GLK12232-25 Technical Manual

Hide thumbs Also See for GLK12232-25:
Table of Contents

Advertisement

Quick Links

GLK12232-25
Technical Manual
Revision: 3.0

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Matrix Orbital GLK12232-25

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

    5.5 Set Box Space Mode ........23 Matrix Orbital...
  • Page 3 10.9 Assign Keypad Codes ........39 Matrix Orbital...
  • Page 4 15.11Miscellaneous ......... . 57 Matrix Orbital...
  • Page 5 16.5 Contacting Matrix Orbital ........
  • Page 6: Getting Started

    Additionally, text and fonts may be uploaded to the display and stored in the on board memory. 1.1 Display Options Available The GLK12232-25 comes in a variety of color and temperature options to allow you to select the display which will best fit your project needs. Figure 2: GLK12232-25 Options...
  • Page 7: Accessories

    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.5 on page 61 for contact information.
  • Page 8 Figure 7: Communication and Power Cable Figure 8: 4X4 Keypad Matrix Orbital GLK12232-25...
  • Page 9: Features

    1.4 Connecting to a PC The GLK12232-25 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 5.
  • Page 10: Installing The Software

    7. 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 Or- bital” in the start menu. Click on the ’Mogd Sharp’ entry to run the program.
  • Page 11: Hardware Information

    Speed The communication speed the display module is set to. (Default 19,200) Display Type The type of display. (GLK12232-25) PCB Revision The revision of the display you are using. (Found on the back of the PCB) Figure 10: Mogd Sharp Settings NOTES •...
  • Page 12: Power/Data Connector

    Rx \ SCL (I C clock) Tx \ SDA (I C data) Figure 12: Power Connector and Pin-out Table 2: Power Requirements Supply Voltage +5Vdc ±0.25V Supply Current 46 mA typical Supply Backlight Current 84 mA typical Matrix Orbital GLK12232-25...
  • Page 13: Keypad Interface Connector

    • Do not apply any voltage other than the specified voltage 2.2 Keypad Interface Connector The GLK12232-25 provides a Keypad Interface Connector which allows for up to a four by four 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.
  • Page 14: Gpo

    2.3 GPO A unique feature of the GLK12232-25 is the ability to control relays and other external devices using a General Purpose Output (3), which can provide up to 20 mA of current and +5Vdc from the positive side of the GPO.
  • Page 15: Filesystem Lock Jumper

    2.5 Filesystem Lock Jumper The Filesystem Lock Jumper allows you to lock the filesystem on the GLK12232-25 so that no fonts or bitmaps can be either written or deleted from the on board memory. This feature is useful in order to protect data integrity of production units, if protection of other settings is required see Section 13.
  • Page 16: Manual Override

    2.6 Manual Override The Manual Override is provided to allow the GLK12232-25 to be reset to some of its factory defaults. This can be particularly helpful if the display module has been set to an unknown baud rate or I C Slave Address and you are no longer able to communicate with it.
  • Page 17: Troubleshooting

    PC power supply may fit on the Power/Data Connector however they do not have the correct pinout as can be seen in figure 9 on page 5. Matrix Orbital supplies power cable adapters for connecting to a PC, which can be found in the Accessories Section on page 2.
  • Page 18: The Display Module Is Not Communicating

    • The last step will be to check the Power / Data Connector on the GLK12232-25. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital see 16.5 on page 61 for contact information.
  • Page 19: Communications

    $50 (0101 0000) , since the LSB has to be 0 for an I2C master write. When the I2C master wishes to read the GLK12232-25, the effective address is $51 (0101 0001), since the LSB has to be 1 for an I2C master read.
  • Page 20: Serial Communication

    RS-232 protocol at at a default baud rate of 19,200 bps and is capable of standard baud rates from 9600 to 115,200 bps. Furthermore the GLK12232-25 is also capable of reproducing any non-standard baud rate in between using values entered into our baud rate generation algorithm and set through command 164 (0xA4).
  • Page 21: Turn Flow Control Off

    Decimal 254 59 ASCII 254 “;” Description This command turns off flow control. Bytes may overflow the buffer without warning. NOTE This command is not available in I2C mode. Remembered 4.4 Changing the I C Slave Address Matrix Orbital GLK12232-25...
  • Page 22: Changing The Baud Rate

    NOTE The change in address is immediate. Remembered Always Default 0x50 4.5 Changing the Baud Rate Hexadecimal 0xFE 0x39 [speed] Syntax Decimal 254 57 [speed] ASCII 254 “9” [speed] Parameter Length Description Parameters speed Hex value corresponding to a baud rate. Matrix Orbital GLK12232-25...
  • Page 23: Setting A Non-Standard Baud Rate

    12 to 2047 which corresponds to a baud range of 977 to 153,800 baud. Setting the baud rate out of this range could cause the display to stop working properly and require the Manual Override jumper to be set. Remembered Always Matrix Orbital GLK12232-25...
  • Page 24: Fonts

    5 Fonts 5.1 Introduction The GLK12232-25 comes loaded with the ’Small Filled’ and ’Futura Bk BT 16’ fonts by default. How- ever, it is capable of displaying any font that is uploaded to it in the correct format. MOGD# provides a simple method of generating font files from your installed fonts.
  • Page 25: Font File Format

    The bitmaps are encoded horizontally and may have variable widths, h has a width of five, i a width of three and j a width of four, see the figure below for an example of encoding the first letter h: Matrix Orbital GLK12232-25...
  • Page 26 High Offset (MSB) Low Offset (LSB) Character Width 0x00 0x0D 0x05 0x00 0x12 0x03 0x00 0x15 0x04 Once completed, place the character table after the header and the character data aat the end, as seen in table 11. Matrix Orbital GLK12232-25...
  • Page 27: Uploading A Font File

    Font file data. Description In order to upload a font to the GLK12232-25 you must first initiate the upload font file command (0xFE 0x24), you must then pass it a reference identification number, which must be unique for every font on the display module.
  • Page 28: Font Metrics

    Description In order to set the font on the GLK12232-25 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”...
  • Page 29: Text

    6.1.1 Character Set The graphic displays such as the GLK12232-25, do not have built in character sets. Instead fonts are uploaded to the display using the commands detailed in Section 5 on page 19.
  • Page 30: Setting The Cursor Position

    This command positions the insertion point at a specific pixel (X,Y), which references the top left corner of the font insertion point. Remembered 6.5 Auto Scroll On Hexadecimal 0xFE 0x51 Syntax Decimal 254 81 ASCII 254 “Q” Matrix Orbital GLK12232-25...
  • Page 31: Auto Scroll Off

    7 Bitmaps 7.1 Introduction One of the main features of the GLK12232-25 is its ability to display bitmap images, that are either loaded onto its on board memory, or written directly to the screen. This chapter will cover creating a bitmap, uploading the bitmap, as well as drawing the bitmap from memory and directly.
  • Page 32: Drawing A Bitmap From Memory

    Description The GLK12232-25 is capable of storing font and bitmap files up to 16 Kbytes. In order to upload a bitmap to the GLK12232-25 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.
  • Page 33: Bar Graphs And Drawing

    8 Bar Graphs and Drawing 8.1 Introduction Supplementary to the ability of the GLK12232-25 to display bitmaps and fonts, the GLK12232-25 also allows for a robust 2D drawing environment. With the ability to draw by pixel, line or rectangle, as well as the ability to continue a line to form a polygon, we are certain that you will spend less time, developing and creating better looking projects.
  • Page 34: Draw Pixel

    This means that a line drawn in white from right to left may not fully erase the same line drawn in black from left to right. Remembered 8.5 Continue a Line Matrix Orbital GLK12232-25...
  • Page 35: Draw A Rectangle

    0xFE 0x78 [color] [x1] [y1] [x2] [y2] Syntax Decimal 254 120 [color] [x1] [y1] [x2] [y2] ASCII 254 “x” [color] [x1] [y1] [x2] [y2] Parameters Parameter Length Description color Drawing color (0: White, 1-255: Black). Left bounds. Top Bounds. Right Bounds. Bottom Bounds. Matrix Orbital GLK12232-25...
  • Page 36: Initializing A Bar Graph

    A write of value zero, followed by new values will restore the proper look of the bar graph. Remembered 8.9 Drawing a Bar Graph Matrix Orbital GLK12232-25...
  • Page 37: Initializing A Strip Chart

    0xFE 0x6A [refID] [x1] [y1] [x2] [y2] Syntax Decimal 254 106 [refID] [x1] [y1] [x2] [y2] ASCII 254 “j” [refID] [x1] [y1] [x2] [y2] Parameter Length Description Parameters refID Reference number Left bounds. Top Bounds. Right Bounds. Bottom Bounds. Matrix Orbital GLK12232-25...
  • Page 38: Shifting A Strip Chart

    0x00, 0x08, 0x10, etc. This restriction does not apply to y values. Remembered 8.11 Shifting a Strip Chart Hexadecimal 0xFE 0x6B [ref] Syntax Decimal 254 107 [ref] ASCII 254 “k” [ref] Parameters Parameter Length Description Reference number of a strip chart that has already been created. Matrix Orbital GLK12232-25...
  • Page 39: General Purpose Output

    General purpose outputs allow you to connect devices, such as LEDs, to the GLK12232-25 and supply them with up to 20mA of current at 5V. The GLK12232-25 has 2 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup.
  • Page 40: Set Startup Gpo State

    Always 10 Keypad 10.1 Introduction The GLK12232-25 supports up to a 25 key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via RS-232 or polled through I C. The GLK12232-25 also allows for auto-repeating key presses, and remapping of all keypad character codes.
  • Page 41: I2C Interface

    In this mode, up to 10 key presses are buffered until the unit is polled by the host system, via the poll keypad command 254 38. Issuing this command places the unit in polled mode. NOTE This command is not available in I2C. Remembered Matrix Orbital GLK12232-25...
  • Page 42: Poll Key Press

    It may also be used, in effect, to reset the keypad in case the host application resets for whatever reason. Remembered 10.6 Set Debounce Time Hexadecimal 0xFE 0x55 [time] Syntax Decimal 254 85 [time] ASCII 254 “U” [time] Matrix Orbital GLK12232-25...
  • Page 43: Set Auto Repeat Mode

    On the release of the key, the key release code transmitted will be a value equal to the key down code plus 20 hex. Remembered Matrix Orbital GLK12232-25...
  • Page 44: Auto Repeat Mode Off

    The first 25 bytes that are transmitted will be used for the key down codes and the next 25 bytes that are transmitted will be used for the key up codes. Key Down Key Up Remembered Always Matrix Orbital GLK12232-25...
  • Page 45: Display Functions

    11 Display Functions 11.1 Introduction The GLK12232-25 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.
  • Page 46: Set Brightness

    This command sets and saves the display [brightness] as default. Remembered Always 11.7 Set Contrast Hexadecimal 0xFE 0x50 [contrast] Syntax Decimal 254 80 [contrast] ASCII 254 “P” [contrast] Parameter Length Description Parameters contrast Contrast value (0 to 255). Matrix Orbital GLK12232-25...
  • Page 47: Set And Save Contrast

    Default 12 Filesystem 12.1 Introduction The GLK12232-25 incorporates a 16 Kbyte on board flash memory in order to allow font and bitmap files to be transfered directly onto the display and recalled whenever necessary. The filesystem can address Matrix Orbital...
  • Page 48: File Upload Protocol

    files, as well as getting the remaining space or wiping the filesystem. 12.1.1 File Upload Protocol In order to allow fonts and bitmaps to be uploaded to the on board flash memory Matrix Orbital has developed a simple protocol that supports RS-232/TTL or I C communications.
  • Page 49 ÓÑÑ Ò Ö ÔÐÝ ÒÓØ ¼Ü¼½¸ ÙÔÐÓ × ÓÖØ Ø ¼ Ó Ø ¼ ÓÒ ÖÑ Ø Ó Û Ø ¼Ü¼½¸ ÓØ ÖÛ × Ø × Ö ÒØ¸ ¼Ü¼ × × ÒØ Matrix Orbital GLK12232-25 Ø ½ Ó Ø ½...
  • Page 50: Wipe Filesystem

    NOTES • The GLK12232-25 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.
  • Page 51: Get Filesystem Directory

    0xFE 0xB0 [data] Syntax Decimal 254 176 [data] Parameter Length Description Parameters data LSB to MSB filesystem image data Description This command will upload a four byte filesystem image, LSB to MSB to the display (16KB). Remembered Always Matrix Orbital GLK12232-25...
  • Page 52: Downloading A File

    13 Data Security 13.1 Introduction Ensuring that your GLK12232-25 display’s exactly what you want it to can be the difference between a projects success and failure. This is why we incorporate features such as Data Lock into the GLK12232-25 With this new feature you now are in control over of how and when settings will be changed so there is no need to worry about the module acting exactly like you expected it to because all the settings may be locked and remembered for the next power up.
  • Page 53: Set Remember

    • Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered Default Do not remember 13.3 Data Lock Hexadecimal 0xFE 0xCA 0xF5 0xA0 [level] Syntax Decimal 254 202 245 160 [level] Parameters Parameter Length Description level Sets the data lock level Matrix Orbital GLK12232-25...
  • Page 54 (text lock) NOTES • Sending a new data lock level will override the previous data lock level. • Data lock levels may be combined. Remembered Always Default Examples Binary Description 0x00 Unlock 0x50 01010000 Setting and Command Lock Matrix Orbital GLK12232-25...
  • Page 55: Set And Save Data Lock

    Description data Writes the customer data Description Writes the customer Data. 16 Bytes of data can be saved in non-volatile memory. Remembered 13.7 Reads the Customer Data Hexadecimal 0xFE 0x35 Syntax Decimal 254 53 ASCII 254 “5” Matrix Orbital GLK12232-25...
  • Page 56: Miscellaneous

    This command will return a byte representing the version of the module, see the following table as an example: Hex Value Version Number 0x10 Version 1.0 0x20 Version 2.0 0x42 Version 4.2 Remembered 14.3 Read Module Type Hexadecimal 0xFE 0x37 Syntax Decimal 254 55 ASCII 254 “7” Matrix Orbital GLK12232-25...
  • Page 57: Command Summary

    LK204-25 MOS-AL-162A LK404-55 MOS-AV-202A VFD2021 MOS-AP-202A VFD2041 PK202-24-USB VFD4021 MOS-AL-082 VK202-25 MOS-AL-204 VK204-25 MOS-AV-204 GLC12232 MOS-AL-402 GLC24064 MOS-AV-402 GLK24064-25 LK082-12 GLK12232-25 VK402-12 GLK12232-25-SM VK404-55 GLK24064-16-1U LK402-25 GLK19264-7-1U VK402-25 GLK12232-16 PK204-25 GLK12232-16-SM XBoard-U LK404-AT LK202-25-USB MOS-AV-162A VK202-25-USB LK402-12 LK204-25-USB LK162-12 VK204-25-USB...
  • Page 58: Fonts

    Position ASCII 254 “G” [col] [row] Hexadecimal 0xFE 0x79 [x] [y] Setting the Cursor Decimal 254 121 [x] [y] Coordinate ASCII 254 “y” [x] [y] Hexadecimal 0xFE 0x51 Auto Scroll On Decimal 254 81 ASCII 254 “Q” Matrix Orbital GLK12232-25...
  • Page 59: Bitmaps

    254 “x” [color] [x1] [y1] [x2] [y2] Hexadecimal 0xFE 0x67 [refID] [type] [x1] [y1] [x2] [y2] Initializing a Bar Graph Decimal 254 103 [refID] [type] [x1] [y1] [x2] [y2] ASCII 254 “g” [refID] [type] [x1] [y1] [x2] [y2] Matrix Orbital GLK12232-25...
  • Page 60: General Purpose Output

    Decimal 254 69 ASCII 254 “E” Hexadecimal 0xFE 0x55 [time] Set Debounce Time Decimal 254 85 [time] ASCII 254 “U” [time] Hexadecimal 0xFE 0x7E [mode] Set Auto Repeat Mode Decimal 254 126 [mode] ASCII 254 “~” [mode] Matrix Orbital GLK12232-25...
  • Page 61: Display Functions

    0xFE 0xAD [type] [refID] Deleting a File Decimal 254 173 [type] [refID] Hexadecimal 0xFE 0xAF Get Filesystem Space Decimal 254 175 Hexadecimal 0xFE 0xB3 Get Filesystem Directory Decimal 254 179 Hexadecimal 0xFE 0xB0 [data] Filesystem Upload Decimal 254 176 [data] Matrix Orbital GLK12232-25...
  • Page 62: Data Security

    254 “6” Hexadecimal 0xFE 0x37 Read Module Type Decimal 254 55 ASCII 254 “7” 15.12 Command By Number Command Description Page ASCII 0x21 “!” Wipe Filesystem 0x24 “$” Uploading a Font File 0x26 “&” Poll Key Press Matrix Orbital GLK12232-25...
  • Page 63 Draw Pixel 0x72 “r” Draw a Rectangle 0x78 “x” Drawing a Solid Rectangle 0x79 “y” Setting the Cursor Coordinate 0x7E “~” Set Auto Repeat Mode 0x91 Set and Save Contrast 0x93 Set Remember 0x98 Set and Save Brightness Matrix Orbital GLK12232-25...
  • Page 64: Appendix

    19.6 m/s XYZ directions Shock (Operating) 29.4 m/s XYZ directions Shock (Non-Operating) 490 m/s XYZ directions 16.1.2 Electrical Table 80: Electrical Specifications Supply Voltage +5Vdc ±0.25V Supply Current 57 mA typical Supply Backlight Current 92 mA typical Matrix Orbital GLK12232-25...
  • Page 65: Optical Characteristics

    69.5mm x 20.5mm XxY Dot Size .52mm x .62mm Dot Pitch 0.53 x 0.53mm (XxY) LED Backlight Life 20, 000 hours typical Backlight White LED 16.3 Physical Layout Figure 20: Physical Diagram 16.4 Definitions E Extended Temperature (-20C to 60C) Matrix Orbital GLK12232-25...
  • Page 66: Contacting Matrix Orbital

    GW Grey Text / White Background WB White Text / Blue Background MSB Most Significant Byte LSB Least Significant Byte 16.5 Contacting Matrix Orbital Telephone Sales and Support: 1(403)229-2737 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com Matrix Orbital...

Table of Contents