LCD2041 Matrix Orbital, LCD2041 Datasheet

LCD Character Display Modules Yel/Grn Background Black Text

LCD2041

Manufacturer Part Number
LCD2041
Description
LCD Character Display Modules Yel/Grn Background Black Text
Manufacturer
Matrix Orbital
Datasheet

Specifications of LCD2041

Character Count X Line
20 x 4
Module Size (w X H X T)
98 mm x 60 mm x 27.5 mm
Features
I2C LCD with software controlled contrast
Voltage Rating
4.75 VDC to 5.25 VDC
Operating Temperature Range
- 20 C to + 70 C
Backlight Type
LED Yellow-Green
Interface
I2C
LCD2041
User Manual
LCD2041 rev 2
1

Related parts for LCD2041

LCD2041 Summary of contents

Page 1

... LCD2041 rev 2 LCD2041 User Manual 1 ...

Page 2

... Table of Contents 1. Introduction ........................................................................................................................................... 4 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 LCD2041 ............................................................................................................... 5 2. Connections and Configuration............................................................................................................ 7 2.1 Connector Pinout .............................................................................................................................. 7 2 2.1.1 Power and I C Connections .................................................................................................... 7 2.2 RS-232 Communications .................................................................................................................. 9 2.2.1 Connections ............................................................................................................................ 9 2.2.2 Applying Power via the RS-232 Connector.......................................................................... 10 2 ...

Page 3

... LCD2041 rev 2 3 ...

Page 4

... The LCD2041 does not include a keypad interface. 1.3 Setup for Testing Before setting up your application you may want to try out the LCD2041. 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) ...

Page 5

... BLACK lead to GND. See Section 2.1.1 for details. unit is subjected to over-voltage or reversed polarity. 3. Connect the LCD2041 to the PC using the serial cable and adapter if required. Make sure the RS-232 cable includes the required ground lead. There must be no voltage differential between the RS- 232 ground and the power supply ground ...

Page 6

... If you want to exercise some of the other features of the LCD2041 you'll need to write a program (in any convenient language such as Basic issue the required command strings. Most terminal programs are unable to issue the 0xFE character needed as a command prefix. You probably won't need to do this at the initial testing stage ...

Page 7

... Connections and Configuration 2.1 Connector Pinout Refer to the diagram below for this chapter. The LCD2041 has three connectors: Connector Function 2 pin header General purpose output (see section 0) 4 pin power and I DB-9F RS-232/power (see section 2.2.2) 2 2.1.1 Power and I C Connections Power is applied via pins 1 and 4 as shown in Figure 2-1. Power requirement for standard units is +5 VDC ± ...

Page 8

... Pin 4 Ground 2.1.1.1 Five Volt Modules If the LCD2041 is used 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 LCD2041 are different as shown in Figure 2-3 below. Figure 2-3 Power Connector wiring differences If you don't want to modify cable wiring yourself, Matrix Orbital can supply an adapter cable designed to use with the LCD2041 when it's installed ...

Page 9

... PC. The cable is wired as shown in Figure 2-6 below. 2.2 RS-232 Communications 2.2.1 Connections A standard DB-9F is provided for RS-232 communications. Power may also be supplied via this connector if desired. See Figure 2-7 for pin connections. LCD2041 rev wiring GND +12 V ...

Page 10

... Warning: Use this method of power up at your own risk. Application of a voltage to pin 9 greater than 5.5 volts will cause immediate destruction of unit and void the warranty. 2.2.3 Configuring RS-232 and I 2 RS-232 baud rate and I C address are configured by means of jumpers (see ). LCD2041 rev 2 Direction Description Data from LCD Data out (LCD) Data to LCD ...

Page 11

... The reason for this situation in deference to situations you might be familiar with (i.e. memory chips, etc…) is that the Matrix Orbital module employs a microprocessor to perform these data storage functions. A memory chip takes care of these things entirely with in hardware subsystems that operate at the same speed as the transmission themselves. LCD2041 rev 2 Slave Address J3 J2 ...

Page 12

... The LCD2041 uses a standard Phillips 7bit address as defined by Phillips. How ever Matrix Orbital 2 th specify I C address in 8bits. The 8 read/write bit take a standard Phillips 7bit address of 45hex this would be in binary 1000101. This is 7bits. If one adds the read write bit to this 7bit address and you assume that you are writing one gets 10001010 ...

Page 13

... Note: The GPOs do not have any over current or over/under voltage protection so care must be taken when using them. For instance if the external device is a relay it must be fully clamped (using a diode and capacitor – see Figure 2-11) to absorb any generated back electro-motive force (EMF 100 uF LCD2041 rev 2 Jumper 240 ohm resistor ...

Page 14

... Text is displayed on the LCD2041 using the built- dot matrix font (plus user-defined characters. 3.2 The Built-In Character Font The LCD2041 includes a built- dot matrix font with the full range of ASCII characters plus a variety of extended characters, as shown in Figure 3-1. LCD2041 rev 2 Figure 3-1 Character Set ...

Page 15

... Disables automatic line wrapping. 3.4.3 Auto scroll on (254 81) When auto scrolling is on, it causes the LCD2041 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

... Cursor right (254 77) 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. LCD2041 rev 2 16 ...

Page 17

... Bar Graphs and Special Characters The LCD2041 includes the ability to draw bar graphs (either horizontal or vertical), large numbers, and allows users to define up to eight special characters. Before issuing commands to the LCD2041 please read sections 6.2 and 6.3. Eight characters (ASCII values 0x00 to 0x07) are set aside for use with bar graphs, user defined characters, and large digits ...

Page 18

... Define custom character (254 78 [c] [8 bytes]) The LCD2041 allows user defined (custom) characters. These characters occupy the first 8 (0x00 to 0x07) places in the character set (see Figure 3-1). ...

Page 19

... Note: Custom characters will be erased if either the "initialize bar graph" or "initialize large digits" commands are issued. LCD2041 rev Cursor Line 19 ...

Page 20

... 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 LCD2041 modules will also differ slightly from each other in appearance. In addition, values for optimal viewing while the LCD2041 backlight is on may differ from values used when backlight is off ...

Page 21

... Read module type (This Command does not work on the LCD2041) This command will return, over the RS-232 interface, the model type value of the module. This command returns a 1-byte hex value.Values for various modules at the time of this publication are as follows: LCD0821 - 0x01 ...

Page 22

... Chapters 3 and 4 in the same sequence as in the following tables. 6.2 Issuing Commands Commands are issued to the LCD2041 by the controller test setup, commands can be issued to the LCD2041 by means of a BASIC program, using the chr$( ) function. In the tables below, we've shown commands in hex, ASCII and decimal form. All commands begin with the prefix character 0xFE (254 decimal) ...

Page 23

... This gives rise to the possibility of confusion when parameters are being set on the LCD2041 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 All such parameters must use numeric values (i.e. the actual byte values). ...

Page 24

... Draw vertical bar FE 3D [col][length] graph 254 61 [col][length] 254 '=' [col][length] Draw horizontal bar FE 7C [c][r][d][length] graph 254 124 [c][r][d][length] 254 '|' [c][r][d][length] LCD2041 rev 2 Default Notes R R Turns off the underline cursor. on Turns on the blinking block cursor Turns off the blinking block cursor ...

Page 25

... FE 4E [c][8 bytes] character 254 78 [c][8 bytes] 254 'N' [c][8 bytes] LCD2041 rev 2 Initializes the user character set to make large digits. Place large digit number [digit] in column [col] of the display. Cursor moves to bottom right of large digit. [digit] is 0x00 to 0x09, [col] is 0x01 to 0x12 (i. decimal). ...

Page 26

... General purpose FE 57 output on 254 87 254 'W' Read module type FE 37 254 55 254 '7' LCD2041 rev 2 Default Notes n/a Clears screen of text and graphics, places text cursor at top left. 0x80 Sets display contrast. Compensates for 128 viewing angle. Contrast is a value between 0 and 255 (hex 0 to FF) ...

Page 27

... Display Area Character Size Character Pitch Line pitch Dot Size Dot Pitch LED Backlight Life Color of Illumination LCD2041 rev 2 Environmental Specifications Standard Temperature Extended Temperature 0°C to +50°C -20°C to +70°C 90% max non-condensing Electrical Specifications 4.75 - 5.25 Vdc (optional 8 – 15 VDC) ...

Page 28

... Options Extended Temperature Wide Voltage LCD2041 rev 2 Figure 7-1 Physical Layout Options Available on LCD2041 ...

Page 29

... I² multi- master bus, which means that multiple chips can be connected to the same bus and each one can act as a master by initiating a data transfer. Interface A means by which two systems interact. LCD2041 rev 2 29 ...

Page 30

... A port, or interface, that can be used for serial communication, in which only 1 Serial Port bit is transmitted at a time. 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. LCD2041 rev 2 30 ...

Related keywords