background image

NOTE

The connector provided does not allow access to the middle two pins which are

used for I

2

C communications. If this functionality is required, Matrix Orbital suggests

wiring a suitable connector.

2.1.3 Wide Voltage with Efficient Switching Power Supply (VPT)

Power is applied to the white or brown four pin SIP connector as follows;

Table 3: Connector Pinout

Pin 4

Gnd

Pin 3

SDA (I

2

C data) / Rx

Pin 2

SCL (I

2

C clock) / Tx

Pin 1

+7 - 30V DC

If the sole data source is via RS-232, the data input is via the DB-9 connector. In this case pins 2 and 3

are not used.

NOTE

Do not use this cable unless the display module has the "Wide voltage range",

option (option V). Use of the 12 volt power cable with 5 volt modules will damage the
module.

The 12 volt power cable is designed for use with wide voltage range display modules mounted in a PC.
Wiring required for the 12 volt power connector is shown in the Figure below.

Figure 9: Wiring for 12 Volt Modules

Matrix Orbital can supply an adapter cable designed for use with the display module when it’s installed

in a PC, if the user would like to modify cable wiring.

Matrix Orbital

GLC24064

8

Содержание GLC24064

Страница 1: ...GLC24064 Technical Manual Revision 2 0...

Страница 2: ...2 2 3 I2C Communications 11 2 2 4 ACK 12 2 3 General Purpose Output 13 3 Displaying Text 14 3 1 General 14 3 2 Writing Text to the Display 14 3 3 Text Commands 15 3 3 1 Auto Scroll On 254 81 15 3 3 2...

Страница 3: ...oad Bitmap 254 94 ref file size file data 23 5 4 Working with Font Files 23 5 4 1 Font File in Table Form 23 5 4 2 Uploading the File to the Module 24 5 4 3 A Sample Font File 25 5 5 Working with Bitm...

Страница 4: ...7 5 Graphics Commands 33 7 6 File System Commands 34 7 7 Miscellaneous Commands 35 8 Appendix Specifications 37 8 1 Options 40 Matrix Orbital GLC24064 iv...

Страница 5: ...64 Since the display is intended to be used with a controller it does not have any built in text editing functions If a stream of ASCII characters are inputed those characters will be displayed Howeve...

Страница 6: ...plication it is best to test out the display This is easily done with a PC The following is required for testing A 5V power supply 8 to 30 VDC for Efficient switching supply VPT models A power connect...

Страница 7: ...nd adapter if required 4 Connect the power connector ensuring that the 5V goes to V as shown in the Figure above Turn on the power the LCD backlight should come on 5 Use the mogd exe program to exerci...

Страница 8: ...cessor which allows the user to communicate with the display when all other communications are lost Once able to communicate with the display the user may then change the default settings in the memor...

Страница 9: ...er is removed 2 Connections 2 1 Power WARNINGS Do not apply any power with reversed polarization Do not apply any voltage other than the specified voltage Do not use any cables other than the cables s...

Страница 10: ...F RS 232 power 2 pin header GPO header 3x2 header I2C and RS 232 select 2 1 1 Power Connection 4 pin header Power is applied via pins 1 and 4 Power requirement is as follows 5Vdc 0 25V on standard vol...

Страница 11: ...ule are different as shown in the Figure below Figure 7 Wiring for 5 Volt Modules Matrix Orbital can supply an adapter cable designed for use with the display module when it s installed in a PC if the...

Страница 12: ...a RS 232 the data input is via the DB 9 connector In this case pins 2 and 3 are not used NOTE Do not use this cable unless the display module has the Wide voltage range option option V Use of the 12 v...

Страница 13: ...9 on the DB 9 connector No matter which voltage option the display is equipped with the user may only use 5Vdc through pin 9 Using 5Vdc bypasses any voltage regulator on the display WARNING These mod...

Страница 14: ...munications The RS 232 connector on the serial cable is wired so that a standard straight through 9 pin D sub cable may be used to connect the modules to a standard serial port such as COM ports on PC...

Страница 15: ...gnd 2 2 2 RS 232 Communication through the Power Connector RS 232 communication can also be achieved through the middle two pins of the power connector Figure 14 Power Connector Table 5 Connector Pino...

Страница 16: ...n The default I2C address is 0x50 The I2C data line operates on 5 volts Figure 16 Power Connector Table 6 Connector Pinout Pin 4 Ground Pin 3 SDA I2C data Pin 2 SCL I2C clock Pin 1 Vdc The display doe...

Страница 17: ...specifies I2C address in 8bits The 8th bit or least significant bit LSB or Low Order Bit of the 8bit address is read write bit If we take a standard Phillips 7bit address of 45hex this would be in bin...

Страница 18: ...it displays that character at the position currently defined The next character sent to the module then advances to the following position on the display Characters are drawn using the currently selec...

Страница 19: ...ied The insertion point is posi tioned using the base size of the current font this command does not position the insertion point at a specific pixel The pixel column used is determined by multiplying...

Страница 20: ...start or if auto scrolling is off where wrapping should occur Typically this value should be set to the first pixel row immediately below the last row of text that will fit the display 4 Displaying G...

Страница 21: ...raphics Commands In this section commands are identified by their names and decimal values Hex and ASCII equivalents are given in the summary The coordinate origin 0 0 is at the top left corner of the...

Страница 22: ...olor x1 y1 x2 y2 This command draws a rectangular box in the specified color 0 white non zero black The top left corner is specified by x1 y1 and the bottom right corner by x2 y2 4 2 6 Draw Solid Rect...

Страница 23: ...map is saved normally using mogd exe Bitmaps and fonts may use the same reference numbers For example it s possible to have both a bitmap 1 and a font 1 4 2 10 Direct Screen Write Bitmap 254 100 x1 y1...

Страница 24: ...to begin and y1 is the row The user must then define x2 as the bottom right column of the area to be utilized and y2 as the bottom right row The definition of x must lie on byte boundaries That is x...

Страница 25: ...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 should be set to 16 or greater WARNING This...

Страница 26: ...r must place the font files in their font directory as defined in the interface program This directory may be used and found under settings A font file consists of a single file with an extension mgf...

Страница 27: ...oad to the display s non volatile memory ref is the reference number to be used for this bitmap File size is a 2 byte value that must be calculated by the host before the transfer takes place 5 4 Work...

Страница 28: ...ata Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data Data D...

Страница 29: ...this case the host should cease transmission The module will return to a ready state From this point the module treats all data as raw and just stores it away The module will store the data then read...

Страница 30: ...p Each byte is shown in a different color in the diagram When the bytes are straightened out it s simple enough to find their hex values which are shown in the diagram above each byte Trailing zero by...

Страница 31: ...with Bitmap Files Uploading a bitmap is the same as uploading a font file except that the character header information is not required The bitmap file consists of a header followed by the bitmap data...

Страница 32: ...Set contrast command The only difference is it saves the contrast value in the memory of the module whereas the previous command only changes the value for the duration of use 6 1 4 Backlight On 254 6...

Страница 33: ...0x08 LK204 25 0x09 LK404 55 0x0A VFD2021 0x0B VFD2041 0x0C VFD4021 0x0D VK202 25 0x0E VK204 25 0x0F GLC12232 0x10 GLC24064 0x13 GLC24064 0x15 GLK12232 25 0x22 GLK12232 25 SM 0x24 LK404 AT 0x31 LK402 1...

Страница 34: ...rsion number of the display It will return a 1 byte hex value 7 Appendix Command Summary 7 1 General The operation of the display is controlled by a simple and consistent command set Commands control...

Страница 35: ...enting 4 binary digits 4 bits as shown here Table 13 Hex Value Table Binary Hex Decimal Binary Hex Decimal 0000 0 0 1000 8 8 0001 1 1 1001 9 9 0010 2 2 1010 A 10 0011 3 3 1011 B 11 0100 4 4 1100 C 12...

Страница 36: ...actually give the value 48 decimal 30 hex to the parameter which is wrong In the tables given in the following sections ASCII characters are shown as A with single quotes 7 4 Text Commands Syntax in t...

Страница 37: ...t font metrics FE 32 metrics 254 50 metrics 254 2 metrics n a For definition of metrics see sec tion 3 3 7 7 5 Graphics Commands Table 17 Graphics Commands Command Syntax Notes Set Drawing Color FE 63...

Страница 38: ...om right Write to Bar Graph FE 69 ref value 254 105 ref value 254 I ref value Fills the bar graph referred to as ref from start to value value is in pixels Display Saved Bitmap FE 62 ref x y 254 98 re...

Страница 39: ...ize data 254 36 ref size data 254 ref size data n a Uploads a font to the memory of the display 7 7 Miscellaneous Commands Table 21 Miscellaneous Commands Command Syntax Default Notes Clear display FE...

Страница 40: ...254 51 address 254 3 address ox50 Value is write ad dress and must be even read address is 1 higher Read module type FE 37 254 55 254 7 see table Reads the module type Returns a 1 byte hex value Set R...

Страница 41: ...ifications Table 23 Environmental Specifications Standard Temperature Extended Temperature Operating Temperature 0 C to 50 C 20 C to 70 C Storage Temperature 20 C to 70 C 30 C to 80 C Operating Relati...

Страница 42: ...haracters 320 maximum 40 characters x 8 Lines with 5x7 font Display Area 127 16 x 33 88mm XxY Dot Size 0 49 x 0 49mm XxY Dot Pitch 0 53 x 0 53mm XxY LED CCFL Backlight Life 100 000 hours typical Color...

Страница 43: ...Figure 22 Physical Layout Matrix Orbital GLC24064 39...

Страница 44: ...able on Standard Product Line Extended Temperature E Wide Voltage V Wide Voltage with Efficient Switching Power Supply VPT Blue Electroluminescent Backlight EL Cold Cathode Fluorescent Lamp Backlight...

Отзывы: