Matrix Orbital GLC24064 User manual

Contents
Contents ii
1 Getting Started 1
1.1 Display Options Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Connecting to a PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.5.1 MOGD# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Hardware Information 5
2.1 DB-9 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1.1 Power Through DB-9 Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Power/Data Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2.1 Legacy Data Connector Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Protocol Select Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 General Purpose Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 Manual Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.6 File System Lock Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Troubleshooting 10
3.1 The display does not turn on when power is applied. . . . . . . . . . . . . . . . . . . . . . . 10
3.2 The display module is not communicating. . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 The display module is communicating, however text cannot be displayed. . . . . . . . . . . 11
3.4 There is a problem uploading fonts or bitmaps. . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Communications 11
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.1 I2C Communication Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.2 I2C Transaction Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.3 Serial Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2 Turn Flow Control On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 Turn Flow Control Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.4 Changing the I2C Slave Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5 Changing the Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.6 Setting a Non-Standard Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5 Fonts 17
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1.1 Font File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.1.2 Creating a Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2 Uploading a Font File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.3 Setting the Current Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.4 Font Metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Matrix Orbital GLC24064 ii
Downloaded from Elcodis.com electronic components distributor

5.5 Set Box Space Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6 Text 22
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.1.1 Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.1.2 Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.2 Move Cursor Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.3 Setting the Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.4 Setting the Cursor Coordinate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.5 Auto Scroll On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.6 Auto Scroll Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7 Bitmaps 24
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.2 Uploading a Bitmap File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7.3 Drawing a Bitmap from Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.4 Drawing a Bitmap Directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8 Bar Graphs and Drawing 26
8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.2 Set Drawing Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.3 Draw Pixel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.4 Drawing a Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.5 Continue a Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8.6 Draw a Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.7 Drawing a Solid Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8.8 Initializing a Bar Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.9 Drawing a Bar Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.10 Initializing a Strip Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.11 Shifting a Strip Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9 General Purpose Output 32
9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2 General Purpose Output Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.3 General Purpose Output On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.4 Set Startup GPO state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
10 Display Functions 33
10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
10.2 Clear Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
10.3 Display On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
10.4 Display Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
10.5 Set Brightness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
10.6 Set and Save Brightness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
10.7 Set Contrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
10.8 Set and Save Contrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Matrix Orbital GLC24064 iii
Downloaded from Elcodis.com electronic components distributor

11 Filesystem 36
11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
11.1.1 File Upload Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
11.1.2 XModem Upload Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
11.2 Wipe Filesystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
11.3 Deleting a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
11.4 Get Filesystem Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
11.5 Get Filesystem Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
11.6 Filesystem Upload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
11.7 Downloading a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
11.8 Moving a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
12 Data Security 42
12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
12.2 Set Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
12.3 Data Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
12.4 Set and Save Data Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
12.5 Dump the Filesystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
12.6 Write Customer Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
12.7 Read Customer Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
13 Miscellaneous 46
13.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
13.2 Read Version Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
13.3 Read Module Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
14 Command Summary 48
14.1 Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
14.2 Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
14.3 Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
14.4 Bitmaps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
14.5 Bar Graphs and Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
14.6 General Purpose Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
14.7 Display Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
14.8 Filesystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
14.9 Data Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
14.10Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
14.11Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
15 Appendix 54
15.1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
15.1.1 Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
15.1.2 Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
15.2 Optical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
15.3 Physical Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
15.4 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
15.5 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Matrix Orbital GLC24064 iv
Downloaded from Elcodis.com electronic components distributor

1 Getting Started
Figure 1: GLC24064-WB
The GLC24064 is an intelligent graphic LCD display designed to decrease development time by pro-
viding an instant solution to any project. With the ability to communicate via serial RS-232/TTL and I2C
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. Additionally, text and fonts may be uploaded to the display and stored in the
onboard memory.
1.1 Display Options Available
The GLC24064 comes in a variety of colors including the standard yellow/green, the popular blue/white
and the crisp white/grey. Extended voltage, and temperature options are also available, to allow you to select
the display which will best fit your project needs.
Figure 2: GLC24064 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 15.6 on page 57 for
contact information.
Matrix Orbital GLC24064 1
Downloaded from Elcodis.com electronic components distributor

Figure 3: 5V Power Cable Adapter Figure 4: 12V Power Cable Adapter
(V/VPT Models)
Figure 5: Breadboard Cable Figure 6: Serial Cable 4FT
Figure 7: Communication and 5V Power Cable
1.3 Features
•240 x 64 pixel graphics display
Matrix Orbital GLC24064 2
Downloaded from Elcodis.com electronic components distributor

•Selectable communication protocol, Serial at RS-232 or TTL Levels or I2C
•5V - 20mA General Purpose Output
•16 KB flash memory for fonts and bitmaps
•Lightning fast communication speeds, up to 115 kbps for RS-232 and 100 kbps for I2C
•Adjustable contrast and backlight brightness
•Extended temperature available for extreme environments of -20C to 70C
•Extended voltage and efficient power supply available
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 figure 6 on the previous page, as well as a modified 5V power adapter such as the one pictured in
figure 3 on the preceding page.
In order to connect your display to a personal computer follow these easy instructions:
1. Plug the serial cable into the com port you wish to use.
2. Connect the modified 5V power adapter to a power lead from your PC power supply (you will have to
open your computer case).
3. Connect the serial cable to the DB-9 connector on the back of the display.
4. Connect the 5V power adapter to the 4-pin connector on the back of the display.
WARNING DO NOT use the standard floppy drive power connector,
as this will not provide you with the correct voltage and will damage the
display module.
Figure 8: PC vs Matrix Orbital Display Module Wiring
Matrix Orbital GLC24064 3
Downloaded from Elcodis.com electronic components distributor

1.5 Installing the Software
1.5.1 MOGD#
MOGD# is the latest updated version of MOGD and can be used to manage font and graphics downloads
as well as exercise all of the features of our graphical displays. MOGD# provides a new user friendly
interface as well as many feature enhancements.
To install MOGD# from the Matrix Orbital CD, follow the following steps:
1. Insert the Matrix Orbital Cd-ROM into the Cd drive
2. Locate the file MogdSharp.zip, which should be in the “CD-drive:\Download” directory
3. Unzip MogdSharp.zip to a temporary directory using a program such as Winzip, Pkzip, etc.
4. Double click on "setup.exe"
5. Follow the instructions on the screen to complete the installation
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.
Be sure to check the information selected in the configuration panel the first time MOGD# is run. Once
this information is entered correctly the program can be used to control all functions of the graphic display.
Port The serial port the display is plugged in to.
Speed The communication speed the display
module is set to. (Default 19,200)
Display Type The type of display. (GLC24064)
PCB Revision The revision of the display you are using.
(Found on the back of the PCB)
Figure 9: Mogd Sharp Settings
Matrix Orbital GLC24064 4
Downloaded from Elcodis.com electronic components distributor

NOTES
•MOGD# may also be downloaded from Matrix Orbital’s support site at
http://www.matrixorbital.ca/software/software_graphic/MogdSharp
•Winzip is available as a free download from http://www.winzip.com
2 Hardware Information
Refer to the following diagram for this chapter:
1DB-9 Connector 5Power / Data Connector
2Power Through DB9 Jumper 6Legacy Connector Jumper
3GPO 7Protocol Select Jumpers
4Manual Override 8File System Lock Jumper
Figure 10: GLC24064
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. As an added feature it is also possible to apply power through
pin 9 of the DB-9 Connector in order to reduce cable clutter. However, in order to accomplish this you must
set the Power Through DB-9 Jumper.
Matrix Orbital GLC24064 5
Downloaded from Elcodis.com electronic components distributor

Pin 2Rx \ SCL (I2C clock)
Pin 3Tx \ SDA (I2C data)
Pin 5GND
Pin 9PWR (Must solder Power Through DB-
9 Jumper. See table ?? on page ?? for
power requirements.)
Figure 11: RS-232 Pin out
2.1.1 Power Through DB-9 Jumper
In order to provide power through pin 9 of the DB-9 Connector you must place a solder jumper on the
Power through DB-9 Jumper pictured in figure 12 below. The GLC24064 allows all voltage models to use
the power through DB-9 option, see table ?? on page ?? for display module voltage requirements.
Figure 12: Power Through DB-9 Jumper
WARNING Do not apply voltage through pin 9 of the DB-9 connector
AND through the Power/Data Connector at the same time.
2.2 Power/Data Connector
ThePower/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). The voltage is
applied through pins one and four of the four pin Power/Data connector. Pins two and three are reserved for
serial transmission, using either the RS-232/TTL or the I2C protocol, depending on what has been selected
by the Protocol Select Jumpers. Pins two and three may be reversed by changing the Legacy Connector
Jumpers in order to be compatible with previous PCB revisions.
Matrix Orbital GLC24064 6
Downloaded from Elcodis.com electronic components distributor

Pin 1PWR (See table ?? on page ??)
Pin 2Rx \ SCL (I2C clock)
Pin 3Tx \ SDA (I2C data)
Pin 4GND
Figure 13: Power Connector and Pin out
WARNINGS
•Do not apply any power with reversed polarization.
•Do not apply any voltage other than the specified voltage.
2.2.1 Legacy Data Connector Jumpers
To reverse pins two and three of the Power/Data Connector remove the zero ohm resistors from the
Legacy Data Connector Jumpers, labeled with the =symbol and place them on the jumpers labeled with the
Xsymbol. This will allow you to transmit on pin two, and receive data on pin three instead of the default
of receiving on pin two and transmitting on pin three of the Power/Data Connector.
Power/Data Connector
=[Pin 2 Rx \ SCL (I2C clock)
Pin 3 Tx \ SDA (I2C data)
x[Pin 2 Tx \ SDA (I2C data)
Pin 3 Rx \ SCL (I2C clock)
Figure 14: Legacy Data Connector Jumpers
2.3 Protocol Select Jumpers
The Protocol Select Jumpers, pictured below in figure 15, provide the means necessary to toggle the
display module between RS-232, TTL and I2C protocols. As a default, the jumpers are set to RS-232 mode
with zero ohm resistors on the 232 jumpers. In order to place the display module in I2C 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 7
Downloaded from Elcodis.com electronic components distributor

The display will now be in I2C mode and have a default slave address of 0x50 unless it has been changed.
Similarly, in order to change the display to TTL mode, simply remove the zero ohm resistors from the 232
or I2C jumpers and solder them to the TTL jumpers.
Figure 15: Protocol Select Jumpers
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. This is limited by a 240 ohm resistor which is located directly above the positive pin as pictured
below in figure 16. If the device, which is being driven by a GPO, requires a relatively high current (such as
a relay) and has an internal resistance of its own greater than 250 ohms, then the 240 ohm resistor may be
removed and replaced with a Jumper.
Pin 1- GND
Pin 2+ MAX: 20 mA, +5Vdc
Figure 16: General Purpose Output
WARNING If connecting a relay, be sure that it is fully clamped using
a diode and capacitor in order to absorb any electro-motive force (EMF)
which will be generated.
Matrix Orbital GLC24064 8
Downloaded from Elcodis.com electronic components distributor

2.5 Manual Override
The Manual Override is provided to allow the GLC24064 to be reset to factory defaults. This can be
particularly helpful if the display module has been set to an unknown baud rate or I2C Slave Address and
you are no longer able to communicate with it. If you wish to return the module to its default settings you
must:
1. Power off the display module.
2. Place a Jumper on the Manual Override pins.
3. Power up the display module.
4. The display module is now set to its default values listed below in table 1.
5. Edit and save settings.
Figure 17: Manual Override Jumper
Table 1: Default Values
Contrast 128
Backlight 255
Baud Rate 19.2 kbps
I2C Slave Address 0x50
Data Lock False
RS232AutoTransmitData True
NOTE The display module will revert back to the old settings once turned off, unless the
settings are saved.
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.
Matrix Orbital GLC24064 9
Downloaded from Elcodis.com electronic components distributor

To lock the file system, solder a zero ohm resistor or use a solder jumper on the Filesystem Lock Jumper
pictured in figure 18 below.
Figure 18: File System Lock Jumper
3 Troubleshooting
3.1 The display does not turn on when power is applied.
•First, you will want to make sure that you are using the correct power connector. Standard floppy
drive power cables from your PC power supply may fit on the Power/Data Connector however they do
not have the correct pin out as can be seen in figure 8 on page 3. Matrix Orbital supplies power cable
adapters for connecting to a PC, which can be found in the Accessories Section on page 1.
•The next step is to check the power cable which you are using for continuity. If you don’t have an
ohm meter, try using a different power cable, if this does not help try using a different power supply.
•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.
3.2 The display module is not communicating.
•First, check the communication cable for continuity. If you don’t have an ohm meter, try using a
different communication cable. If you are using a PC try using a different Com port.
•Second, please ensure that the display module is set to communicate on the protocol that you are
using, by checking the Protocol Select Jumpers. To change the protocol used by the display module
see Section 2.3 on page 7.
•Third, 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.
•If you are communicating to the display via I2C please ensure that the data is being sent to the correct
address. The default slave address for the display module is 0x50.
NOTE I2C communication will always require pull up resistors.
Matrix Orbital GLC24064 10
Downloaded from Elcodis.com electronic components distributor

•Finally, you may reset the display to it’s default settings using the Manual Override Jumper, see
Section 2.5 on page 9.
3.3 The display module is communicating, however text cannot
be displayed.
•The cause of this is often that no font has been loaded onto the display. To load a font onto the display
see Section 4.2.1 on page 16.
•Another common cause may be that the contrast settings have been set to low. The solution to this
problem is to adjust the contrast settings, the default setting that will work in most environments is
128.
NOTE Optimal contrast settings may varyaccording to factors such as temperature, view-
ing angle and lighting conditions.
3.4 There is a problem uploading fonts or bitmaps.
•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.
•Second, unsure that the File System Lock Jumper has not been set. See Section 2.6 on page 9.
•Third, please ensure that the display module’s memory is not full. The GLC24064 has 16 Kb of
memory for fonts and bitmaps.
NOTE If you are unable to resolve any issue please contact Matrix Orbital. See 15.6 on
page 57 for contact information.
4 Communications
4.1 Introduction
The commands listed in this chapter describe how to configure data flow on the .
4.1.1 I2C Communication Summary
The is capable of communicating at 100 KHz in I2C mode, with 127 units addressable on a single I2C
communication line. However, in order to communicate via I2C you must first ensure that pull up resistors,
with a nominal value of 1K to 10K, are placed on the SCL and SDA communication lines coming from pins
two and three of the Data / Power Connector respectively. Data responses by the module are automatically
output via RS232, in case the host will be querying the module, it is necessary for the host to inform the
module that its responses are to be output via I2C. This can be done by sending command 254 /160 / 0 to
Matrix Orbital GLC24064 11
Downloaded from Elcodis.com electronic components distributor

turn off auto transmission of data in RS232. This will keep the data in the buffer until the master clocks
a read of the slave. The I2C data lines operate at 5V normally or 3.3V for -1U style units. The uses 8-bit
addressing, with the 8th or Least Significant Bit (LSB) bit designated as the read/write bit, a 0 designates
a write address and a 1 designates a read address. The default read address of the display module will be
0x51, whereas the write address is 0x50 by default. This address may be changed by using cmd 254 / 51 /
<address>. The should only be sent addresses that are even (LSB is 0). When the I2C master wishes to write
to the display, the effective address is $50 (0101 0000) , since the LSB has to be 0 for an I2C master write.
When the I2C master wishes to read the , the effective address is $51 (0101 0001), since the LSB has to be
1 for an I2C master read.
If we take a standard Phillips 7 bit address of $45 (100 0101), Matrix Orbital’s would describe this
Phillips I2C address as $8A (1000 1010). The read address would be $8B (1000 1011).
The unit does not respond to general call address ($00).
When communicating in I2C the will send an ACK on the 9th clock cycle when addressed. When writing
to the display module, the display will respond with a ACK when the write has successfully been completed.
However if the buffer has been filled, or the module is too busy processing data it will respond with a NAK.
When performing a multiple byte read within one I2C transaction, each byte read from the slave should be
followed by an ACK to indicate that the master still needs data, and a NAK to indicate that the transmission
is over.
The has some speed limitations, especially when run in I2C mode. Here are some considerations when
writing I2C code:
* to be able to read the replies of query commands (eg. cmds 54, 55) the following command must be
sent (only needs to be sent once, so this can be done somewhere in init): 254 / 160 / 0 this command puts
the reply data in the I2C output buffer instead of the RS232 output buffer. Please note that due to a 16 byte
output buffer, query commands that reply with more than 16 bytes cannot be read (eg cmd Get FileSystem
Directory)
* 3ms delay between the read commands
* 625us delay in between data bytes within a transaction is necessary
* 375us between transactions is necessary
NOTE These delays are consrevative, and may be decreased based on performance
4.1.2 I2C Transaction Example
The typical I2C transaction contains four parts: the start sequence, addressing, information, and stop
sequence. To begin a transaction the data line, SDA, must toggle from high to low while the clock line, SCL,
is high. Next, the display must be addressed using a one byte hexadecimal value, the default to write to the
unit is 0x50, while read is 0x51. Then information can be sent to the unit; even when reading, a command
must first be sent to let the unit know what type of information it is required to return. After each bit is sent,
the display will issue an ACK or NACK as described above. Finally, when communication is complete, the
transaction is ended by toggling the data line from low to high while the clock line is high. An example of
the use of this algorithm to write a simple “HELLO” message can be seen in 2.
Matrix Orbital GLC24064 12
Downloaded from Elcodis.com electronic components distributor

Table 2: I2C Transaction Algorithm
START Toggle SDA high to low
Address 0x50
Information 0x48 0x45 0x4C 0x4C 0x4F
STOP Toggle SDA low to high
4.1.3 Serial Communication
In addition to being able to communicate via I2C the communicates natively through the RS-232 proto-
col 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 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). The display module com-
municates at standard voltage levels of -30V to +30V or at TTL levels of 0 to +5V by setting the Protocol
Select Jumpers to TTL.
4.2 Turn Flow Control On
Syntax Hexadecimal 0xFE 0x3A [full] [empty]
Decimal 254 58 [full] [empty]
ASCII 254 “:” [full] [empty]
Parameters Parameter Length Description
full 1 Bytes remaining before issuing a
almost full message. (Full is 0)
empty 1 Bytes available before issuing a
almost empty message. (Empty is
128)
Matrix Orbital GLC24064 13
Downloaded from Elcodis.com electronic components distributor

Description This command enables flow control. When the buffer fills so that only
[full] bytes are available, the display will return an “almost full”
message (0xFE) to the host controller. When the buffer empties so that
only [empty] bytes remain, the display will return an “almost empty”
message (0xFF) to the host controller.
The display will return the “almost full” message for every byte sent to
the display until the used buffer space once more drops below the [full]
level. Whether the user is in ‘flow control mode’ or not, the module will
ignore display or command bytes which would overrun the buffer.
While in ‘flow control mode’ the unit will return 0xFE when buffer is
almost full even though it may have already thrown rejected data away.
The buffer size for the display is 128 bytes.
When using this command in an application, selection of the value for
the buffer [full] should be considered very carefully. This is a critical
aspect to be able to use this feature to it’s full potential. When using a
host system or PC which contains a FIFO, the user should set the value
of [full] equal to or greater than the size of the FIFO. The reason for this
is that the FIFO may be full when the host system receives 0xFE. In the
case of 16550 UART the size at its maximum is 16, therefore the value
of [full] should be set to 16 or greater. It is suggested that the “almost
full” parameter be equal to the largest chunk of data the host will be
sending the display (should be less than 127).
NOTE This command is not available in I2C mode.
Remembered Yes
Default Off
4.3 Turn Flow Control Off
Syntax Hexadecimal 0xFE 0x3B
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 Yes
4.4 Changing the I2C Slave Address
Matrix Orbital GLC24064 14
Downloaded from Elcodis.com electronic components distributor

Syntax Hexadecimal 0xFE 0x33 [adr]
Decimal 254 51 [adr]
ASCII 254 “3” [adr]
Parameters Parameter Length Description
adr 1 The new I2C write address (0x00 -
0xFF).
Description This command sets the I2C write address of the module between 0x00
and 0xFF. The I2C write address must be an even number and the read
address is automatically set to one higher. For example if the I2C write
address is set to 0x50, then the read address is 0x51.
NOTE The change in address is immediate.
Remembered Always
Default 0x50
4.5 Changing the Baud Rate
Syntax Hexadecimal 0xFE 0x39 [speed]
Decimal 254 57 [speed]
ASCII 254 “9” [speed]
Parameters Parameter Length Description
speed 1 Hex value corresponding to a baud
rate.
Matrix Orbital GLC24064 15
Downloaded from Elcodis.com electronic components distributor
Other manuals for GLC24064
1
Table of contents
Other Matrix Orbital Computer Hardware manuals
Popular Computer Hardware manuals by other brands

Bitspower
Bitspower D5/MCP655 MOD KIT instruction manual

Phanteks
Phanteks GIGABYTE XTREME GLACIER G2080Ti installation guide

Cypress Semiconductor
Cypress Semiconductor CY7C1330AV25 Specification sheet

Commell
Commell SP-501 user manual

NXP Semiconductors
NXP Semiconductors MX93AUD-HAT-UM user manual

Eastern Times Technology
Eastern Times Technology E105 user manual