Matrix Orbital LCD2041 User Manual

Matrix Orbital LCD2041 User Manual

Hide thumbs Also See for LCD2041:

Advertisement

Quick Links

LCD2041
User Manual
LCD2041 rev 2
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LCD2041 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Matrix Orbital LCD2041

  • Page 1 LCD2041 User Manual LCD2041 rev 2...
  • Page 2: Table Of Contents

    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 Connections and Configuration......................7 2.1 Connector Pinout ..........................7 2.1.1 Power and I C Connections ....................
  • Page 3 LCD2041 rev 2...
  • Page 4: Introduction

    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: Trying Out Your Lcd2041

    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 or C) to 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

    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 voltage to the DB-9 connector AND power connector Do not apply more than +5Vdc to pin #9 on the DB-9 connector.
  • Page 8 2.1.1.1 Five Volt Modules If the LCD2041 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 LCD2041 are different as shown in Figure 2-3 below.
  • Page 9: Rs-232 Communications

    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.
  • Page 10: Applying Power Via The Rs-232 Connector

    5 volt units. To use pin 9 as the power source, the user must solder the 5 volt jumper pad beside the DB9 connector. If you have any further questions or concerns don’t hesitate to contact Matrix Orbital at support@matrix- orbital.com.
  • Page 11: I 2 C Communications

    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.
  • Page 12: General Purpose Output

    The LCD2041 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-11) to absorb any generated back electro-motive force (EMF). 1N400 1 10 - 100 uF Relay coil Figure 2-11 Clamping a Relay LCD2041 rev 2...
  • Page 14: Displaying Text

    Text is displayed on the LCD2041 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 LCD2041 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...
  • Page 15: Writing Text To The Display

    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 3.4.12 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...
  • Page 17: Bar Graphs And Special Characters

    4. 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.
  • Page 18 [col] can have values from 0x01 to 0x12 (1 to 18). [digit] has values from 0x00 to 0x09 (0 to 9). 4.1.8 Define custom character (254 78 [c] [8 bytes]) The LCD2041 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 19 Cursor Line Note: Custom characters will be erased if either the "initialize bar graph" or "initialize large digits" commands are issued. LCD2041 rev 2...
  • Page 20: Miscellaneous Commands

    (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 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 5.1.7 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:...
  • Page 22: Appendix: Command Summary

    6.2 Issuing Commands Commands are issued to the LCD2041 by the controller. In a 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.
  • Page 23: Ascii Characters

    57 decimal or 39 hex 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 0 to 6.
  • Page 24: Bar Graphs And Special Characters

    [d] (0 is right, 1 is left) of length [length]. Length 254 '|' [c][r][d][length] is measured in pixels (0x00 to 0x64 if starting in column 1). User must first use the 'h' command to initialize characters. LCD2041 rev 2...
  • Page 25 Define custom FE 4E [c][8 bytes] 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.8. LCD2041 rev 2...
  • Page 26: Miscellaneous Commands

    FE 57 Turns the general purpose output ON. output on 254 87 254 'W' Read module type FE 37 see table See table in section 5.1.7. This command 254 55 returns a 1-byte hex value. 254 '7' LCD2041 rev 2...
  • Page 27: Appendix: Specifications And Options

    2.95 x 4.75 mm (XxY), not including Character Size underline Character Pitch 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 LCD2041 rev 2...
  • Page 28: Options

    Figure 7-1 Physical Layout 7.2 Options Options Available on LCD2041 Extended Temperature Wide Voltage LCD2041 rev 2...
  • Page 29: Appendix: Glossary

    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. DB-9 The designation of a connector used in the RS232 interface: 9 pin connector Firmware Software (programs or data) that has been written onto read-only memory (ROM).
  • 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...

This manual is also suitable for:

Vfd2041Lcd0821

Table of Contents