Matrix-orbital GLK12232-25-SM Manual do Utilizador

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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 0
GLK12232-25-SM
Technical Manual
Revision: 2.1
Vista de página 0
1 2 3 4 5 6 ... 69 70

Resumo do Conteúdo

Página 1 - Revision: 2.1

GLK12232-25-SMTechnical ManualRevision: 2.1

Página 2 - Contents

3. Locate the file MogdSharp.zip on your desktop4. Unzip MogdSharp.zip to a temporary directory using a program such as Winzip, Pkzip, etc.5. Double cl

Página 3

2 Hardware InformationRefer to the following diagram for this chapter:Figure 10: GLK12232-25-SMTable 1: Hardware information1 Power/Data Connector 5 P

Página 4

Power/Connector Regular GLK12232-25-SM input -V option inputVcc +5V only 9-15V+5V +5V only N/C+12V N/C +12VNOTE +12V is nominal for the -V but supply

Página 5

WARNINGS• Do not apply and power with reversed polarization• Do not apply any voltage other than the specified voltage• Do not use any cables other tha

Página 6 - 1 Getting Started

2.3 Keypad Interface ConnectorThe GLK12232-25-SM provides a Keypad Interface Connector which allows for up to a five by fivematrix style keypad to be di

Página 7 - 1.2 Accessories

relatively high current (such as a relay) and has an internal resistance of its own greater than 250 ohms, thenthe 240 ohm resistor may be removed and

Página 8 - 1.3 Features

Figure 15: Manual Override JumperTable 2: Default ValuesContrast 128Backlight 255Baud Rate 19.2 kbpsI2C Slave Address 0x50Data Lock 0x00RS232AutoTrans

Página 9 - 1.5 Installing the Software

Figure 16: Filesystem Lock Jumper3 Troubleshooting3.1 The display does not turn on when power is applied.• First, you will want to make sure that you

Página 10

• If you are communicating to the display via I2C please ensure that the data is being sent to the correctaddress. The default slave address for the d

Página 11 - 2 Hardware Information

4.1.1 I2C Communication SummaryThe GLK12232-25-SM is capable of communicating at 100 KHz in I2C mode, with 127 units address-able on a single I2C comm

Página 12

ContentsContents ii1 Getting Started 11.1 Display Options Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Accesso

Página 13 - 2.2 Protocol Select Jumpers

is high. Next, the display must be addressed using a one byte hexadecimal value, the default to write to theunit is 0x50, while read is 0x51. Then inf

Página 14

Description This command enables flow control. When the buffer fills so that only[full] bytes are available, the display will return an “almost full”mes

Página 15 - 2.5 Manual Override

SyntaxHexadecimal 0xFE 0x33 [adr]Decimal 254 51 [adr]ASCII 254 “3” [adr]ParametersParameter Length Descriptionadr 1 The new I2C write address (0x00 -0

Página 16 - 2.6 Filesystem Lock Jumper

Description This command sets the RS-232 port to the specified [speed]. The changetakes place immediately. [speed] is a single byte specifying the desi

Página 17 - 3 Troubleshooting

ExamplesCrystal Speed 16 MhzDesired BAUD 13,500speed =crystalspeed8∗ DesiredBaud− 1speed = 148.15 − 1speed =16, 000, 0008∗ 13, 500− 1speed = 147.15• L

Página 18 - 4 Communications

5.1.1 Font File FormatA font file consists of three parts, a header, a character table and bitmap data.1. Header (4 bytes)(a) Nominal Width (1 byte)(b)

Página 19 - C Transaction Example

Bitmap Data Byte Hex Value1 0 0 0 01 0 0 0 0 10000100 0x841 0 1 1 0 00101101 0x2D1 1 0 0 1 10011000 0x981 0 0 0 1 11000110 0xC61 0 0 0 1 00100000 0x20

Página 20 - 4.2 Turn Flow Control On

Table 11: Sample Font File0x05 0x07 0x68 0x6A 0x00 0x0D 0x05 0x000x12 0x03 0x00 0x15 0x04 0x84 0x2D 0x980xC6 0x20 0x43 0x24 0x84 0x2D 0x98 0x190x60Red

Página 21 - C Slave Address

Description In order to set the font on the GLK12232-25-SM you must know thefont identification number of the font that you wish to use. The font IDis

Página 22 - 4.5 Changing the Baud Rate

SyntaxHexadecimal 0xFE 0xAC [value]Decimal 254 172 [value]ParametersParameter Length Descriptionvalue 1 Value (0: Off, 1: On)Description This command

Página 23 - 8×DesiredBaud

6 Text 246.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246.1.1 Character Set . . . . . . . .

Página 24

Description This command moves the text insertion point to the top left of thedisplay area (Row 1, Column 1).Remembered No6.3 Setting the Cursor Posit

Página 25 - 5.1.2 Creating a Font

Description When auto scrolling is on, it causes the display to shift the entiredisplay’s contents up to make room for a new line of text when the tex

Página 26

Description The GLK12232-25-SM is capable of storing 128 font and bitmap filesup to 16 Kbytes total. In order to upload a bitmap to theGLK12232-25-SM y

Página 27 - 5.3 Setting the Current Font

ParametersParameter Length DescriptionX 1 Left bounds.Y 1 Top bounds.W 1 WidthH 1 HeightD (width*height)/8DataDescription Drawing a bitmap to the GLK1

Página 28 - 5.5 Set Box Space Mode

Description This command sets the drawing color for subsequent graphic commandsthat do not have the drawing color passed as a parameter. The parameter

Página 29 - 6.2 Move Cursor Home

SyntaxHexadecimal 0xFE 0x65 [x] [y]Decimal 254 101 [x] [y]ASCII 254 “e” [x] [y]ParametersParameter Length Descriptionx 1 Left bounds.y 1 Top Bounds.De

Página 30 - 6.5 Auto Scroll On

Description This command draws a solid rectangle in the specified color (0: White,1: Black). The top left corner is specified by (x1,y1) and the bottomr

Página 31 - 7 Bitmaps

SyntaxHexadecimal 0xFE 0x69 [ref] [value]Decimal 254 105 [ref] [value]ASCII 254 “i” [ref] [value]ParametersParameter Length Descriptionref 1 Initializ

Página 32 - 7.4 Drawing a Bitmap Directly

Description A strip chart is an area of the screen reserved for horizontal scrolling.This is normally used as follows:• Initialize the strip chart, wh

Página 33 - 8 Bar Graphs and Drawing

Description This command shifts the strip chart left or right. [ref] determines bothwhich strip chart is used and which direction it will shift. The d

Página 34 - 8.5 Continue a Line

11 Display Functions 4011.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4011.2 Clear Screen . .

Página 35 - 8.7 Drawing a Solid Rectangle

SyntaxHexadecimal 0xFE 0x57 [Num]Decimal 254 87 [Num]ASCII 254 “W” [Num]ParametersParameter Length DescriptionNum 1 GPO number.Description This comman

Página 36 - 8.9 Drawing a Bar Graph

10.1.1 I2C InterfaceThe keypad is read by I2C master read. In short, this means that a read of the module will always returnthe first unread key press.

Página 37

10.4 Poll Key PressSyntaxHexadecimal 0xFE 0x26Decimal 254 38ASCII 254 “&”Description This command returns any buffered key presses via the serial

Página 38 - 8.11 Shifting a Strip Chart

ParametersParameter Length Descriptiontime 1 Debounce time in increments of6.554ms (0 - 255).Description This command sets the time between key press

Página 39 - 9 General Purpose Output

Examples When the key code associated with key ’P’ (0x50) is pressed, the releasecode is ’p’ (0x70). In RS-232 polled mode or via the I2C, the “KeyDow

Página 40 - 10 Keypad

11 Display Functions11.1 IntroductionThe GLK12232-25-SMemploys software controlled display settings, which allow for control over, clear-ing the scree

Página 41 - 10.1.2 RS232 Interface

Description This command turns the backlight off immediately. The backlight willremain off until a ’Display On’ command has been received.Remembered Y

Página 42 - 10.6 Set Debounce Time

Description This command sets the display’s contrast to [contrast], where [contrast]is a value between 0x00 and 0xFF (between 0 to 255). Lower valuesc

Página 43 - 10.7 Set Auto Repeat Mode

12 Filesystem12.1 IntroductionThe GLK12232-25-SM incorporates a 16 Kbyte on board flash memory in order to allow up to 128 fontand bitmap files to be tr

Página 44 - 10.9 Assign Keypad Codes

Host Display Comments0xFE Command Prefix0x24 Upload Font File Command0x01 Reference ID0x19 Size (LSB)0x00 Size (MSB)0x01 Confirmation Byte0x01 Confimatio

Página 45 - 11 Display Functions

15.11Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5915.12Command By Number . . . . . . . . . . .

Página 46 - 11.7 Set Contrast

NOTES• The GLK12232-25-SM has watch dog timer, set to 2.1 seconds in between transmis-sions, in order prevent the display module from staying in a wai

Página 47 - 11.8 Set and Save Contrast

Host Display Comments0xFE Command Prefix0xDB XModem Upload Command0x85 Command byte 10x06 Command byte 20x30 Command byte 30x00 Size Low Byte0x40 Size

Página 48 - 12 Filesystem

SyntaxHexadecimal 0xFE 0x21 0x59 0x21Decimal 254 33 89 33ASCII 254 “!” “Y” “!”Description This command completely erases the display’s non-volatile me

Página 49

12.5 Get Filesystem DirectorySyntaxHexadecimal 0xFE 0xB3Decimal 254 179Description This command will return a directory of the contents of the file sys

Página 50 - 12.2 Wipe Filesystem

SyntaxHexadecimal 0xFE 0xB2 [Type] [refID]Decimal 254 178 [Type] [refID]ParametersParameter Length DescriptionType 1 File type (0:Font File, 1:Bitmap)

Página 51

13.2 Set RememberSyntaxHexadecimal 0xFE 0x93 [switch]Decimal 254 147 [switch]ParametersParameter Length Descriptionswitch 1 0: Do not remember, 1: Rem

Página 52 - 12.4 Get Filesystem Space

DescriptionParanoia allows you to lock the module from displaying information, aswell as enables the protection of the filesystem and module settings.E

Página 53 - 12.7 Downloading a File

13.4 Set and Save Data LockSyntaxHexadecimal 0xFE 0xCB 0xF5 0xA0 [level]Decimal 254 203 245 160 [level]ParametersParameter Length Descriptionlevel 1 S

Página 54 - 13 Data Security

Description Reads whatever was written by Write Customer Data.Remembered No14 Miscellaneous14.1 IntroductionThis chapter covers the ’Report Version Nu

Página 55 - 13.3 Data Lock

Description This command will return a hex value corresponding to the the modelnumber of the module see the following table:Hex Product ID Hex Product

Página 56

1 Getting StartedFigure 1: GLK12232-25-SMThe GLK12232-25-SM is an intelligent graphic LCD display designed to decrease development time byproviding an

Página 57 - 13.7 Read Customer Data

15 Command Summary15.1 CommunicationsDescriptionSyntaxPageTurn Flow Control OnHexadecimal 0xFE 0x3A [full] [empty]Decimal 254 58 [full] [empty]ASCII 2

Página 58 - 14 Miscellaneous

DescriptionSyntaxPageSetting the CursorPositionHexadecimal 0xFE 0x47 [col] [row]Decimal 254 71 [col] [row]ASCII 254 “G” [col] [row]25Setting the Curso

Página 59

DescriptionSyntaxPageDraw a RectangleHexadecimal 0xFE 0x72 [color] [x1] [y1] [x2] [y2]Decimal 254 114 [color] [x1] [y1] [x2] [y2]ASCII 254 “r” [color]

Página 60 - 15 Command Summary

DescriptionSyntaxPageClear Key BufferHexadecimal 0xFE 0x45Decimal 254 69ASCII 254 “E”37Set Debounce TimeHexadecimal 0xFE 0x55 [time]Decimal 254 85 [ti

Página 61 - 15.5 Bar Graphs and Drawing

DescriptionSyntaxPageDeleting a FileHexadecimal 0xFE 0xAD [type] [refID]Decimal 254 173 [type] [refID]47Get Filesystem SpaceHexadecimal 0xFE 0xAFDecim

Página 62 - 15.7 Keypad

15.12 Command By NumberCommand DescriptionPageHex Dec ASCII0x21 33 “!” Wipe Filesystem 450x24 36 “$” Uploading a Font File 220x26 38 “&” Poll Key

Página 63 - 15.9 Filesystem

Command DescriptionPageHex Dec ASCII0x78 120 “x” Drawing a Solid Rectangle 300x79 121 “y” Setting the Cursor Coordinate 250x7E 126 “~” Set Auto Repeat

Página 64 - 15.11 Miscellaneous

16.1.2 ElectricalTable 82: Electrical SpecificationsStandard Wide Voltage (V)Supply Voltage +5Vdc ±0.25V +9V to +15VMinimum Current 30mA typicalBacklig

Página 65 - 15.12 Command By Number

Figure 19: Physical DiagramMatrix Orbital GLK12232-25-SM 63

Página 66 - 16 Appendix

16.4 Ordering Information()G L K 122 32 -25 -SM -WB -V -E1 2 3 4 5 6 7 8 9 10Table 84: Part Numbering Scheme# Description Options1 Screen Type G: Grap

Página 67 - 16.3 Physical Layout

Figure 2: GLK12232-25-SM Options1.2 AccessoriesNOTE Matrix Orbital provides all the interface accessories needed to get your displayup and running. Yo

Página 68 - Figure 19: Physical Diagram

Sales: 1(403)229-2737Support: 1(403)204-3750On The WebSales: http://www.MatrixOrbital.comSupport: http://www.MatrixOrbital.caForums: http://www.lcdfor

Página 69 - 16.5 Definitions

Figure 7: Communication and 5V Power CableFigure 8: 4x4 Keypad1.3 Features• 122 x 32 pixel graphics display• Selectable communication protocol, Serial

Página 70 - 16.7 Revision History

• Extended temperature available for extreme environments of -20C to 70C• Extended voltage and efficient power supply available• Support for up to a tw

Comentários a estes Manuais

Sem comentários