Matrix-orbital GLK12232-25-SM Legacy Manual do Utilizador

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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 2 - Contents

Memory LockdownGPOs Keypad Connector Power/DataConnectorConfiguration JumpersFigure 3: Electrical Connections3.1.1 Power ConnectionsWARNINGS• Do not a

Página 3

GNDTXRX+5V+5VGNDGND+12VFigure 4: Power and Data ConfigurationIf a standard module is ordered a 5 Volt input must be applied. You have two options for t

Página 4

Table 1: RS-232 PinoutPin Number Direction Description LCD Host2 Data from LCD Data out (LCD) Tx Rx3 Data to LCD Data in (LCD) Rx Tx5 - Ground gnd gnd

Página 5 - 1 Introduction

the indicated I2C setting. The required modification must be carried out, as described in the Figure below.Figure 7: I2C ConnectionsTo communicate in I

Página 6 - 1.6 Setting Up

The two outputs differ slightly in specification;• G1 provides an output which is switched LOW when ON. When G1 is OFF it is pulled up to +5Vthrough 15

Página 7

4 Displaying TextThis chapter describes the various text-display commands in detail.4.1 GeneralText is displayed on the GLK12232-25-SM using fonts sav

Página 8 - 1.9 Manual Over-ride

scrolling, care should be taken to clear areas where text is being written, particularly when wrapping occurs.This may be done using the “Draw solid r

Página 9 - 3 Connections

• [y space] specifies the number of pixels to place between rows of text (i.e. line spacing).• [scroll row] specifies the pixel row where scrolling shou

Página 10 - 3.1.1 Power Connections

Each pixel in a bitmap is described by a single bit, and may only have the values ON or OFF. Forexample, shades of grey are not supported.5.2 Graphics

Página 11 - 3.1.2 RS-232 Communications

5.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 12 - C Communications

ContentsContents ii1 Introduction 11.1 What to Expect From the GLK12232-25-SM . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to Expec

Página 13 - 3.2 General Purpose Outputs

5.3 Flow ControlThe display has built in flow control which is very useful during direct bitmap display and multiple pixelplacement. Flow control is en

Página 14

6.1 GeneralThe display keypad interface processes the keypad row / column matrix into a serial (RS-232 or I2C)data byte stream. Aside from this proces

Página 15 - 4 Displaying Text

Table 2: Keypad LayoutColumns1 2 3 4 51 A B C D E2 F G H I JRows 3 K L M N O4 P Q R S T5 U V W X YNOTE The keypad connector must be wired with columns

Página 16

Two modes of auto repeat are available and are set via the same command.1. Resend Key Code: This mode is similar to the action of a keyboard on a PC.

Página 17 - 5 Displaying Graphics

6.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 18 - 5.2 Graphics Commands

Of course, the average module will simply have files loaded into it and it will then get to work, withoutever having to perform this file reorganization

Página 19

7.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 20 - 6 Keypad Interface

Table 3: 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 21 - 6.2 Connections

Table 4: Uploading the file to the ModuleHost sends Module sends0xfe’$’ (command))’2’ (reference0x01 (host confirms echo)0x5e (low size)0x5e (echo)0x01

Página 22 - 6.5 Commands

Figure 15: 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 each

Página 23

5.2.6 Draw Solid Rectangle (254 120 [color][x1][y1][x2][y2]) . . . . . . . . . . . . . . . 155.2.7 Initialize Bar Graph (254 103 [ref][type][x1][y1][x

Página 24 - 7 Fonts and Graphics Files

Table 6: Explanation of Bytes in the FileFF FF Placeholders for actual EOF05 Font width07 Font height68 First ASCII character defined70 Last ASCII char

Página 25 - 7.3 Commands

8.1.2 Set Contrast (254 80 [contrast])This command sets the display’s contrast to [contrast], where [contrast] is a value between 0x00 and0xFF (betwee

Página 26 - 7.4 Working with Font Files

8.1.8 General Purpose Output On (254 86 [gpo #])This command turns ON either of the general purpose outputs. [gpo #] is 1 for G1 or 2 for G2. Pleaseno

Página 27

Table 8: Speed SettingsSpeed Value Speed20 Hex 9600 baud0F Hex 19200 baud95 Hex 57600 baud03 Hex 76800 baud8A Hex 115000 baud8.1.13 Set Serial Number

Página 28 - 7.4.3 A Sample Font File

9.2 Issuing CommandsCommands are issued to the display by the micro-controller. In a test setup, commands can be issuedto the display by means of a BA

Página 29

Command Syntax Default NotesSet text insertion point totop leftFE 48254 72254 ’H’n/a This commandmoves the textinsertion pointto the top leftof the di

Página 30 - 8 Miscellaneous Commands

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 31

Command Syntax Default NotesAuto repeat mode off FE 60254 96254 ’‘’off Applies to keypadonlyAuto transmit keypressesonFE 41254 65254 ’A’on Sets auto t

Página 32

Command Syntax Default NotesUpload bitmap FE ^E [ref] [size] [data]254 94[ref] [size] [data]254 ’^’ [ref] [size] [data]n/a Uploads a bitmapto the memo

Página 33 - 9 Appendix: Command Summary

Command Syntax Default NotesSet backlight brightnessand saveFE 98254 152on Changes theintensity of thebacklight. Back-light brightnessis saved for sub

Página 34 - 9.3 Text Commands

8.1.10 Set I2C Address 254 51 [address]) . . . . . . . . . . . . . . . . . . . . . . . . . . . 288.1.11 Read Module Type (254 55) . . . . . . . . . .

Página 35 - 9.4 Graphics Commands

Command Syntax Default NotesSet Serial Number FE 34 [byte1][byte2]254 52 [byte1][byte2]254 ’4’ [byte1][byte2]n/a This is a one-time-use com-mand which

Página 36 - 9.5 Keypad Interface Commands

Table 21: Optical CharacteristicsPixel Layout 122 x 32pixels XxYNumber of Characters 80 (Maximum 20 Characters x 4Lines with 5x7 Font)Display Area 60.

Página 37 - 9.6 File System Commands

Model 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/a n/aLCD4041 a n/a a a n/aLK162-12 a a n/a n/a n/aLK202-25 a a n/a

Página 38 - 9.7 Miscellaneous Commands

1 IntroductionThe GLK12232-25-SM comes equipped with the following features;• 122 x 32 pixel graphics display• Text display using built in or user sup

Página 39

1.4 mogd.exeMatrix Orbital has developed an interface program which exercises all the features of the display. Itis also used to manage font and graph

Página 40 - 10 Appendix: Specifications

Make certain the GLK12232-25-SM is equipped with the proper connector for use with this cable.Figure 1: Connections for Testing1. Refer to Figure abov

Página 41

1.8 Trying out a KeypadSince a number of different keypad types can be connected to the display, the results may be a littleunpredictable. At this poi

Página 42

NOTE This procedure does not change settings in the memory chip, it uses default set-tings stored in the main processor. This allows the user to commu

Comentários a estes Manuais

Sem comentários