With the ability to communicate via serial RS-232/TTL and I protocols, the versitle GLC24064 can be used with virtually any controller. The ease of use is further en- hanced by an intuitive command structure to allow display settings such as backlighting, contrast and baud rate to be software controlled.
Figure 3: 5V Power Cable Adapter Figure 6: Serial Cable 4FT Figure 5: Breadboard Cable Figure 7: Communication and 5V Power Cable 1.3 Features • 240 x 64 pixel graphics display Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
1.4 Connecting to a PC The GLC24064 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 standard RS-232 9-pin serial cable such as the one pictured in , as well as a modified 5V power adapter such as the one pictured in...
6. 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.
2.1 DB-9 Connector The GLC24064 provides a DB-9 Connector to readily interface with serial devices which use the EIA232 standard signal levels of ±12V to ±12V. It is also possible to communicate at TTL levels of 0 to +5V by setting the Protocol Select Jumpers to TTL.
AND through the Power/Data Connector at the same time. 2.2 Power/Data Connector The Power/Data Connector provides a standard connector for powering the display module. The GLC24064 requires five volts for the standard display module, between nine to fifteen for the wide voltage (V) and be- tween nine to thirty-five volts for the wide voltage with efficient power supply module (VPT).
232 jumpers. In order to place the display module in I C mode you must first remove the zero ohm resistors from the 232 jumpers and then solder the resistors on to the I2C jumpers. Matrix Orbital GLC24064 Downloaded from Elcodis.com...
2.4 General Purpose Output A unique feature of the GLC24064 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.6 File System Lock Jumper The File System Lock Jumper allows you to lock the file system on the GLC24064 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 Chapter 12 Data Security.
• The last step will be to check the Power / Data Connector on the GLC24064. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital see 15.6 on page 57 for contact information.
• First, ensure that you can communicate to the display. A good test is to use a PC, with MOGD# installed, to connect to the display. See Section 1.4 on page 3 for setting up a PC to test the GLC24064.
1 for an I C master read. If we take a standard Phillips 7 bit address of $45 (100 0101), Matrix Orbital’s would describe this Phillips I C address as $8A (1000 1010). The read address would be $8B (1000 1011).
254 “:” [full] [empty] Parameters Parameter Length Description full Bytes remaining before issuing a almost full message. (Full is 0) empty Bytes available before issuing a almost empty message. (Empty is 128) Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
This command turns off flow control. Bytes may overflow the buffer without warning. NOTE This command is not available in I C mode. Remembered 4.4 Changing the I C Slave Address Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
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 GLC24064 Downloaded from Elcodis.com electronic components distributor...
MOGD# provides a simple method of generating font files from your installed fonts. For instructions on how to install MOGD# see Section 1.5.1 on page 4. Matrix Orbital GLC24064 Downloaded from Elcodis.com...
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 GLC24064 Downloaded from Elcodis.com...
Page 24
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 10. Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
NOTE This command is available but not supported in I Remembered Always 5.3 Setting the Current Font Hexadecimal 0xFE 0x31 [refID] Syntax Decimal 254 49 [refID] ASCII 254 “1” [refID] Parameter Length Description Parameters refID A unique font identification number. Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
The font metrics will have to be reconfigured after changing to a different font. Remembered 5.5 Set Box Space Mode Hexadecimal 0xFE 0xAC [value] Syntax Decimal 254 172 [value] Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Hexadecimal 0xFE 0x48 Syntax Decimal 254 72 ASCII 254 “H” Description This command moves the text insertion point to the top left of the display area (Row 1, Column 1). Remembered Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
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 GLC24064 Downloaded from Elcodis.com electronic components distributor...
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 GLC24064 Downloaded from Elcodis.com electronic components distributor...
8.11 Shifting a Strip Chart Hexadecimal 0xFE 0x6B [ref] Syntax Decimal 254 107 [ref] ASCII 254 “k” [ref] Parameter Length Description Parameters Reference number of a strip chart that has already been created. Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
254 “V” [Num] Parameters Parameter Length Description GPO number. Description This command turns OFF general purpose output [num]. NOTE OFF means that the output is pulled HIGH. Remembered 9.3 General Purpose Output On Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
The 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. 10.2 Clear Screen Matrix Orbital GLC24064 Downloaded from Elcodis.com...
This command has only 32 levels for X-Board based displays, meaning eight contrast settings will have the same single effect. Efectively, values 0 through 7, 8 through 15, and so on will result in the same setting. Remembered Default Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
files, as well as getting the remaining space or wiping the filesystem. 11.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 42
Below is an example of uploading the font file which we created in Section 5.1.2 on page 18. At times that the display or the host sees anything else other than 0x01 for confirmation (usually a 0x08) the upload is aborted. Matrix Orbital GLC24064 Downloaded from Elcodis.com...
0xD4 response to the host to signal that this has happened. 11.1.2 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.
Page 44
0x5A CRC High Byte 0x0D CRC Low Byte 0x06 ACK (NAKif CRCs don’t match) 0x04 End of Transmission 0x06 ACK (NAK if EOT is not expected) Table 44: XModem Upload Protocol Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Hexadecimal 0xFE 0xAF Syntax Decimal 254 175 Description This command will return 4 bytes, LSB to MSB for how many bytes are remaining in the 16 KB on board memory. Remembered Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
0x00 0x40 0x00 0x00 must be issued. Afterwhich the filesystem data can be uploaded LSB to MSB in the same manner as a font or bitmap file. Remembered Always 11.7 Downloading a File Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Remembered Default Do not remember 12.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 GLC24064 Downloaded from Elcodis.com electronic components distributor...
Page 49
• 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 GLC24064 Downloaded from Elcodis.com electronic components distributor...
Writes the customer data Description Writes the customer Data. 16 Bytes of data can be saved in non-volatile memory. Remembered 12.7 Read Customer Data Hexadecimal 0xFE 0x35 Syntax Decimal 254 53 ASCII 254 “5” Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Hex Value Version Number 0x19 Version 1.9 0x57 Version 5.7 Remembered 13.3 Read Module Type Hexadecimal 0xFE 0x37 Syntax Decimal 254 55 ASCII 254 “7” Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
0x47 “G” Setting the Cursor Position 0x48 “H” Move Cursor Home 0x50 “P” Set Contrast 0x51 “Q” Auto Scroll On 0x52 “R” Auto Scroll Off 0x56 “V” General Purpose Output Off Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Page 58
Set Box Space Mode 0xAD Deleting a File 0xAF Get Filesystem Space 0xB0 Filesystem Upload 0xB2 Downloading a File 0xB3 Get Filesystem Directory 0xB4 Moving a File 0xC3 Set Startup GPO state Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
+5Vdc ±0.25V +9V to +15V +9V to +35V Minimum Current 45mA typical Backlight On (YG) add 220mA (265mA) typical Backlight On (GW & WB) add 50mA (95mA) typical add up to 20mA Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
10,000 hours typical Backlight Yellow/Green LED or White LED NOTE To prolong life, it is recommended that the backlight be turned off when the display is not in use. 15.3 Physical Layout Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Page 61
Figure 21: Physical Diagram Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
VPT Wide Voltage with Efficient Switching Power Supply (+9 to +35Vdc) V Wide Voltage (+9 to +15Vdc) GW Grey Text / White Background WB White Text / Blue Background MSB Most Significant Byte LSB Least Significant Byte 15.6 Contacting Matrix Orbital Telephone Sales: 1(403)229-2737 Support: 1(403)204-3750 Matrix Orbital GLC24064 Downloaded from Elcodis.com...
Page 63
Table 76: Revision History Revision Description Author Initial Manual Matrix Orbital Backlight Life Update Clark On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com 15.7 Revision History Matrix Orbital GLC24064 Downloaded from Elcodis.com electronic components distributor...
Need help?
Do you have a question about the GLC24064 and is the answer not in the manual?
Questions and answers