LCD0821-R Matrix Orbital, LCD0821-R Datasheet

LCD Character Display Modules Black Background Red Text

LCD0821-R

Manufacturer Part Number
LCD0821-R
Description
LCD Character Display Modules Black Background Red Text
Manufacturer
Matrix Orbital
Datasheet

Specifications of LCD0821-R

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
LCD0821
Technical Manual
Revision: 2.1

Related parts for LCD0821-R

LCD0821-R 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 is an intelligent LCD display designed to decrease development time by providing an instant solution to any project. With the ability to communicate via serial RS-232/TTL and I the versatile LCD0821 can be used with virtually any controller. The ease of use is further enhanced by an intuitive command structure to allow display settings such as backlight brightness, contrast and baud rate to be software controlled ...

Page 6

... 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 Matrix Orbital Figure 2: LCD0821 Options Figure 4: 12V Power Cable Adapter (V/VPT Models) LCD0821 2 ...

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 interface LCD0821 ...

Page 8

... Connecting The LCD0821 connects seamlessly and excellent means of testing the functionality. To connect your display to a PC, you will require a standard RS-232 9-pin serial cable such as the one pictured well as a modified 5V power adapter such as the one pictured in figure 6 on the previous page ...

Page 9

... Matrix Or- bital’s support site at http://www.matrixorbital.ca/software/software_alpha/ Matrix Orbital Comport Baudrate Figure 9: uProject Settings LCD0821 The serial port the display is plugged in to. The communication speed the display module is set to. (Default 19,200) ...

Page 10

... Manual Override 2.1 Power/Data Connector The Power/Data Connector provides a standard connector for powering the display module. The LCD0821 requires five volts for the standard display module and between nine and fifteen for the wide voltage (V) model. The voltage is applied through pins one and four of the four pin Power/Data connector. Pins two and three are reserved for serial transmission, using either the RS-232/TTL or the I on what has been selected by the Protocol Select Jumpers ...

Page 11

... NOTE This header is for RS-232 transmission only. 2.3 Manual Override The Manual Override is provided to allow the LCD0821 to be reset to factory defaults. This can be particularly helpful if the display module has been set to an unknown baud rate or I you are no longer able to communicate with it. If you wish to return the module to its default settings you must: 1 ...

Page 12

... General Purpose Output A unique feature of the LCD0821 is the ability to control relays and other external devices using a General Purpose Output, which can provide current and +5Vdc from the positive side of the 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 ...

Page 13

... 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 figure protocols default, the jumpers are set to RS-232 mode LCD0821 - GND + MAX: 20 mA, +5Vdc 2 C mode you must first 2 ...

Page 14

... The last step will be to check the Power / Data Connector on the LCD0821. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see 12 ...

Page 15

... The default read address of the display module will be 0x51, whereas the write address is 0x50 by default. This address may be changed by using cmd 254 / 51 / <address>. The LCD0821 should only be sent addresses that are even (LSB is 0). When the 2 ...

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

... RS-232 protocol default baud rate of 19,200 bps and is capable of standard baud rates from 9600 to 115,200 bps. Furthermore the LCD0821 is also capable of reproducing any non-standard baud rate in between using values entered into our baud rate generation algorithm and set through command 164 (0xA4). ...

Page 18

... Manual Override jumper to be set. Remembered Always Matrix Orbital Baud Rate 1200 2400 4800 9600 19200 28800 38400 57600 115200 2 C mode. 0xFE 0xA4 [speed] 254 164 [speed] Length Description 2 Inputed LSB MSB from baud rate formula (12-2047). LCD0821 CrystalSpeed 1 to 8×DesiredBaud 14 ...

Page 19

... Text 5.1 Introduction The LCD0821 is an intelligent display module, designed to reduce the amount of code necessary to begin displaying data. This means that it is able to display all ASCII formated characters and strings that are sent to it, which are defined in the current character set. The display module will begin displaying text at the top left corner of the display area, known as home, and continue to print to the display was a page on a typewriter ...

Page 20

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

Page 21

... NOTE The default font set for these units is Japanese, save for the -WB color option. Please consult the PCN pages at www.matrixorbital. sales representative to confirm font set availability. 5.1.2 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 ...

Page 22

... Decimal ASCII Description 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. ...

Page 23

... 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 Description 1 Column 1 Row LCD0821 19 ...

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 “M” LCD0821 20 ...

Page 25

... This command will turn the the underline cursor off. Remembered Yes 5.14 Blinking Block Cursor On Hexadecimal Syntax 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” ...

Page 26

... Special Characters 6.1 Introduction The LCD0821 has the ability to create four different sets of eight custom characters and save them to internal banks of memory. Each set of eight can be recalled from memory at any time, and selected characters can be written to the display screen. Characters and sets can be created at any time, saved for later use, and displayed to the screen through the intuitive command structure described below ...

Page 27

... Description The LCD0821 allows for upta to eight custom defined characters to be added onto the the character set. A custom character is a five by eight pixel matrix with each row represented by a byte value. For example: Each bit value of one, in the table, represents an on pixel, whereas a value of zero represents a pixel that is turned off. Therefore in order to defi ...

Page 28

... Description New to the LCD0821 has added five non-volatile memory banks for custom character storage. This is intended to allow you to create your own custom bar graphs, medium/large numbers and startup screen. However, each memory bank may be used to store a set of any eight custom characters; with the only provision being that memory bank zero contains the characters that will be used in the startup screen ...

Page 29

... 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 “o” [Row] [Col] [Digit] Length Description 1 The row number. 1 The column number. 1 Medium number to place (0-9). LCD0821 25 ...

Page 30

... Length Description 1 The column number. 1 The row number. 1 The direction of the bar data (0 or 1). 1 The length of the bar data. 0xFE 0x73 254 115 254 “s” LCD0821 26 ...

Page 31

... 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. LCD0821 27 ...

Page 32

... General purpose outputs allow you to connect devices, such as LEDs, to the LCD0821 and supply them with up to 20mA of current at 5V. The LCD0821 has 3 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup. ...

Page 33

... Display Functions 8.1 Introduction The LCD0821 employs software controlled display settings, which allow for control over, clearing the screen, changing the brightness and contrast or setting timers for turning off. The combination of these allow you complete software control over your display’s appearance. ...

Page 34

... 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). 0xFE 0x98 [brightness] 254 152 [brightness] Length Description 1 Backlight setting (0 to 255). LCD0821 30 ...

Page 35

... 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 0xFE 0x91 [contrast] 254 145 [contrast] Length Description 1 Contrast value (0 to 255). LCD0821 31 ...

Page 36

... Ensuring that your LCD0821 display’s exactly what you want it to can be the difference between a projects success and failure. This is why we incorporate features such as Data Lock into the LCD0821 With this new feature you now are in control over of how and when settings will be changed so there is no need to worry about the module acting exactly like you expected it to because all the settings may be locked and remembered for the next power up ...

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

... When this bit is set (1) the module is locked from dis- playing any new informa- tion. (text lock) Hex Dec Binary 0x00 0 0 0x50 80 01010000 Setting and Command Lock 0xFE 0xCB 0xF5 0xA0 [level] 254 203 245 160 [level] LCD0821 2 C Slave Description Unlock 34 ...

Page 39

... Read Version Number Matrix Orbital Length Description 1 Sets the data lock level 0xFE 0x34 [data] 254 52 [data] 254 “4” [data] Length Description 16 Writes the customer data 0xFE 0x35 254 53 254 “5” LCD0821 35 ...

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.7 0xFE 0x37 254 55 254 “7” LCD0821 36 ...

Page 41

... VK402-12 4A LK402-25 4C PK204-25 4E MOS 50 XBoard-S 52 MOU 54 LK202-25-USB 56 LK204-25-USB 58 LK162-12-TC 5C Unused 72 LK404-25 74 Unused 78 GLT480282 7A LCD0821 Product ID LCD2021 LCD4021 LK202-25 LK404-55 VFD2041 VK202-25 GLC12232 Unused Unused GLK12232-25 GLK12232-25-SM GLK24064-16-1U GLK12232-16 GLK19264-7T-1U LK204-7T-1U-USB MOS-AV-162A LK162-12 LK202-24-USB LK204-24-USB PK162-12 MOS-AP-162A MOS-AL-162A MOS-AV-202A PK202-24-USB MOS-AL-204 MOS-AL-402 ...

Page 42

... ASCII 254 “C” Hexadecimal 0xFE 0x44 Decimal 254 68 ASCII 254 “D” Hexadecimal 0xFE 0x47 [col] [row] Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Hexadecimal 0xFE 0x48 Decimal 254 72 ASCII 254 “H” LCD0821 Page Page ...

Page 43

... Hexadecimal 0xFE 0x68 Decimal 254 104 ASCII 254 “h” Hexadecimal 0xFE 0x7C [Col] [Row] [Dir] [Length] Decimal 254 124 [Col] [Row] [Dir] [Length] ASCII 254 “|” [Col] [Row] [Dir] [Length] LCD0821 Page Page ...

Page 44

... Hexadecimal 0xFE 0x99 [brightness] Decimal 254 153 [brightness] Hexadecimal 0xFE 0x98 [brightness] Decimal 254 152 [brightness] Hexadecimal 0xFE 0x50 [contrast] Decimal 254 80 [contrast] ASCII 254 “P” [contrast] Hexadecimal 0xFE 0x91 [contrast] Decimal 254 145 [contrast] LCD0821 Page Page Page ...

Page 45

... Read Module Type “9” Changing the Baud Rate “=” Place Vertical Bar “@” Changing the Startup Screen “B” Display On “C” Set Auto Line Wrap On “D” Set Auto Line Wrap Off “F” Display Off LCD0821 Page Page ...

Page 46

... Initialize Wide Vertical Bar “|” Place Horizontal Bar Graph Set and Save Contrast Set Remember Set and Save Brightness Set Brightness Setting a Non-Standard Baud Rate Loading Custom Characters Saving Custom Characters Save Startup Screen Custom Characters Set Startup GPO state LCD0821 ...

Page 47

... Table 58: Optical Specifications 8 columns x 2 rows 58.00mm x 32.00mm x 26.80mm 2.96mm x 5.56mm 27.80mm x 11.49mm 50, 000 hours typical 20, 000 hours typical 10, 000 hours typical LCD0821 ◦ ◦ +70 C ◦ ◦ +80 C Wide Voltage (V) +9V to +15V ...

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

... Table 59: Part Numbering Scheme Options LCD: Liquid Crystal Display 08: Eight Character Columns 2: Two Character Rows 1: Single GPO NP: Standard Grey/Yellow-Green GW: Grey/White WB: White/Blue R: Red/Black IY: Yellow/Black NP: Standard (4.75-5.25V) -V: Extended Volatge (9.00-15.0V) ◦ NP: Standard ( +50 -E: Extended Temperature (-20 Table 60: Part Options LCD0821 ◦ C) ◦ ◦ + ...

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 LCD0821 47 ...

Related keywords