graphlcd-base/docs/DRIVER.sed1520
author root@rika
Wed, 06 Feb 2008 17:32:55 +0000
changeset 4 df6a40031aa5
permissions -rw-r--r--
added graphlcd-base
root@4
     1
---------------------------------------------------------------------
root@4
     2
GraphLCD driver library
root@4
     3
root@4
     4
The SED1520 driver
root@4
     5
---------------------------------------------------------------------
root@4
     6
root@4
     7
Description
root@4
     8
-----------
root@4
     9
The SED1520 driver supports LC displays that use the Epson SED1520
root@4
    10
controller, connected to the parallel port of your PC.
root@4
    11
root@4
    12
root@4
    13
Wirings
root@4
    14
-------
root@4
    15
The SED1520 driver supports the following connection on a parallel
root@4
    16
port:
root@4
    17
root@4
    18
  printerport   LCD          other
root@4
    19
  -----------   ----------   ----------
root@4
    20
  GND    (18)   GND   (01)   GND          (Ground)
root@4
    21
                Vdd   (02)   +5V
root@4
    22
                Vo    (03)                (LCD Contrast In -4V)
root@4
    23
  nSEL   (17)   R/S   (04)                (Register Select)
root@4
    24
                R/W   (05)   GND          (Read/Write)
root@4
    25
  nSTRB  (01)   EN1   (06)                (Enable Left)
root@4
    26
  D0     (02)   D0    (07)                (DataBit0)
root@4
    27
  D1     (03)   D1    (08)                (DataBit1)
root@4
    28
  D2     (04)   D2    (09)                (DataBit2)
root@4
    29
  D3     (05)   D3    (10)                (DataBit3)
root@4
    30
  D4     (06)   D4    (11)                (DataBit4)
root@4
    31
  D5     (07)   D5    (12)                (DataBit5)
root@4
    32
  D6     (08)   D6    (13)                (DataBit6)
root@4
    33
  D7     (09)   D7    (14)                (DataBit7)
root@4
    34
  INIT   (16)   EN2   (15)                (Enable Right)
root@4
    35
                RESET (16)   +5V          (Controller Reset)
root@4
    36
                LED+  (17)   +4V/150mA    (Backlight with 6,4Ohm Resistor to +5V)
root@4
    37
  nAUTO  (14)   LED-  (18)   GND          (Backlight GND [via BS170])
root@4
    38
root@4
    39
  See also http://www.usblcd.de/lcdproc/sed1520-dip.php4 ...
root@4
    40
root@4
    41
Note: The pin numbering may vary with other displays.
root@4
    42
root@4
    43
root@4
    44
Configuration Parameters
root@4
    45
------------------------
root@4
    46
The SED1520 driver supports the following parameters in config file:
root@4
    47
root@4
    48
Device
root@4
    49
 Instead of using the direct output via port address (see Port), you
root@4
    50
 can use the parport device (/dev/parportX). The advantage over the
root@4
    51
 direct output via port address is that this works for non-root users
root@4
    52
 also. But it's a little bit slower. The modules ppdev.o, parport.o
root@4
    53
 and parport_pc.o must be loaded or compiled into the kernel.
root@4
    54
root@4
    55
Port
root@4
    56
 Sets the port address of the parallel port. If this parameter is not
root@4
    57
 given, 0x378 is used. To use this direct output, the program that
root@4
    58
 uses the driver library has to be started with user 'root'.
root@4
    59
root@4
    60
Width
root@4
    61
 Sets the horizontal size of the display. If this parameter is not
root@4
    62
 given, a default value of 120 pixels is used.
root@4
    63
root@4
    64
Height
root@4
    65
 Sets the vertical size of the display. If this parameter is not
root@4
    66
 given, a default value of 32 pixels is used.
root@4
    67
root@4
    68
UpsideDown
root@4
    69
 Rotates the display output by 180 degrees. This might be useful, if
root@4
    70
 the LCD is mounted upside-down.
root@4
    71
 Possible values: 'yes', 'no'
root@4
    72
 Default value: 'no'
root@4
    73
root@4
    74
Invert
root@4
    75
 Inverts the display.
root@4
    76
 Possible values: 'yes', 'no'
root@4
    77
 Default value: 'no'
root@4
    78
root@4
    79
AdjustTiming
root@4
    80
 To get a timing that is as accurate as possible, the drivers measure
root@4
    81
 the time for port commands (see: benchmark in syslog). You might
root@4
    82
 decrease or increase the time to wait after port commands with this
root@4
    83
 parameter. Normally, there is no need to change this parameter.
root@4
    84
 Possible values: -50 <= x <= 50
root@4
    85
 Default value: 0
root@4
    86
root@4
    87
RefreshDisplay
root@4
    88
 Normally, most of the drivers do not update the whole display, but
root@4
    89
 only the areas that have changed since last update. So it might be,
root@4
    90
 that some faulty pixels would stay a longer time. To avoid this, the
root@4
    91
 plugin makes a complete refresh from time to time. This parameter
root@4
    92
 defines how often a complete refresh will be done.
root@4
    93
 e.g.: A value of 5 means, that the plugin will make a complete
root@4
    94
       refresh on every 5th update.
root@4
    95
 A value of 0 completely disables complete refreshs. 
root@4
    96
 Possible values: 0 <= x <= 50
root@4
    97
 Default value: 5
root@4
    98