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...
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...
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.
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.
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 •...
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...
• 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.
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.
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.
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.
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.
• 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.
$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.
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).
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...
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...
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.
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...
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.
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”...
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.
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...
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.
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.
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.
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...
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...
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...
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.
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.
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...
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...
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...
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...
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.
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...
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 Ø ½ Ó Ø ½...
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.
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...
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.
• 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...
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...
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...
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...
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...
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...
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...
Need help?
Do you have a question about the GLK12232-25 and is the answer not in the manual?
Questions and answers