Matrix-orbital GLK24064-25 Legacy Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Matrix-orbital GLK24064-25 Legacy. Matrix Orbital GLK24064-25 Legacy User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Revision: 1.0

GLK24064-25Technical ManualRevision: 1.0

Página 2 - Contents

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

Página 3

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

Página 4

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

Página 5 - 1 Introduction

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

Página 6 - 1.5.1 Here’s what to do:

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

Página 7 - 1.6 Trying out a Keypad

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

Página 8 - 1.8 Memory Chip Lock Down

care of these things entirely within hardware subsystems which operate at the same speed as the transmissionthemselves.The display uses a standard Phi

Página 9 - 2 Connections

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

Página 10 - 2.1.2 Five Volt Power Cable

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

Página 11

4 Displaying GraphicsThis chapter describes the various graphics display commands in detail. Uploading a bitmap to position1 will result in it being d

Página 12 - 2.2 Communications

ContentsContents ii1 Introduction 11.1 What to Expect From the GLK24064-25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to Ex

Página 13 - 2.2.2 TTL Communication

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

Página 14 - C Communications

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).

Página 15 - 2.2.5 ACK

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

Página 16 - 2.3 General Purpose Output

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

Página 17 - 3 Displaying Text

5 Keypad InterfaceThis chapter describes the keypad interface and associated commands in detail.5.1 GeneralThe display keypad interface processes the

Página 18

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

Página 19 - 4 Displaying Graphics

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

Página 20 - 4.2 Graphics Commands

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

Página 21

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

Página 22

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

Página 23 - 4.3 Flow Control

4.2.3 Continue line (254 101 [x][y]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.2.4 Put pixel (254 112 [x][y]) . . . . . . . . . .

Página 24 - 5 Keypad Interface

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

Página 25 - 5.5 Commands

Table 8: Uploading the File to the ModuleHost sends Module sends0xfe’$’ (command)’2’ (reference)’2’ (echo reference)0x01 (host confirms echo)0x5e (low

Página 26

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

Página 27 - 6 Fonts and Graphics Files

Table 10: Explanation of Bytes in the FileFF FF placeholders for actual EOF05 font width07 font height68 first ASCII character defined70 last ASCII char

Página 28 - 6.3 Commands

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

Página 29 - 6.4 Working with Font Files

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

Página 30

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

Página 31 - 6.4.3 A Sample Font File

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

Página 32

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

Página 33 - 7 Miscellaneous Commands

Command Syntax Default NotesSet text insertion point totop leftFE 48254 72254 ’H’This commandmoves the textinsertion pointto the top left ofthe displa

Página 34

7.1.4 Backlight on (254 66 [minutes]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307.1.5 Backlight off (254 70) . . . . . . . . . . . . .

Página 35 - C address 254 51 [address])

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

Página 36 - 8 Appendix: Command Summary

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

Página 37 - 8.3 On Numbers

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

Página 38 - 8.4 Text Commands

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

Página 39 - 8.5 Graphics Commands

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

Página 40

Table 27: Optical CharacteristicsPixel Layout 240 x 64 pixels XxYNumber of Characters 320 (maximum 40 characters x 8 Lines with 5x7 font)Display Area

Página 41 - 8.7 File System Commands

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

Página 42 - 8.8 Miscellaneous Commands

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

Página 43

1 IntroductionThe GLK24064-25 comes equipped with the following features;• 240 x 64 pixel graphics display• Text display using built in or user suppli

Página 44 - 9 Appendix: Specifications

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

Página 45

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

Página 46

To experiment, reverse the connector and see if it generates a more logical set of characters. Ultimately, theprogram in the micro-controller will hav

Página 47

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

Comentários a estes Manuais

Sem comentários