Advertisement

Quick Links

2002-11-13
PRODUKTINFORMATION
Vi reserverar oss mot fel samt förbehåller oss rätten till ändringar utan föregående meddelande
ELFA artikelnr
75-576-22 Grafisk LCD Seriell 120x32

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 75-576-22 and is the answer not in the manual?

Questions and answers

Summary of Contents for Elfa 75-576-22

  • Page 1 2002-11-13 PRODUKTINFORMATION Vi reserverar oss mot fel samt förbehåller oss rätten till ändringar utan föregående meddelande ELFA artikelnr 75-576-22 Grafisk LCD Seriell 120x32...
  • Page 2: Disclaimer Of Liability

    SGX-120L User Manual, rev2.0 Page 1 of 21 120x32-pixel Serial LCD Graphics Module (G12032) updated Sept. 26, 2000 The G12032 Serial LCD Graphics Module receives data serially at 2400 or 9600 bits per second (bps) and displays text and graphics on a 120-by-32-pixel screen. The G12032 supports four font sizes; small, wide, tall, and large.
  • Page 3: Contacting The Manufacturer

    SGX-120L User Manual, rev2.0 Page 2 of 21 period of 90 days. If you discover a defect, we will, at our option, repair, replace, or refund the purchase price. Return the product with a description of the problem. We will return your product or its replacement via standard shipping.
  • Page 4: Connecting Power

    SGX-120L User Manual, rev2.0 Page 3 of 21 Figure 1. G12032 connections and configuration switches. Connecting Power The G12032 has a built-in voltage regulator. The input is a two-pin connector marked 9V, since a 9V battery is a suitable power source. With the supplied 9V battery snap, the wire goes to the pin.
  • Page 5: Display Contrast Control

    SGX-120L User Manual, rev2.0 Page 4 of 21 Connecting Serial Input The G12032 accepts serial data from RS-232 (±10-volt) or logic-level (+5-volt) sources. Although most serial ports implement additional pins for handshaking purposes, the G12032 requires only the transmit data (TxD) and signal ground (SG) lines. Connect these to SER and GND respectively. The figure below shows typical hookups for standard PC-style serial ports and BASIC Stamp computers.
  • Page 6 SGX-120L User Manual, rev2.0 Page 5 of 21 Text Control Codes The table below lists the text control codes. A separate section lists the graphics instructions. To send control codes from most terminal programs, hold down the control key and press another key. For example, to send ctrl-L (clear screen), hold down Ctrl and press L.
  • Page 7 SGX-120L User Manual, rev2.0 Page 6 of 21 Home Cursor ASCII 1 (Control-A) Control-A moves the cursor to position 0 (upper left corner) of the display. Begin Inverse Text ASCII 2 (Control-B) Control-B begins inverse printing. Any text printed after ctrl-B will be printed in light pixels on a dark background.
  • Page 8 SGX-120L User Manual, rev2.0 Page 7 of 21 display. If return is immediately followed by a linefeed, the linefeed will be ignored. When a short (8-pixel) font is in effect, the display is 4 lines high; with a tall (16-pixel) font, there are 2 lines. Backlight On ASCII 14 (Control-N) Control-N turns on the LED backlight, if installed.
  • Page 9 SGX-120L User Manual, rev2.0 Page 8 of 21 Printable Characters ASCII 32-191 The G12032 comes with a standard alphanumeric character set (font) loaded into EEPROM screens 0 and 1. In the demo slide show (switch in SET position), the first two screens show the characters that make up the text font (see figure 3).
  • Page 10 SGX-120L User Manual, rev2.0 Page 9 of 21 Graphics Instructions (Escape Sequences) The table below lists the graphics instructions. These are called escape sequences because they begin with the escape character (ASCII 27), which distinguishes them from normal text. All escape sequences follow the same basic pattern: escape-letter-number. For example, the escape sequence for displaying a screen stored in EEPROM is ESC E n, where n is a number from 0 to 16.
  • Page 11 SGX-120L User Manual, rev2.0 Page 10 of 21 Set vertical origin (y axis 0 point) for plots and lines according to n: 0= top of screen ESC V n 1= bottom of screen Write configuration data to EEPROM. Works only with switch in SET position. Sets startup options according to the value of n: 1= backlight on 2= show screen 2 at start...
  • Page 12 SGX-120L User Manual, rev2.0 Page 11 of 21 Screen Size Value of Organization (width x height in (lines x pixels) characters/line) small (6 x 8) 4 x 20 wide (12 x 8) 4 x 10 tall (6 x 16) 2 x 20 large (12 x 16) 2 x 10 The figure below shows the effects of font scaling.
  • Page 13 SGX-120L User Manual, rev2.0 Page 12 of 21 Font Location Value of n (EEPROM pages) 0 and 1 2 and 3 4 and 5 6 and 7 8 and 9 10 and 11 12 and 13 14 and 15 To determine the value of n required for a given size and source page, just add the values in the preceding two tables together.
  • Page 14 SGX-120L User Manual, rev2.0 Page 13 of 21 Value of n Line to Invert none By adding the values above, you can invert multiple lines; for instance ESC R 12 inverts lines 3 and 4. Note that the G12032 keeps track of which lines were inverted using this command so that subsequent commands can undo previous inversions.
  • Page 15 SGX-120L User Manual, rev2.0 Page 14 of 21 (X)fer Screen to EEPROM (ESC X n) Transfer the current screen contents to EEPROM screen n, where n is in the range 0-16. This instruction may be disabled by the EEPROM-protect configuration setting, written by ESC W above. If this is the case, ESC X has no effect.
  • Page 16 SGX-120L User Manual, rev2.0 Page 15 of 21 stores the text font and up to 15 full-screen images. This memory is nonvolatile--it retains its contents even with power removed--but can be rewritten up to 100,000 times. You can create fonts and images using standard PC-based graphics programs. A Windows conversion and downloading utility is included with the G12032 disk.
  • Page 17: Font Structure

    SGX-120L User Manual, rev2.0 Page 16 of 21 Font Structure The text font is stored in the same format as normal full-screen images. It consists of two screens stored at EEPROM locations 0 and 1. Each character occupies a specific 6- by 8-pixel rectangle of these screens as shown in figure If you create your own font, you should probably use this one (files...
  • Page 18: Mechanical Specifications

    SGX-120L User Manual, rev2.0 Page 17 of 21 Maximum Ratings and Electrical Characteristics The following data is preliminary and subject to change without notice. The G12032 consists of two subassemblies--an LCD graphics module, and a custom serial controller. Where the ratings of these two devices vary, the more conservative rating is shown in the table.
  • Page 19 SGX-120L User Manual, rev2.0 Page 18 of 21 y offset edge to hole center (top & bottom) 4.00 y pcb height 36.00 y hole spacing 28.00 y screen opening 18.50 y character size (small font) 3.92 y character size (large font) 7.84 x character size (small font) 2.94...
  • Page 20 SGX-120L User Manual, rev2.0 Page 19 of 21 detrimental to the polarizers. Do not drop or jar the LCD module as you may crack or chip the glass. Installing the LCD Module The LCD manufacturer suggests the mounting arrangement shown below. The protective plate would be a transparent window;...
  • Page 21 SGX-120L User Manual, rev2.0 Page 20 of 21 [cntl-P]p 99 mph shortcut for "48" is 64+48=112; p is ASCII 112 Note that you can send positions as either number strings like "28" followed by a throwaway character (like [space]), or as a single byte. The byte value is the number + 64. In the example, 28 is represented by a byte value of 92, which is the ASCII code for "\".
  • Page 22 SGX-120L User Manual, rev2.0 Page 21 of 21 Type this: Purpose/effect [cntl L] Clear screen [esc] F 0 [space] Set 4x20 font [space] MENU ITEM 1 [return] Text [space] MENU ITEM 2 [return] Text [space] MENU ITEM 3 [return] Text [space] MENU ITEM 4 [return] Text [esc] R 1 [space]...

Table of Contents