Summary of Contents for Matrix Orbital GLK12232-25-USB
Page 1
GLK12232-25 Including GLK12232-25-USB Technical Manual Revision 3.1 PCB Revision: 3.0 or Higher Firmware Revision: 5.8 or Higher Command Summary...
Page 2
Revision History Revision Date Description Author November 23, 2015 Initial Release Divino Updated Images Clark Initial Concept Clark Command Summary...
Contents 1 Introduction ............................... 5 2 Quick Connect Guide..........................6 2.1 Available Headers ..........................6 2.2 Standard Module ..........................7 Recommended Parts ..........................7 Serial Connections ..........................7 C Connections ............................. 8 2.3 USB Module ............................9 Recommended Parts ..........................9 USB Connections ...........................
1 Introduction Figure 1: GLK12232-25 Display The GLK12232-25 is an intelligent graphic liquid crystal display engineered to quickly and easily add an elegant creativity to any application. In addition to the RS232, TTL and I2C protocols available in the standard model, a USB communication model allows the GLK12232-25 to be connected to a wide variety of host controllers.
2 Quick Connect Guide 2.1 Available Headers Figure 2: GLK12232-25 Standard Module Header Locations Figure 3: GLK12232-25 USB Model Header Locations Table 1: List of Available Headers Header Mate Population Communication/Power Connector ESCCPC5V/BBC Standard Model Only Keypad KPP4x4 USB Model Only GPO Header None Offered All Models...
Serial Connections and I C Connections sections below. Recommended Parts The most common cable choice for any standard Matrix Orbital display, the Extended Communication/ Power Cable offers a simple connection to the unit with familiar interfaces. DB9 and floppy power headers provide all necessary input to drive your display.
3. Create. This time you're on your own. While there are many examples within the Matrix Orbital AppNote section, www.matrixorbital.ca/appnotes, too many controllers and languages exist to cover them all. If you get stuck in development, it is possible to switch over to another protocol on the standard board, and fellow developers are always on our forums for additional support.
2.3 USB Module The GLK12232-25-USB offers a single USB protocol for easy connection to a host computer. The simple and widely available protocol can be accessed using the on board mini B style USB connector as outlined in the USB Connections section.
3.1 MOGD# The Matrix Orbital Graphic Display interface, MOGD#, is offered as a free download from www.matrixorbital.ca/software/software_graphic. It provides a simple graphical interface that allows settings, fonts, and bitmaps to be easily customised for any application.
3.2 Application Notes Full demonstration programs and code are available for Matrix Orbital displays in the C# language from Simple C# AppNote Pack in the Application Note section at www.matrixorbital.ca/appnotes. Difficulty increases from beginner, with the Hello World program, to advanced with the Dallas One-Wire temperature reading application.
Function Figure 9: Mini USB Connector The GLK12232-25-USB -USB comes with a familiar Mini USB Connector to fulfill both communication and power needs. The standard MiniB style header can be connected to any other USB style using the appropriate cable. Most commonly used with a PC, this connection creates a virtual com port that offers a simple power solution with a familiar communication scheme.
“Assign Key Codes” command. The straight twelve pin header of the Keypad Interface Connector will interface to a variety of different devices including the Matrix Orbital KPP4x4 keypad. *Note: In I C mode, the “Auto Transmit Keypress”...
Protocol Select Jumpers Figure 12: Protocol select Jumpers The Protocol Select Jumpers provide the means necessary to toggle the GLK12232-25 between RS-232, TTL and I²C protocols. As a default, the jumpers are set to RS-232 mode with solder jumps on the RS232 jumpers.
See the Manual Override section to reset to default. • Make sure that the start screen is not blank. It is possible to overwrite the Matrix Orbital logo start screen, if this happens the screen may be blank. Try writing to the display to ensure it is functional, after checking the contrast above.
• In I C mode, connect Rx to the clock line of your controller and Tx to the data output. • Unlock the display. See the Set and Save Data Lock command for more info. • Finally, you may reset the display to its default settings using the Manual Override procedure outlined below.
6 Commands 6.1 Communication 1.1 Change 254 57 Speed v5.8 Baud Rate FE 39 Speed ■ 9 ASCII Speed Immediately changes the baud rate. Not available in I2C. Baud rate can be temporarily forced to 19200 by a manual override. Speed Byte Valid settings shown below.
1.5 Turn 254 59 v5.8 Software Flow FE 3B ■ ; Control Off ASCII Disables flow control. Bytes sent to the display may be permitted to overflow the buffer resulting in data loss. 6.2 Text 2.1 Clear 254 88 v5.8 Screen FE 58 ■...
6.3 Drawing 3.1 Set Drawing 254 99 Colour v5.8 Colour FE 63 Colour ■ c ASCII Colour Set the colour to be used for all future drawing commands that do not implicitly specify colour. Colour Byte 0 for background or any other value for text colour. 3.2 Draw 254 112 v5.8...
Page 20
3.6 Draw a Filled 254 120 Colour X1 Y1 X2 Y2 v5.8 Rectangle FE 78 Colour X1 Y1 X2 Y2 ■ x ASCII Colour X1 Y1 X2 Y2 Draw a filled rectangle using the colour specified; current drawing colour is ignored. Colour Byte 0 for background or any other value for text colour.
3.9 Initialize a 254 110 ID X1 Y1 X2 Y2 V5.8 Strip Chart FE 6E ID X1 Y1 X2 Y2 ■ n ASCII ID X1 Y1 X2 Y2 Designate a portion of the screen for a chart. Visual changes will occur when the update command is issued. Byte Unique chart identification number, value between 0 and 7.
Front files alter the style of text and appearance of the display. By default, a Matrix Orbital graphic display is loaded with a small filled font in slot one and a future bk bt 16 style in slot two. Both are available at www.matrixorbital.ca/software/graphic_fonts.
The character table contains information that allows the display to locate each individual character in a mass of character data. Each character has three bytes; two indicating it’s offset in the character data and one indicating its width. The offset takes into account the header and table bytes to point to the first byte of the character data it references.
Bitmap file data, see the Bitmap File Creation example. Bitmap File Creation In addition to fonts, Matrix Orbital graphic displays can also hold a number of customizable bitmaps to provide further stylistic product integration. Like font files, bitmaps files are most easily uploaded to a display using MOGD#.
6.6 General Purpose Output 6.1 General Purpose 254 87 Number v5.8 Output On FE 57 Number ■ W ASCII Number Turns the specified GPO on, sourcing current from an output of five volts. Number Byte GPO to be turned on. 6.2 General Purpose 254 86 Number...
Page 26
7.4 Clear Key 254 69 v5.8 Buffer FE 45 ■ E ASCII Clears all key presses from the key buffer. 7.5 Set Debounce 254 85 Time v5.8 Time FE 55 Time ■ U ASCII Time Sets the time between a key press and a key read by the display. Most switches will bounce when pressed; the debounce time allows the switch to settle for an accurate read.
6.8 Display Functions 8.1 Backlight 254 66 Minutes v5.8 FE 42 Minutes ■ B ASCII Minutes Turns the display backlight on for a specified length of time. If an inverse display color is used this command will essentially turn on the text. Minutes Byte Number of minutes to leave backlight on, a value of 0 leaves the display on indefinitely.
6.9 Filesystem 9.1 Delete 254 33 89 33 v5.8 Filesystem FE 21 59 21 ■ ! Y ! ASCII Completely erase all fonts and bitmaps from a graphic display. Extended length of the command is intended to prevent accidental execution. To ensure filesystem integrity, cycle power to the display after erasure. 9.2 Delete a 254 173 Type ID...
Once a bitmap or font file has been created and paired to its command it must be sent using a file protocol developed specifically for Matrix Orbital displays. Once a file upload command has been sent requesting a unique reference number and specifying the file size required, the display will respond indicating whether it has enough room to save the file or not.
Once a file is confirmed to fit within the display, the upload will begin. A protocol is used here to ensure each byte is uploaded successfully. After each byte is sent, the module will echo it back to the host. It should then be checked against the value originally sent before a confirmation byte of 1 is returned.
10.2 Set Data 254 202 245 160 Level v5.8 Lock FE CA F5 A0 Level ■ ╩ ⌡ á ASCII Level Temporarily locks certain aspects of the display to ensure no inadvertent changes are made. The lock is released after a power cycle. A new level overrides the old, and levels can be combined. Default is 0. Level Byte Lock level, see Data Lock Bits table.
Page 32
254 55 v8.0 Module Type FE 37 ■ 7 ASCII Causes display to respond with its module number. Response Byte Module number, see Sample Module Type Response for a partial list. Table 30: Sample Module Type Responses GLK12232-25-USB GLK12232-25 Command Summary...
7 Appendix 7.1 Command Summary Available commands below include identifying number, required parameters, the returned response and an indication of whether settings are remembered always, never, or with remember set to on. Table 31: Communication Command Summary Name ASCII Parameters Response Remembered Change Baud Rate...
Page 34
Table 35: Bitmap Command Summary Name ASCII Parameters Response Remembered See Bitmap File Upload a Bitmap File Short, Integer, Byte[] Always Creation Draw a Bitmap from Memory Short, Byte[2] None Never Draw a Bitmap Directly Byte[2], Byte[] None Never Table 36: General Purpose Output Command Summary Name ASCII Parameters...
Table 40: Data Security Command Summary Name ASCII Parameters Response Remembered Set Remember ô Byte None Always ╩, ⌡, á Set Data Lock 202, 245, 160 CA, F5, A0 Byte None Remember On ╦, ⌡, á Set and Save Data Lock 203, 245, 160 CB, F5, A0 Byte...
7.3 Environmental Specifications Table 42: Environmental Limits Standard *Extended (-E) Operating Temperature 0°C to +50°C -20°C to +60°C Storage Temperature -10°C to +60°C -20°C to +70°C Operating Relative Humidity Maximum 90% non-condensing 7.4 Electrical Tolerances Current Consumption Table 43: Current Consumption Board Backlight GPOs...
7.6 Optical Characteristics Table 46: Display Optics Module Size 98.0 x 60.0 x 20.1 Viewing Area 76.0 x 25.2 Active Area 69.50 x 20.76 Pixel Size 0.52 x 0.62 Pixel Pitch 0.53 x 0.53 Viewing Direction O’clock Viewing Angle -30 to +30 °...
9 Definitions ASCII: American standard code for information interchange used to give standardized numeric codes to alphanumeric characters. BPS: Bits per second, a measure of transmission speed. Byte: An unsigned data packet that is eight bits long. GPO: General purpose output, used to control peripheral devices from a display. GUI: Graphical user interface.
Need help?
Do you have a question about the GLK12232-25-USB and is the answer not in the manual?
Questions and answers