GLK24064-25Technical ManualRevision: 1.0
Table 2: Connector PinoutPin 4 GroundPin 3 SDA (I2C data) / RxPin 2 SCL (I2C clock) / TxPin 1 Vdc2.1.1 Power Connection (4 pin header)Power is applied
Matrix Orbital can supply an adapter cable designed to use with the display module when it’s installedin a PC. The cable is wired as shown in the Figu
Figure 8: DB-9 Solder JumperWARNING For users with wide voltage units, please note; power mayonly be delivered by +5Vdc through the DB-9 connector, re
Figure 10: RS-232 and Power ConnectorThe RS-232 connector on the serial cable is wired so that a standard ’straight through’ 9 pin D-sub cablemay be u
This will allow TTL RS-232 levels of communication through the DB-9 connector or the power connec-tor.2.2.3 RS-232 Communication through the Power Con
Figure 14: Power ConnectorTable 5: Connector PinoutPin 4 GroundPin 3 SDA (I2C data)Pin 2 SCL (I2C clock)Pin 1 VdcThe display does not work on I2C by d
care of these things entirely within hardware subsystems which operate at the same speed as the transmissionthemselves.The display uses a standard Phi
3 Displaying TextThis chapter describes the various text display commands in detail.3.1 GeneralText is displayed on the display using fonts saved in i
3.3.3 Set text insertion point (254 71 [col] [row])This command sets the insertion point to the [column] and [row] specified. The insertion point is po
4 Displaying GraphicsThis chapter describes the various graphics display commands in detail. Uploading a bitmap to position1 will result in it being d
ContentsContents ii1 Introduction 11.1 What to Expect From the GLK24064-25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to Ex
4.2 Graphics CommandsIn this section commands are identified by their names and decimal values.The coordinate origin (0,0) is at the top left corner of
4.2.6 Draw solid rectangle (254 120 [color][x1][y1][x2][y2])This command draws a solid rectangle in the specified color (0 = white, non-zero = black).
4.2.10 Direct screen write bitmap (254 100 [x1][y1][x2][y2][data]{[data]})This command is used to draw a bitmap to the screen directly without first st
MSB = 1 shifts rightFor example, if [ref] is 1;254 107 1 (hex FE 6B 01) shifts left254 107 129 (hex FE 6B 81) shifts rightThis command shifts the cont
5 Keypad InterfaceThis chapter describes the keypad interface and associated commands in detail.5.1 GeneralThe display keypad interface processes the
Table 6: Keypad LayoutColumns1 2 3 4 51 T S R Q PRows 2 O N M L K3 J I H G F4 E D C B A5 Y X W V UNOTE The keypad connector must be wired with columns
1. Resend Key Code: This mode is similar to the action of a keyboard on a PC. In this mode, when akey is held down, the key code is transmitted immedi
5.5.5 Clear key buffer (254 69)This command clears any unread keypresses. In a menuing application, if the user presses a key whichchanges the menu co
Of course, the average module will simply have files loaded into it and will then get to work withoutever having to perform this file reorganization tas
6.3.3 Upload Font (254 36 [ref] [file size] [file data])This command begins a font upload to the display’s non-volatile memory. [ref] is the reference n
4.2.3 Continue line (254 101 [x][y]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.2.4 Put pixel (254 112 [x][y]) . . . . . . . . . .
Table 7: File Format0xFF 0xFF X size Y size Start End O-High O-LowWidth O-High O-Low Width O-High O-Low Width O-HighO-Low Width O-High O-Low Width O-H
Table 8: Uploading the File to the ModuleHost sends Module sends0xfe’$’ (command)’2’ (reference)’2’ (echo reference)0x01 (host confirms echo)0x5e (low
Figure 20: Bitmaps for h, i, and jNow the bitmaps have to be converted to bytes. If the font is 8 bits high, it becomes a fairly simple jobbecause eac
Table 10: Explanation of Bytes in the FileFF FF placeholders for actual EOF05 font width07 font height68 first ASCII character defined70 last ASCII char
7.1.1 Clear display (254 88)This command clears the display and resets the text write position to the top left of the screen.7.1.2 Set contrast (254 8
7.1.8 Set I2C address 254 51 [address])This command sets the I2C write address of the module. This value must be an even number and theread address is
7.1.11 Set Serial Number (254 52 [byte1] [byte2]Modules may be delivered with the serial number blank. In this case the user may set the desired 2 byt
in the BASIC program.Or, with C the user could (using Zcomm serial library)8.3 On NumbersLike all computerized devices, the display operates with comm
Table 14: Example of an ASCII TableThe letter A has a value of 65 decimal or 41 hexThe letter a has a value of 97 decimal or 61 hexThe number 0 has a
Command Syntax Default NotesSet text insertion point totop leftFE 48254 72254 ’H’This commandmoves the textinsertion pointto the top left ofthe displa
7.1.4 Backlight on (254 66 [minutes]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307.1.5 Backlight off (254 70) . . . . . . . . . . . . .
Command Syntax NotesPut pixel FE 70 [x][y]254 112 [x][y]254 ’p’ [x][y]Puts pixel in position (x,y). Usescurrent drawing color.Draw outline rectangle F
8.6 Keypad Interface CommandsTable 19: Keypad Interface CommandsCommand Syntax Default NotesAuto repeat mode on FE 7E [0|1]254 126 [0|1]254 ’~’ [0|1]o
Command Syntax Default NotesErase file FE B0 [type] [ref]254 173 [type] [ref]n/a Erases file inmemory. Type =1 is font, type = 5is bitmap. [ref] isrefer
Command Syntax Default NotesBacklight on FE 42 [minutes]254 66 [minutes]254 ’B’ [minutes]on Backlight willstay on for [min-utes]. If [minutes]= 0 back
Command Syntax Default NotesSet Serial Number FE 34 [byte1][byte2]254 52 [byte1][byte2]254 ’4’ [byte1][byte2]This is a one-time-use com-mand whichwork
Table 27: Optical CharacteristicsPixel Layout 240 x 64 pixels XxYNumber of Characters 320 (maximum 40 characters x 8 Lines with 5x7 font)Display Area
Figure 22: Physical LayoutTable 28: Display Options and AvailabilityModel E V VPT EL FLLCD0821 a a n/a n/a n/aLCD2041 a a n/a n/a n/aLCD4021 a a n/a n
Model E V VPT EL FLLK202-25 a a n/a n/a n/aLK204-25 a a a n/a n/aLK402-12 a a a n/a n/aLK404-55 a n/a a a n/aLK404-AT a n/a a a n/aBLC2041 a a n/a n/a
1 IntroductionThe GLK24064-25 comes equipped with the following features;• 240 x 64 pixel graphics display• Text display using built in or user suppli
1. Insert the Matrix Orbital Cd-ROM into the Cd drive.2. Locate the file "mogd.zip". It should be in the “Download” directory.3. Unzip mogd.z
2. Wire the connector to the power supply. On most connectors the RED lead will go to +5V and theBLACK lead to GND. Do not connect the GLK24064-25 to
To experiment, reverse the connector and see if it generates a more logical set of characters. Ultimately, theprogram in the micro-controller will hav
To lock down the memory chip, solder the jumper in the ’red box’ and cut the trace where the red ’X’is. This will lock down the memory chip, preventin
Comentarios a estos manuales