1.1 What it Does ............................. 4 1.2 What it Does Not Do ........................4 1.3 Setup for Testing ..........................4 1.4 Trying Out your LCD0821 ....................... 5 2. Connections and Configuration..................... 7 2.1 Connector Pinout ..........................7 2.1.1 Power and I C Connections ....................
Page 3
1. New PCB. Aug 2002 With TTL select. LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
The LCD0821 does not include a keypad interface. 1.3 Setup for Testing Before setting up your application you may want to try out the LCD0821. This is easily done with a PC. Here's what you'll need: A power cable with a 4 pin connector (same connector as used to connect a 3.5 inch floppy drive).
If you want to exercise some of the other features of the LCD0821 you'll need to write a program (in any convenient language such as Basic or C) to issue the required command strings. Most terminal programs are...
Page 6
0xFE character needed as a command prefix. You probably won't need to do this at the initial testing stage. If you've reached this point and operation is normal, you can be confident that your LCD0821 works properly.
Do not apply any power with reversed polarization. Do not apply any voltage other than the specified voltage. Do not use any cables other than the cables supplied by Matrix Orbital, unless you are aware of the modifications required. Do not apply more than one type of power connector at one time...
Page 8
2.1.1.1 Five Volt Modules If the LCD0821 is used in a PC it is tempting to plug a spare power connector into the unit. Don't do this! Wiring for the PC power connector and that required for the LCD0821 are different as shown in Figure 2-3 below.
Figure 2-5 Wiring for 12 volt modules If you don't want to modify cable wiring yourself, Matrix Orbital can supply an adapter cable designed to use with the display module when it's installed in a PC. The cable is wired as shown in Figure 2-6 below.
1 of the 3pin strip header connector instead of through the 4-pin SIP. If power is to be applied using the 3 pin strip header. 2.1.4 TTL Communications The LCD0821 does not communicate with TTL by default, the following modification must be made: Solder the jumper in the picture below: Figure 2-8 TTL modification 2.1.5 Configuring RS-232 and I...
Matrix Orbital module processes data. Basically the reason why a Matrix Orbital module might fail to receive a byte correctly is that it was unable to process the byte previous before the failed byte was transmitted. Because the module cannot possibly know that it would be unable to store the byte before the next byte was received it cannot know to not ACK.
The LCD0821 uses a standard Phillips 7bit address as defined by Phillips. How ever, we at Matrix Orbital specify I C address in 8bits. The 8 bit, least significant bit (LSB or Low Order Bit) of the 8bit address is read/write bit.
Page 13
For instance if the external device is a relay it must be fully clamped (using a diode and capacitor – see Figure 2-) to absorb any generated back electro-motive force (EMF). 1N400 1 10 - 100 uF Relay coil Figure 2-12 Clamping a Relay LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
Text is displayed on the LCD0821 using the built-in 5 x 7 dot matrix font (plus up to 8 user-defined characters. 3.2 The Built-In Character Font The LCD0821 includes a built-in 5 x 7 dot matrix font with the full range of ASCII characters plus a variety of extended characters, as shown in Figure 3-1. Figure 3-1 Character Set...
3.4.3 Auto scroll on (254 81) When auto scrolling is on, it causes the LCD0821 to shift the entire display’s contents up to make room for a new line of text when the text reaches the scroll position (the bottom right character position). Default is OFF.
Page 16
Moves the cursor one position to the right but does not erase any character that may be in that position. Note that this command moves the text insertion point even if the cursor is turned off. LCD0821 rev 2 Downloaded from Elcodis.com...
[dir] specifies the direction: 0x00 goes from left to right, 0x01 goes from right to left. 4.1.6 Define custom character (254 78 [c] [8 bytes]) The LCD0821 allows up to 8 user defined (custom) characters. These characters occupy the first 8 (0x00 to 0x07) places in the character set (see Figure 3-1).
Page 18
A "1" bit indicates an on (black) pixel, a "0" bit indicates an off (clear) pixel. Once defined, a character is displayed simply by issuing a value (0x00 to 0x07) corresponding to the character number. The character will be laid out as follows: LCD0821 rev 2 Downloaded from Elcodis.com...
Page 19
Cursor Line Note: Custom characters will be erased if either the "initialize bar graph" or "initialize large digits" commands are issued. LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
(between 0 and 255). Lower values cause "on" elements in the display area to appear lighter, while higher values cause "on" elements to appear darker. Lighting conditions will affect the actual value used for optimal viewing. Individual LCD0821 modules will also differ slightly from each other in appearance. In addition, values for optimal viewing while the LCD0821 backlight is on may differ from values used when backlight is off.
Page 21
5.1.7 5.1.7 Read module type (254 55) This command will return, over the RS-232 interface, the model type value of the module. Values for various modules at the time of this publication are as follows: LCD0821 - 0x01 LCD2021 - 0x03 LCD1641 - 0x04...
6.2 Issuing Commands Commands are issued to the LCD0821 by the controller. In a test setup, commands can be issued to the LCD0821 by means of a BASIC program, using the chr$( ) function. In the tables below, we've shown commands in hex, ASCII and decimal form.
57 decimal or 39 hex This gives rise to the possibility of confusion when parameters are being set on the LCD0821 For example, the GPO ON and OFF commands use a number to indicate which GPO is being controlled. We're told that acceptable values are 0 to 6.
Defines one of 8 custom "user" characters. Character character 254 78 [c][8 bytes] number is [c] between 0x00 and 0x07. The 8 bytes are 254 'N' [c][8 bytes] described in section 4.1.6. LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
General purpose FE 56 Turns the general purpose output OFF. output on 254 86 254 'V' General purpose FE 57 Turns the general purpose output ON. output off 254 87 254 'W' LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
3.55 mm Line pitch 5.35 mm Dot Size 0.55 x 0.55 mm (XxY) Dot Pitch 0.60 x 0.60 mm (XxY) LED Backlight Life 100,000 hours typical Color of Illumination Yellow Green LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
Figure 7-1 Physical Layout 7.2 Options Options Available on LCD0821 Extended Temperature Wide Voltage LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
The ratio of luminance between the light state of the display to the dark state of Contrast the display. Controller The microcontroller or PC used to control the Matrix Orbital display unit. The designation of a connector used in the RS232 interface: 9 pin connector DB-9 Firmware Software (programs or data) that has been written onto read-only memory (ROM).
Page 29
Version This refers to the firmware revision number of the module. Number Volatile Temporary memory. Once the power supply is turned off volatile memory is Memory then erased. LCD0821 rev 2 Downloaded from Elcodis.com electronic components distributor...
Need help?
Do you have a question about the LCD0821 and is the answer not in the manual?
Questions and answers