LCD2041-GW Matrix Orbital, LCD2041-GW Datasheet

LCD Character Display Modules White Background Blue Text

LCD2041-GW

Manufacturer Part Number
LCD2041-GW
Description
LCD Character Display Modules White Background Blue Text
Manufacturer
Matrix Orbital
Datasheet
LCD0821
Technical Manual
Revision: 2.1

Related parts for LCD2041-GW

LCD2041-GW Summary of contents

Page 1

LCD0821 Technical Manual Revision: 2.1 ...

Page 2

... Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.2 Auto Scroll 5.3 Auto Scroll Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.4 Clear Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.5 Changing the Startup Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.6 Set Auto Line Wrap 5.7 Set Auto Line Wrap Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.8 Set Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.9 Go Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.10 Move Cursor Back . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Matrix Orbital LCD0821 ...

Page 3

... Set and Save Contrast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 9 Data Security 9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 9.2 Set Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 9.3 Data Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 9.4 Set and Save Data Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 9.5 Write Customer Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.6 Read Customer Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 10 Miscellaneous 10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 10.2 Read Version Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 10.3 Read Module Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Matrix Orbital LCD0821 iii ...

Page 4

... General Purpose Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 11.5 Display Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 11.6 Data Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 11.7 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 11.8 Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 12 Appendix 12.1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 12.1.1 Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 12.1.2 Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 12.1.3 Optical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 12.2 Physical Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 12.3 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 12.4 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 12.5 Contacting Matrix Orbital . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 12.6 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Matrix Orbital LCD0821 ...

Page 5

... The LCD0821 comes in a wide variety of colors including the standard yellow/green or inverse yellow, the popular blue/white and the crisp white/grey as well as inverse red which is excellent for viewing at night. Extended voltage, and temperature options are also available, to allow you to select the display which will best fit your project needs. Matrix Orbital Figure 1: LCD0821 LCD0821 2 ...

Page 6

... Accessories NOTE Matrix Orbital provides all the interface accessories needed to get your display up and running. You will find these accessories and others on our e-commerce website at http://www.matrixorbital.com. To contact a sales associate see Section 12.5 on page 47 for contact information. Figure 3: 5V Power Cable Adapter ...

Page 7

... Built in font with provision for user defined characters • 127 modules addressable on the same 2 wire I • Ability to add a customized splash / startup screen • Software controlled contrast and brightness with configurable time-out setting minutes • Horizontal or vertical bar graphs Matrix Orbital Figure 6: Serial Cable 4FT ...

Page 8

... Connect the 5V power adapter to the 4-pin connector on the back of the display. WARNING DO NOT use the standard floppy drive power connector, as this will not provide you with the correct voltage and will damage the display module. Figure Matrix Orbital Display Module Wiring Matrix Orbital LCD0821 figure 3 on ...

Page 9

... Installing the Software 1.5.1 uProject uProject was designed by Matrix Orbital to provide a simple and easy to use interface that will allow you to test all of the features of our alpha numeric displays. To install uProject from the Matrix Orbital CD, follow the following steps: 1. Insert the Matrix Orbital CD-ROM into the CD drive 2. Locate the fi ...

Page 10

... RS-232/TTL or the I on what has been selected by the Protocol Select Jumpers. Pins two and three may be reversed by changing the Legacy Connector Jumpers in order to be compatible with previous PCB revisions. Figure 11: Power Connector and Pin out Matrix Orbital 4 RS-232 Header 5 ...

Page 11

... Power off the display module. 2. Place a Jumper on the Manual Override pins. 3. Power up the display module. 4. The display module is now set to its default values listed below in 5. Edit and save settings. Matrix Orbital Table 1: Power Requirements Standard +5Vdc ±0.25V +9V to +15V 105 mA typical ...

Page 12

... GPO. This is limited by a 240 ohm resistor as pictured below in driven by a GPO, requires a relatively high current (such as a relay) and has an internal resistance of its own greater than 250 ohms, then the 240 ohm resistor may be removed and replaced with a Jumper. Matrix Orbital Figure 13: Manual Override Jumper Table 2: Default Values 255 19 ...

Page 13

... C mode and have a default slave address of 0x50 unless it has been changed. Similarly, in order to change the display to TTL mode, simply remove the zero ohm resistors from the 232 or I solder them to the TTL jumpers. Matrix Orbital Figure 14: General Purpose Output , provide the means necessary to toggle the fi ...

Page 14

... PC power supply may fit on the Power/Data Connector however they do not have the correct pin out as can be seen in figure 8 on page 4. Matrix Orbital supplies power cable adapters for connecting to a PC, which can be found in the Accessories Section on page 2. ...

Page 15

... The default setting that will work in most environments is 128. NOTE Optimal contrast settings may vary according to factors such as temperature, view- ing angle and lighting conditions. If you are unable to resolve any issue please contact Matrix Orbital. See 12.5 on page 47 for contact information. 4 Communications 4.1 Introduction The commands listed in this chapter describe how to confi ...

Page 16

... I C master write. When the I (0101 0001), since the LSB has for take a standard Phillips 7 bit address of $45 (100 0101), Matrix Orbital’s LCD0821 would describe 2 this Phillips I C address as $8A (1000 1010). The read address would be $8B (1000 1011). ...

Page 17

... Always Default 0x50 4.3 Changing the Baud Rate Hexadecimal Syntax Decimal ASCII Parameters Parameter speed Matrix Orbital 2 C the LCD0821 communicates natively through the 0xFE 0x33 [adr] 254 51 [adr] 254 “3” [adr] Length Description 2 1 The new I C write address (0x00 - 0xFF) ...

Page 18

... Setting the baud rate out of this range could cause the display to stop working properly and require the Manual Override jumper to be set. Remembered Always Matrix Orbital Baud Rate 1200 2400 4800 9600 ...

Page 19

... When the text reaches the bottom right row able to automatically scroll all of the lines up and continue to display text, with the auto scroll option set to on. Matrix Orbital crystalspeed speed = 1 8 ∗ ...

Page 20

... Character Set Matrix Orbital Figure 16: European Character Set LCD0821 16 ...

Page 21

... Control Characters In addition to a full text set, the LCD0821 display supports the following ASCII Control characters: 0x08 Backspace 0x0C Clear screen / New page 0x0D Carriage return 0x0A Line feed / New line Matrix Orbital Figure 17: Japanese Character Set LCD0821 17 ...

Page 22

... In order to change the text that is displayed by the LCD0821 when it starts up simply send the command bytes 254 64 followed by the characters that you wish to display, starting from the top left. This command will automatically line wrap the characters that are sent to it. Matrix Orbital 0xFE 0x51 254 81 254 “Q” ...

Page 23

... Remembered Yes 5.8 Set Cursor Position Hexadecimal Syntax Decimal ASCII Parameters Parameter col row Matrix Orbital 0xFE 0x43 254 67 254 “C” 0xFE 0x44 254 68 254 “D” 0xFE 0x47 [col] [row] 254 71 [col] [row] 254 “G” [col] [row] Length ...

Page 24

... Remembered No 5.11 Move Cursor Forward Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x48 254 72 254 “H” 0xFE 0x4C 254 76 254 “L” 0xFE 0x4D 254 77 254 “ ...

Page 25

... Decimal ASCII Description This command will cause the LCD0821 to display a block cursor at the current text insertion point. Remembered Yes 5.15 Blinking Block Cursor Off Matrix Orbital 0xFE 0x4A 254 74 254 “J” 0xFE 0x4B 254 75 254 “K” 0xFE 0x53 254 83 254 “ ...

Page 26

... Creating a Custom Character Hexadecimal Syntax Decimal ASCII Parameters Parameter refID data Matrix Orbital 0xFE 0x54 254 84 254 “T” 0xFE 0x4E [refID] [data] 254 78 [refID] [data] 254 “N” [refID] [data] Length Description 1 Character reference ID (0-7) ...

Page 27

... Remembered No 6.3 Saving Custom Characters Hexadecimal Syntax Decimal Parameters Parameter Bank ID Data Matrix Orbital Custom Character ’h’ Decimal ...

Page 28

... Remembered No 6.5 Save Startup Screen Custom Characters Hexadecimal Syntax Decimal Parameters Parameter refID data Matrix Orbital Description Startup screen characters. Horizontal bars Vertical bars Medium numbers 0xFE 0xC0 [Bank] 254 192 [Bank] Length Description 1 Memory bank to save to (0-4). ...

Page 29

... This command will place a medium number (two columns high) at the [row] and [col] specified. NOTE Medium Numbers must be initialized before this command is executed. Remembered No Matrix Orbital 0xFE 0x6D 254 109 254 “m” 0xFE 0x6F [Row] [Col] [Digit] 254 111 [Row] [Col] [Digit] 254 “ ...

Page 30

... Bar graphs may be one directional only. Remembered No 6.10 Initialize Narrow Vertical Bar Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x68 254 104 254 “h” 0xFE 0x7C [Col] [Row] [Dir] [Length] 254 124 [Col] [Row] [Dir] [Length] 254 “|” [Col] [Row] [Dir] [Length] Length ...

Page 31

... NOTE Wide bars have a width of five pixels. Remembered No 6.12 Place Vertical Bar Hexadecimal Syntax Decimal ASCII Parameters Parameter Column Length Matrix Orbital 0xFE 0x76 254 118 254 “v” 0xFE 0x3D [Column] [Length] 254 61 [Column] [Length] 254 “=” [Column] [Length] Length Description 1 The column number. 1 The length of the bar data ...

Page 32

... NOTE OFF means that the output is pulled HIGH. Remembered Yes 7.3 General Purpose Output On Hexadecimal Syntax Decimal ASCII Parameter Parameters Num Matrix Orbital 0xFE 0x56 [Num] 254 86 [Num] 254 “V” [Num] Length Description 1 GPO number. 0xFE 0x57 [Num] 254 87 [Num] 254 “W” [Num] ...

Page 33

... Display On Hexadecimal Syntax Decimal ASCII Parameters Parameter min Matrix Orbital 0xFE 0xC3 [Num] [state] 254 195 [Num] [state] Length Description 1 GPO number. 1 Startup state (0: Off, 1: On) 0xFE 0x42 [min] 254 66 [min] 254 “ ...

Page 34

... Set and Save Brightness Hexadecimal Syntax Decimal Parameter Parameters brightness Description This command sets and saves the display [brightness] as default. Remembered Always Matrix Orbital 0xFE 0x46 254 70 254 “F” 0xFE 0x99 [brightness] 254 153 [brightness] Length Description 1 Display brightness setting (0 to 255). ...

Page 35

... Default 128 8.7 Set and Save Contrast Hexadecimal Syntax Decimal Parameters Parameter contrast Matrix Orbital 0xFE 0x50 [contrast] 254 80 [contrast] 254 “P” [contrast] Length Description 1 Contrast value (0 to 255). This command has only 32 levels for X-Board based displays, meaning eight ...

Page 36

... Set Remember Hexadecimal Syntax Decimal Parameter Parameters switch Matrix Orbital 0xFE 0x93 [switch] 254 147 [switch] Length Description not remember, 1: Remember LCD0821 32 ...

Page 37

... Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered No Default Do not remember 9.3 Data Lock Hexadecimal Syntax Decimal Parameters Parameter level Matrix Orbital 0xFE 0xCA 0xF5 0xA0 [level] 254 202 245 160 [level] Length Description 1 Sets the data lock level LCD0821 33 ...

Page 38

... Sending a new data lock level will override the previous data lock level. • Data lock levels may be combined. Remembered Always Default 0 Examples 9.4 Set and Save Data Lock Hexadecimal Syntax Decimal Matrix Orbital Bit Data Lock Level Description 0-2 Reserved Should be left 0 3 Communication When this bit is set (1) the Speed Lock ...

Page 39

... This chapter covers the ’Report Version Number’ and ’Read Module Type’ commands. These commands can be particularly useful to find out more information about the display module before contacting technical support. 10.2 Read Version Number Matrix Orbital Length Description 1 Sets the data lock level ...

Page 40

... This command will return a byte representing the version of the module, see the following table as an example: Remembered No 10.3 Read Module Type Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x36 254 54 254 “6” Hex Value Version Number 0x19 Version 1.9 0x57 Version 5 ...

Page 41

... This command will return a hex value corresponding to the the model number of the module see the following table: Hex Remembered No Matrix Orbital Product ID Hex LCD0821 2 LCD2041 6 LCD4041 8 LK204-25 A VFD2021 C VFD4021 E VK204-25 10 GLC24064 14 GLK24064-25 16 Unused 22 Unused 24 GLK24064-16-1U-USB 26 GLK19264-7T-1U-USB 28 GLK12232-16-SM 2A LK204-7T-1U 2C LK404-AT 32 LK402-12 34 LK204-25PC 36 VK202-24-USB 38 VK204-24-USB 3A VK162-12 3C PK202-25 3E MOS-AL-202A 40 MOS-AP-202A 42 MOS-AL-082 44 MOS-AV-204 46 ...

Page 42

... Auto Scroll On Auto Scroll Off Clear Screen Changing the Startup Screen Set Auto Line Wrap On Set Auto Line Wrap Off Set Cursor Position Go Home Matrix Orbital Syntax Hexadecimal 0xFE 0x33 [adr] Decimal 254 51 [adr] ASCII 254 “3” [adr] Hexadecimal 0xFE 0x39 [speed] ...

Page 43

... Saving Custom Characters Loading Custom Characters Save Startup Screen Custom Characters Initialize Medium Number Place Medium Numbers Initialize Horizontal Bar Place Horizontal Bar Graph Matrix Orbital Syntax Hexadecimal 0xFE 0x4C Decimal 254 76 ASCII 254 “L” Hexadecimal 0xFE 0x4D Decimal 254 77 ASCII 254 “ ...

Page 44

... General Purpose Output On Set Startup GPO state 11.5 Display Functions Description Display On Display Off Set Brightness Set and Save Brightness Set Contrast Set and Save Contrast Matrix Orbital Syntax Hexadecimal 0xFE 0x73 Decimal 254 115 ASCII 254 “s” Hexadecimal 0xFE 0x76 Decimal ...

Page 45

... Matrix Orbital Syntax Hexadecimal 0xFE 0x93 [switch] Decimal 254 147 [switch] Hexadecimal 0xFE 0xCA 0xF5 0xA0 [level] Decimal 254 202 245 160 [level] Hexadecimal 0xFE 0xCB 0xF5 0xA0 [level] Decimal 254 203 245 160 [level] ...

Page 46

... Matrix Orbital ASCII “G” Set Cursor Position “H” Go Home “J” Underline Cursor On “K” Underline Cursor Off “L” Move Cursor Back “M” Move Cursor Forward “ ...

Page 47

... Backlight On (YG & IY) Backlight On (R) Backlight On (GW & WB) 12.1.3 Optical Character x Lines Module Size Character Size Display Size LED Backlight Half-Life (YG & IY) LED Backlight Half-Life (R) LED Backlight Half-Life (GW & WB) Matrix Orbital Table 56: Environmental Specifications Standard Temperature Extended Temperature ◦ ◦ +50 C -20 ◦ ...

Page 48

... NOTE To prolong life recommended that the backlight be turned off when the display is not in use. 12.2 Physical Layout Matrix Orbital LCD0821 44 ...

Page 49

... Matrix Orbital Figure 18: Physical Diagram LCD0821 45 ...

Page 50

... V Wide Voltage (+9 to +15Vdc) GW Grey Text / White Background WB White Text / Blue Background R Inverse Red IY Inverse Yellow MSB Most Significant Byte LSB Least Significant Byte Matrix Orbital -E 7 Table 59: Part Numbering Scheme Options LCD: Liquid Crystal Display 08: Eight Character Columns ...

Page 51

... Contacting Matrix Orbital Telephone Sales: 1(403)229-2737 Support: 1(403)204-3750 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com 12.6 Revision History Revision 2.0 2.1 Matrix Orbital Table 61: Revision History Description Author Initial Manual Matrix Orbital Updated Backlight Life Clark ...

Related keywords