Matrix Orbital LCD0821 Bedienungsanleitung

LCD0821 rev 2 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 LCD0821 ............................................................................................................... 5
2. Connections and Configuration............................................................................................. 7
2.1 Connector Pinout .............................................................................................................................. 7
2.1.1 Power and I2C Connections .................................................................................................... 7
2.1.2 RS-232 Communications........................................................................................................ 9
2.1.3 Applying Power via the RS-232 Connector.......................................................................... 10
2.1.4 Configuring RS-232 and I2C................................................................................................. 10
2.1.5 I2C Communications............................................................................................................. 11
2.2 General Purpose Output.................................................................................................................. 12
3. Displaying Text ...................................................................................................................... 14
3.1 General ........................................................................................................................................... 14
3.2 The Built-In Character Font............................................................................................................ 14
3.3 Writing Text to the Display ............................................................................................................ 15
3.4 Text Commands.............................................................................................................................. 15
4. Bar Graphs and Special Characters .................................................................................... 17
4.1 Command List ................................................................................................................................ 17
5. Miscellaneous Commands ................................................................................................... 20
5.1 Command List ................................................................................................................................ 20
6. Appendix: Command Summary ........................................................................................... 22
6.1 General ........................................................................................................................................... 22
6.2 Issuing Commands.......................................................................................................................... 22
6.3 On Numbers.................................................................................................................................... 22
6.3.1 ASCII Characters.................................................................................................................. 23
6.4 Text Commands.............................................................................................................................. 23
6.5 Bar Graphs and Special Characters ................................................................................................ 24
6.6 Miscellaneous Commands .............................................................................................................. 25
7. Appendix: Specifications and Options................................................................................ 26
7.1 Specifications.................................................................................................................................. 26
7.2 Options ........................................................................................................................................... 27
8. Appendix: Glossary............................................................................................................... 28
Revisions
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 4
1. Introduction
Your LCD0821 has the following features:
8 column by 2 line text display
Built-in font with provision for up to 8 user-defined characters
Speeds from 1200 bps to a lighting fast 19.2 Kbps over RS-232
Communicate over RS-232 or I²C
Use up to 16 modules on the same 2-wire I2C interface
Software controlled contrast
Backlight with configurable time-out setting up to 180 minutes
One general purpose output for a variety of applications
Horizontal or Vertical bar graphs
Variable power options, +5V or +7V to +15V
Extended temperature option.
1.1 What it Does
The LCD0821 is designed as the display unit for an associated controller. The controller may be anything
from a single board, special purpose microcontroller to a PC, depending on the application. This controller
is responsible for what you see on the screen of the LCD0821.
The LCD0821 provides a simple command structure to allow text and bar graphs to be displayed on the
screen. Text fonts are built in, and use standard ASCII mapping. Provision is made for up to 8 user-defined
characters.
The screen is backlit for low-light situations. Backlighting may be turned on or off under program control.
Contrast is adjustable to compensate for differing lighting conditions and viewing angles.
A general purpose output allows the controller to switch an electronic or electro-mechanical device by
issuing commands to the display unit. This can be used for controlling LEDs, relays, etc.
1.2 What it Does Not Do
The LCD0821 does not include bitmap graphics capability, except that permitted by defining special
characters. 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). Do not connect the LCD0821 to an unmodified spare power connector in a PC. To
modify such a cable see section 2.1.1.
A 5 V power supply (for wide voltage models an 8 – 15 V supply is required).
a PC with a spare RS-232 port (COM1 or COM2).
A modified 9 or 25 pin RS-232 serial cable.
Figure 1-1 Connections for Testing
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 5
1. Refer to the diagram above and Figure 2-1 for the following steps.
2. Wire the connector to the power supply. On most connectors the RED lead will go to +5V and the
BLACK lead to GND. See Section 2.1.1 for details. Note: The manufacturer's warranty is void if the
unit is subjected to over-voltage or reversed polarity.
3. Connect the LCD0821 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.
4. Connect the power connector, making sure that the +5V goes to V+ as shown in Figure 2-2. Turn on the
power: the LCD backlight should come on and you should see a blinking cursor at the top left.
Now you're ready to try it out.
1.4 Trying Out your LCD0821
The unit is connected to power and the PC and the backlight is on. You're ready to make sure it's working
properly. To experiment with typing text, run a PC terminal program, such as Hyperterm. Make sure it's
configured to use the correct port. Set the baud rate to 19,200.
If you type characters on the keyboard, they should now appear on the LCD0821 screen. (It is normal for
text to wrap from line 1 to line 3, then to line 2 then 4. See section 3.4.1). A few common ASCII control
characters work as follows:
Character Hex value Function
LF 0x0A Moves cursor to the beginning of the next (or previous) line.
FF 0x0C Clears the display and puts the cursor at the top left
BS 0x08 Moves the cursor one position to the left and clears that position.
Note: These command characters are not guaranteed to work on other Matrix Orbital display
modules. If you want your code to be portable, use the appropriate commands listed later in the
manual instead.
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
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 6
unable to issue the 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.
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 7
2. Connections and Configuration
2.1 Connector Pinout
Refer to the diagram below for this chapter.
Figure 2-1 Electrical Connections
The LCD0821 has four connectors:
Connector Function
2 pin header General purpose output (see section 0)
4 pin Power and I2C communications (see section 2.1.1)
3 pin header RS-232/power (see section 2.1.3)
Jumpers Sets RS232 speed and I2C address
2.1.1 Power and I2C Connections
Power is applied via pins +5V OR Vin as shown in Figure 2-1. Power requirement for standard units is +5
VDC ±0.25V (units with the wide voltage range option require 8 – 15 VDC). Power may also be supplied
via the RS-232 connector as described in section 2.1.3.
Warning:
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
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 8
Connector pinout is as follows:
1 2 3 4
Figure 2-2 Power connector
Pin 1 +5.0 VDC (+8 to +15 VDC with wide voltage option)
Pin 2 SCL (I2C clock)
Pin 3 SDA (I2C data)
Pin 4 Ground
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.
PC wiring
Display module w irin
g
+5 V
+5 V
GND
GND
+12 V
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 LCD0821 when it's installed in a PC. The cable is wired as shown in Figure 2-4 below. Note
that this cable does not provide connections for I2C.
Figure 2-4 Five volt Power Cable
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 9
2.1.1.2 Wide Voltage Range Modules
Note: Do not use this cable unless your display module has the "wide voltage range" option (option V). Use
of the 12 volt power cable with 5 volt modules will damage the module.
The 12 volt power cable is designed for use with wide voltage range display modules mounted in a PC.
Wiring required for the 12 volt power connector is shown in Figure 2-5 below.
PC wiring
Display module w irin
g
+5 V
+12 V
GND
GND
+12 V
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.
Figure 2-6 Twelve volt power cable
2.1.2 RS-232 Communications
2.1.2.1 Connections
A 3 pin strip header is provided for RS-232 communications. Power may also be supplied via this connector
if desired. See Figure 2-7 for pin connections.
Figure 2-7 RS-232 and power connector
Downloaded from Elcodis.com electronic components distributor

LCD0821 rev 2 10
The RS-232 connector on the PC cable is wired so that a standard “straight through” serial cable may be
used to connect the module to a standard serial port such as COM ports on PCs. Note that this device
complies with the EIA232 standard in that it uses signal levels from ± 3V to ± 12V. It will not operate
correctly at TTL (0 to +5V) levels.
Pin Number
on LCD
Pin Number
on Host
Direction Description
1 N/A - +5Vdc
2 3 to LCD module Data In
3 5 - Ground
2.1.3 Applying Power via the RS-232 Connector
The power connector on the PC cable is wired as shown in Figure 2-7. Power may be provided to the
module by pin 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 I2C
RS-232 baud rate and I2C address are configured by means of jumpers.
Figure 2-9 RS-232 jumpers
Downloaded from Elcodis.com electronic components distributor
Inhaltsverzeichnis
Andere Matrix Orbital Steuereinheit Handbücher
Beliebte Steuereinheit Handbücher anderer Marken

Festo
Festo Compact Performance CP-FB6-E Stücklistenhandbuch

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Bedienungsanleitung

JS Automation
JS Automation MPC3034A Bedienungsanleitung

JAUDT
JAUDT SW GII 6406 Series Kurzanleitung

Spektrum
Spektrum Air Module System Bedienungsanleitung

BOC Edwards
BOC Edwards Q Series Bedienungsanleitung


















