background image

LCD0821 rev 2 

13

GPO

+ -

240 ohm

resistor

Jumper

 

Figure 2-11 Bypassing 240 ohm resistor 

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-) to absorb any generated back electro-motive force (EMF). 

10 - 100 uF

1N400 1

Relay

coil

GPO

+

-

 

Figure 2-12 Clamping a Relay 

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Содержание LCD0821

Страница 1: ...LCD0821 rev 2 1 LCD0821 User Manual Downloaded from Elcodis com electronic components distributor...

Страница 2: ...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 Miscellan...

Страница 3: ...LCD0821 rev 2 3 1 New PCB Aug 2002 With TTL select Downloaded from Elcodis com electronic components distributor...

Страница 4: ...n 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 differi...

Страница 5: ...t 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...

Страница 6: ...ed 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 Downlo...

Страница 7: ...ons 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...

Страница 8: ...connector and that required for the LCD0821 are different as shown in Figure 2 3 below PC wiring Display module wiring 5 V 5 V GND GND 12 V Figure 2 3 Power Connector wiring differences If you don t...

Страница 9: ...module wiring 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...

Страница 10: ...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...

Страница 11: ...correctly received Clearly this is of limited usefulness and even less so with Matrix Orbital modules Matrix orbital modules are not capable of failing to acknowledge an incorrectly received byte in r...

Страница 12: ...s a general purpose output which can be used to control relays or other electronic devices This allows external devices to be turned on or off using your PC or controller and software commands See sec...

Страница 13: ...tage 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 to absorb any generated back elec...

Страница 14: ...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 wit...

Страница 15: ...ons 6 2 and 6 3 3 4 1 Auto line wrap on 254 67 Enables automatic line wrapping Note that this is not word wrapping and wraps may occur in the middle of a word Note that if auto line wrap and auto scro...

Страница 16: ...fault 3 4 10 Turn off block blinking cursor 254 84 Turns off the blinking block cursor Does not affect the underline cursor 3 4 11 Cursor left 254 76 Moves the cursor one position to the left but does...

Страница 17: ...en issued any number of vertical bar graphs may be drawn unless the characters are redefined by another command 4 1 3 Draw vertical bar graph 254 61 column height Draws a vertical bar graph in column...

Страница 18: ...e character number 0x00 to 0x07 The 8 bytes are mapped as shown below MSB LSB 1 2 3 4 5 Data Byte 1 6 7 8 9 10 Data Byte 2 11 12 13 14 15 Data Byte 3 16 17 18 19 20 Data Byte 4 21 22 23 24 25 Data Byt...

Страница 19: ...19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Cursor Line Note Custom characters will be erased if either the initialize bar graph or initialize large digits commands are issued D...

Страница 20: ...e 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 v...

Страница 21: ...2021 0x03 LCD1641 0x04 LCD2041 0x05 LCD4021 0x06 LCD4041 0x07 LK202 25 0x08 LK204 25 0x09 LK404 55 0x0A VFD2021 0x0B VFD2041 0x0C VFD4021 0x0D VK202 25 0x0E VK204 25 0x0F GLC12232 0x10 GLC12864 0x11 G...

Страница 22: ...e command to clear the screen on the LCD0821 by including the line PRINT 1 chr 254 chr 88 in your BASIC program 6 3 On Numbers Like all computerized devices the LCD0821 operates with commands and valu...

Страница 23: ...ke it will actually give the value 48 decimal 30 hex to the parameter which is wrong In the tables given in the following sections ASCII characters are shown as A with single quotes 6 4 Text Commands...

Страница 24: ...o make wide vertical bar graphs Initialize thin vertical bar graph FE 73 254 115 254 s Initializes the user character set to make narrow vertical bar graphs Initialize horizontal bar graph FE 68 254 1...

Страница 25: ...or viewing angle Contrast is a value between 0 and 255 hex 0 to FF Larger darker Backlight on FE 42 minutes 254 66 minutes 254 B minutes on Backlight will stay on for minutes If minutes 0 backlight wi...

Страница 26: ...Voltage 4 75 5 25 Vdc optional 8 15 VDC Supply Current 9 mA typical Supply Backlight Current 40 mA typical Optical Characteristics Number of Characters 16 8 characters by 2 lines Matrix format 5 x 7 w...

Страница 27: ...LCD0821 rev 2 27 Figure 7 1 Physical Layout 7 2 Options Options Available on LCD0821 Extended Temperature E Wide Voltage V Downloaded from Elcodis com electronic components distributor...

Страница 28: ...of both Contrast The ratio of luminance between the light state of the display to the dark state of the display Controller The microcontroller or PC used to control the Matrix Orbital display unit DB...

Страница 29: ...ard 232C a standard interface approved by the Electronic Industries Association EIA for connecting serial devices Scroll To view consecutive lines of data on the display screen The term scroll means t...

Отзывы: