Summary of Contents for Matrix Orbital GLK24064-25
Page 1
GLK24064-25/GLT24064 Including GLK24064-25-422, GLK24064-25-USB, GLT24064-422, and GLT24064-USB Technical Manual Revision 2.2 PCB Revision: 4.0 or Higher Firmware Revision: 8.1 or Higher...
Page 2
Revision History Revision Date Description Author March 8, 2011 Updated Electrical Specifications Clark January 27, 2011 Filesystem Command Updates for Firmware Revision 8.1 Clark November 3, 2010 Initial Release Clark...
Contents 1 Introduction ............................... 1 2 Quick Connect Guide..........................2 2.1 Available Headers ..........................2 2.2 Standard Module ..........................3 Recommended Parts ..........................3 2.3 Serial Connections ..........................3 C Connections ............................. 4 2.4 USB Module ............................5 Recommended Parts ..........................5 USB Connections ...........................
Page 4
Alternate Power Connector ........................ 12 4.4 GLK Model ............................13 Keypad Header ............................ 13 4.5 GLT Model ............................14 Touch Screen ............................14 Coordinate Mode ..........................14 Region Mode ............................14 4.6 Common Features ..........................15 General Purpose Outputs ........................15 Dallas One-Wire Connector ........................
User input on the GLK24064-25 is available through a five by five matrix style keypad or a resistive touch overlay on the GLT24064. Six general purpose outputs provide simple switchable five volt sources on each model.
2 Quick Connect Guide 2.1 Available Headers Figure 2: GLK24064-25/GLT24064 Header Locations Table 1: List of Available Headers Header Mate Population RS422 Terminal Block 16-30 AWG Wire 422 Model Only Extended Communication/Power Connector ESCCPC5V/BBC Standard Model Only Alternate Power Connector...
2.2 Standard Module The standard version of the GLK24064-25/GLT24064 allows for user configuration of three common communication protocols. First, the unit can communicate using serial protocol at either RS323 or TTL voltage levels. Second, it can communicate using the Inter-Integrated Circuit connect, or I C protocol.
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...
The USB connection is the quickest, easiest solution for PC development. After driver installation, the GLK24064-25-USB/GLT24064-USB will be accessible through a virtual serial port, providing the same result as a serial setup without the cable hassle. To connect to your GLK24064-25-USB/GLT24064-USB, please follow the steps below.
RS422 terminal block provided. An alternate header is also available to provide local power to a regular unit. To connect to your GLK24064-25- 422/GLT24064-422, adhere to the steps laid out below.
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.1 Firmware Upgrade Beginning with revision 8.1, the firmware of the GLK24064-25/GLT24064 can be upgraded in the field. Alternatively, the changes to the filesystem and subsequent commands can also be reverted by downgrading the firmware to revision 8.0 using the same process.
Figure 7: Extended Communication/Power Header The Extended Communication/Power Header provides a standard connector for interfacing to the GLK24064-25/GLT24064. Voltage is applied through pins one and four of the four pin Communication/Power Header. Please ensure the correct voltage input for your display by referencing the electrical specifications in Table 62 before connecting power.
DB-9 Jumper labelled R42, as illustrated below. This connection can be made using a zero ohm resistor, recommended size 0603, or a solder bridge. The GLK24064-25/GLT24064 allows all voltage models to use the power through DB-9 option, see the specifications in Table 62 for voltage requirements.
Alternate USB Header. This header offers power and communication access in a simple interface package. The Optional Alternate USB Header may be added to the GLK24064-25-USB/GLT24064-USB for an added charge as part of a custom order. Please use the Contact section to request more information from the friendly Matrix Orbital sales team.
Tx (A) Figure 12: RS422 Header The six pin RS422 interface header of the GLK24064-25-422/GLT24064-422 offers power and ground connections as well as two differential pair communication lines. Regular and inverted lines are provided for both receive and transmit signals. Power is supplied locally to the regular variant while the –VPT can receive power over a distance.
Row 5 Gnd/Vcc* To facilitate user input, the GLK24064-25 provides a Keypad Interface Connector which allows a matrix style keypad of up to twenty-five keys to be directly connected to the display module. Key presses are generated when a short is detected between a row and a column. When a key press is generated, a character specific to that key press is automatically sent on the Tx communication line.
4.5 GLT Model Touch Screen The GLT24064 facilitates user touch input in one of two distinct ways. Coordinate mode will report events by supplying their exact position on the screen. Region mode will report events within defined boundaries on the screen. Both modes are outlined below. Coordinate Mode In coordinate mode all touch events are reported using three single byte values.
Function Figure 16: Dallas One-Wire Connector In addition to the six general purpose outputs the GLK24064-25/GLT24064 offers an Optional Dallas One-Wire bridge, to allow for an additional thirty two one-wire devices to be connected to the display. This header can be populated with a Tyco 173979 connector at an added cost by custom order only.
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...
In serial protocol, ensure that the host system and display module are both communicating on the same baud rate. The default baud rate for the display module is 19200 bps. Match Rx from the GLK24064-25/GLT24064 to the transmitting pin from your host and the Tx pin to the receiving pin. ...
6 Commands 6.1 Communications 1.1 Changing the I2C 254 51 Address Slave Address FE 33 Address ■ 3 ASCII Address Immediately changes the I2C write address. Only even values are permitted as the next odd address will become the read address. Default is 80. Address 1 byte, even value 1.2 Changing the...
Page 25
1.6 Set Software 254 60 Xon Xoff Flow Control FE 3C Xon Xoff ■ < Response ASCII Xon Xoff Sets the values returned for almost full and almost empty messages when in flow control mode. This command permits the display to utilize standard flow control values of 0x11 and 0x13, note that defaults are 0xFF and 0xFE. 1 byte, value returned when display buffer is almost empty, permitting transmission to resume Xoff 1 byte, value returned when display buffer is almost full, signaling transmission to halt...
6.2 Text 2.1 Auto Scroll 254 81 FE 51 ■ Q ASCII The entire contents of screen are shifted up one line when the end of the screen is reached. Display default is on. 2.2 Auto Scroll 254 82 FE 52 ■...
6.3 Fonts 3.1 Upload a 254 36 ID Size Data Font File FE 24 ID Size Data ■ $ ASCII ID Size Data Upload a font to a graphic display. To create a font see the Font File Creation section, for upload protocol see the File Upload Protocol or XModem Upload Protocol entries.
Font 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 in the software download section at www.matrixorbital.ca. The easiest way to create, add, or modify the fonts of any graphic display is through the MOGD# tool.
The character data is a binary graphical representation of each glyph in a font. Each character is drawn on a grid containing as many rows as the height specified in the header and as many columns as the width specified in the character table. Cells are drawn by writing a one in their location and cleared by setting a value of zero.
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.5 Drawing 5.1 Set Drawing 254 99 Colour Colour FE 63 Colour ■ c ASCII Colour Change the drawing colour used for all subsequent drawing commands that do not implicitly specify colour. Colour 1 byte, 0 for background or 1 to 255 for text colour 5.2 Draw Pixel 254 112 X Position Y Position...
Page 32
5.6 Draw a Solid 254 120 Colour X1 Position Y1 Position X2 Position Y2 Position Rectangle FE 78 Colour X1 Position Y1 Position X2 Position Y2 Position ■ x ASCII Colour X1 Position Y1 Position X2 Position Y2 Position Draw a filled rectangle using the colour specified; current drawing colour is ignored. Colour 1 byte, 0 for background or 1to 255 for text colour X1 Position...
5.9 Initialize a 254 106 ID X1 Position Y1 Position X2 Position Y2 Position Strip Chart FE 6A ID X1 Position Y1 Position X2 Position Y2 Position ■ j ASCII ID X1 Position Y1 Position X2 Position Y2 Position Designate a portion of the screen for horizontal scrolling. Can be used to create scrolling graphs or marquee text. 1 byte, unique chart identification number, between 0 and 6 X1 Position 1 byte, leftmost coordinate, value between 0 and 239...
6.7 Dallas One-Wire 7.1 Search for a One-Wire 254 200 2 Device FE C8 02 Sends a search query to each of the up to 32 devices on the one wire bus. Any connected device will respond with an identification packet. Response 14 bytes, identification packet as shown below Table 29: Dallas One-Wire Packet Information...
6.9 Keypad 9.1 Auto Transmit 254 65 Key Presses On FE 41 ■ A ASCII Key presses are automatically sent to the host when received by the display. Default is Auto Transmit on. 9.2 Auto Transmit 254 79 Key Presses Off FE 4F ■...
9.7 Auto Repeat 254 96 Mode Off FE 60 Turns auto repeat mode off. Default is on (typematic). 9.8 Assign Keypad 254 213 Key Down Key Up Codes FE D5 Key Down Key Up Assigns the key down and key up values sent to the host when a key press is detected. A key up and key down value must be sent for every key, a value of 255 will leave the key unaltered.
Page 37
Delete All Touch 254 134 Regions FE 86 Deletes all previously created touch regions. Recommended for use before dividing the screen into new regions. Set Touch 254 135 Mode Mode FE 87 Mode Sets the method used to return touch events. Region mode will return a single value for events in defined areas. Coordinate mode will return event, x position, and y position bytes for each press, drag, or release.
6.11 Display Functions 11.1 Display 254 66 Minutes 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 1 byte, number of minutes to leave backlight on, a value of 0 leaves the display on indefinitely 11.2 Display...
6.12 Filesystem 12.1 Wipe 254 33 89 33 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. 12.2 Delete a 254 173 Type ID...
Page 40
12.6 Download 254 178 Type ID a File FE B2 Type ID Downloads a single font or bitmap file from the display to the host. Type 1 byte, 0 for font or 1 for bitmap 2 bytes, unique identification number of font or bitmap to download Response variable length, first 4 bytes represent file size followed by file data 12.7 Move...
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.
XModem Upload Protocol In addition to its original simple upload format, Matrix Orbital has added an XModem based protocol. This facilitates much faster download speeds by increasing the packet size from 1 byte to 128 bytes greatly increasing throughput. Though a protocol similar to the original upload scheme is used, a two byte CRC check is preformed at the end of each packet in place of the byte echo system.
6.13 Data Security 13.1 Set 254 147 Switch Remember FE 93 Switch Allows changes to specific settings to be saved to the display memory. Writing to non-volatile memory can be slow and each change consumes 1 write of at least 100,000 available. The Command Summary outlines which commands are saved always, never, and when this command is on only.
Module Type FE 37 ■ 7 ASCII Causes display to respond with its module number. Response 1 byte, module number, see partial list below Table 44: Sample Module Type Responses GLK24064-25 GLT24064 GLK24064-25-USB GLT24064-USB GLK24064-25-422 GLT24064-422 14.5 Read Screen 254 184 FE B8 Return the current commanded state of each pixel on the screen.
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 45: Communication Command Summary Name ASCII Parameters Response Remembered Changing the I2C Slave Address...
Page 46
Table 49: Drawing Command Summary Name ASCII Parameters Response Remembered Set Drawing Colour Colour None Remember On Draw Pixel X, Y None Never Draw a Line X1, Y1, X2, Y2 None Never Continue a Line X, Y None Never Draw a Rectangle Colour, X1, Y1, X2, Y2 None Never...
Page 47
Table 54: Touchpad Command Summary Name ASCII Parameters Response Remembered ID, X, Y, Width, Height, Set Touch Region ä None Remember On KeyUp, KeyDown Delete a Touch Region à None Remember On Delete All Touch Regions å None None Remember On Set Touch Mode ç...
7.2 Environmental Specifications Table 59: Environmental Limits Standard *Extended (-E) Operating Temperature 0°C to +50°C -20°C to +70°C Storage Temperature -10°C to +60°C -30°C to +80°C Operating Relative Humidity Maximum 90% non-condensing *Note: The Extended Temperature option is not available for any variant of the GLT24064. 7.3 Electrical Tolerances Current Consumption Table 60: Current Consumption...
8.3 Accessories Power Table 66: Power Accessories Standard Power Cable Communication Table 67: Communication Accessories CSS4FT 4 ft. Serial Cable EXTMUSB3FT Mini-USB Cable INTMUSB3FT Internal Mini-USB Cable Extended Serial Communication/5V ESCCPC5V Power Cable Breadboard Cable...
Page 53
Peripherals Table 68: Peripheral Accessories KPP4x4 16 Button Keypad Temperature Probe Dallas One-Wire Temperature Probe...
C, provides reduced data rates at a greater distance. One wire carries data, while two others supply power and ground. Matrix Orbital tests non-parasitic devices only, those that do not draw power from the data line; however, some parasitic devices may work.
Need help?
Do you have a question about the GLK24064-25 and is the answer not in the manual?
Questions and answers