GLK12232-25-WBL
Technical Manual
Revision: 2.0
Contents
Contents ii
1 Introduction 1
1.1 What to Expect From the GLK12232-25-WBL . . ...................... 1
1.2 What Not to Expect From the GLK12232-25-WBL ...................... 1
1.3 Keypad Interface . . . ..................................... 1
1.4 mogd.exe ............................................ 1
1.5 Setting up ............................................ 2
1.6 Trying Out the GLK12232-25-WBL . ............................. 3
1.7 Trying out a Keypad . ..................................... 3
1.7.1 Here’s what to do: . . ................................. 3
1.8 Manual Over-ride . . . ..................................... 4
2 Connectionshttp://www.atmel.com/dyn/resources/prod_documents/doc2593.pdf 4
2.1 Connector Pinout . . . ..................................... 4
2.1.1 Power Connections . . ................................. 6
2.1.2 RS-232 Communications . . . ............................. 6
2.1.3 I
2
C Communications . ................................. 6
2.1.4 ACK . . . . . ..................................... 7
2.2 General Purpose Outputs . . . ................................. 7
3 Displaying Text 8
3.1 General . ............................................ 8
3.2 Writing Text to the Display . . ................................. 9
3.3 Text Commands . . . . ..................................... 9
3.3.1 Auto scroll on (254 81) ................................. 9
3.3.2 Auto scroll off (254 82) . . . ............................. 9
3.3.3 Set text insertion point (254 71 [col] [row]) ...................... 9
3.3.4 Set current text insertion point to top Left (254 72) .................. 10
3.3.5 Set text insertion point using pixel values (254 121 [x][y]) .............. 10
3.3.6 Set current font (254 49 [font ID]) . . . . . ...................... 10
3.3.7 Set font metrics (254 50 [metrics]) . . . . . ...................... 10
4 Displaying Graphics 10
4.1 General . ............................................ 11
4.2 Graphics Commands . ..................................... 11
4.2.1 Set drawing color (254 99 [color]) . . . . . ...................... 12
4.2.2 Draw line (254 108 [x1][y1][x2][y2]) . . . ...................... 12
4.2.3 Continue line (254 101 [x][y]) ............................. 12
4.2.4 Put pixel (254 112 [x][y]) . . ............................. 12
4.2.5 Draw outline rectangle (254 114 [color][x1][y1][x2][y2]) . .............. 12
4.2.6 Draw solid rectangle (254 120 [color][x1][y1][x2][y2]) . . .............. 12
4.2.7 Initialize bar graph (254 103 [ref][type][x1][y1][x2][y2]) .............. 13
4.2.8 Write to bar graph (254 105 [reference number][value]) . .............. 13
Matrix Orbital GLK12232-25-WBL ii
4.2.9 Display saved bitmap (254 98 [reference number][x][y]) . .............. 13
4.3 Flow Control . . . . . ..................................... 13
4.3.1 Enter Flow Control Mode (254 58 [full][empty]) . .................. 14
4.3.2 Exit Flow Control Mode (254 59) . . . . . ...................... 14
5 Keypad Interface 14
5.1 General . ............................................ 14
5.2 Connections . . . . . . ..................................... 15
5.3 I
2
C Interface . . . . . ..................................... 16
5.4 RS-232 Interface . . . ..................................... 16
5.5 Commands . . . . . . ..................................... 16
5.5.1 Auto repeat mode on (254 126 [mode]) . . ...................... 16
5.5.2 Auto repeat mode off (254 96) ............................. 17
5.5.3 Auto transmit keypresses on (254 65) . . . ...................... 17
5.5.4 Auto transmit keypresses off (254 79) . . . ...................... 17
5.5.5 Clear key buffer (254 69) . . . ............................. 17
5.5.6 Poll keypad (254 38) . ................................. 17
5.5.7 Set debounce time (254 85 [time]) . . . . . ...................... 18
6 Fonts and Graphics Files 18
6.1 General . ............................................ 18
6.2 Using mogd.exe . . . . ..................................... 18
6.3 Commands . . . . . . ..................................... 19
6.3.1 Erase file (254 173 [type] [ref]) . . . . . . ...................... 19
6.3.2 Purge memory (254 33 89 33) ............................. 19
6.3.3 Upload Font (254 36 [ref] [file size] [file data]) . . .................. 19
6.3.4 Upload Bitmap (254 94[ref] [file size] [file data]) . .................. 19
6.4 Working with Font Files . . . ................................. 19
6.4.1 Font File in Table Form . . . ............................. 20
6.4.2 Uploading the File to the Module . . . . . ...................... 20
6.4.3 A Sample Font File . . ................................. 21
6.5 Working with Bitmap Files . . ................................. 23
7 Miscellaneous Commands 23
7.1 General . ............................................ 23
7.1.1 Clear display (254 88) ................................. 24
7.1.2 Set contrast (254 80 [contrast]) ............................. 24
7.1.3 Set contrast and save (254 145 [contrast]) . ...................... 24
7.1.4 Backlight on (254 66 [minutes]) . . . . . . ...................... 24
7.1.5 Backlight off (254 70) ................................. 24
7.1.6 General purpose output on (254 86 [gpo #]) ...................... 24
7.1.7 General purpose output off (254 87 [gpo #]) ...................... 25
7.1.8 Set I
2
C address 254 51 [address]) . . . . . ...................... 25
7.1.9 Read module type (254 55) . . ............................. 25
7.1.10 Set RS-232 port speed (254 57 [speed]) . . ...................... 25
7.1.11 Set Serial Number (254 52 [byte1] [byte2] . ...................... 26
7.1.12 Read Serial Number (254 53) ............................. 26
Matrix Orbital GLK12232-25-WBL iii

GLK12232-25-WB-E

Mfr. #:
Manufacturer:
Matrix Orbital
Description:
LCD Graphic Display Modules & Accessories Graphic Display White/Blue Ext Temp
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet