graphlcd-base/docs/DRIVER.sed1330
author root@rika
Wed, 06 Feb 2008 17:32:55 +0000
changeset 4 df6a40031aa5
permissions -rw-r--r--
added graphlcd-base
     1 ---------------------------------------------------------------------
     2 GraphLCD driver library
     3 
     4 The SED1330 driver
     5 ---------------------------------------------------------------------
     6 
     7 Description
     8 -----------
     9 The SED1330 driver supports LC displays that use the Epson
    10 SED1330/1335 controller, connected to the parallel port of your PC.
    11 
    12 
    13 Wirings
    14 -------
    15 The SED1330 driver supports the following connections on a parallel
    16 port:
    17  - Original
    18  - PowerLCD
    19  - LCDProc
    20  - Tweakers
    21  - YASEDW
    22 
    23 Original wiring:
    24 
    25   printerport   LCD          other        function in 6800 mode   8080 mode
    26   -----------   ----------   ----------   ---------------------   -----------
    27                 /RES  (01)   +5V          /RES (Reset)
    28   nSTRB  (01)   /RD   (02)                E (Enable)              /RD (Read)
    29   nAUTO  (14)   /WR   (03)                R/W (Read/Write)        /WR (Write)
    30                 SEL2  (04)   GND          Interface select 2
    31                 SEL1  (05)   +5V          Interface select 1
    32   nSEL   (17)   /CS   (06)   GND          /CS (Chip select)
    33   INIT   (16)   A0    (07)                A0 (Access type)
    34   D0     (02)   DB0   (08)                D0 (Data bus 0)
    35   D1     (03)   DB1   (09)                D1 (Data bus 1)
    36   D2     (04)   DB2   (10)                D2 (Data bus 2)
    37   D3     (05)   DB3   (11)                D3 (Data bus 3)
    38   D4     (06)   DB4   (12)                D4 (Data bus 4)
    39   D5     (07)   DB5   (13)                D5 (Data bus 5)
    40   D6     (08)   DB6   (14)                D6 (Data bus 6)
    41   D7     (09)   DB7   (15)                D7 (Data bus 7)
    42                 VDD   (16)   +5V          VDD (Logic power supply)
    43   GND    (18)   VSS   (17)   GND          GND (Ground)
    44                 V0    (18)   +5V..-22V    V0 (LCD contrast)
    45                 VLC   (19)   -22V         VEE (LCD drive voltage)
    46                 FGND  (20)   GND          Frame ground
    47 
    48 PowerLCD wiring:
    49 
    50   printerport   LCD          other        function in 6800 mode   8080 mode
    51   -----------   ----------   ----------   ---------------------   -----------
    52                 /RES  (01)   +5V          /RES (Reset)
    53   nSEL   (17)   /RD   (02)                E (Enable)              /RD (Read)
    54   nSTRB  (01)   /WR   (03)                R/W (Read/Write)        /WR (Write)
    55                 SEL2  (04)   GND          Interface select 2
    56                 SEL1  (05)   +5V          Interface select 1
    57   nAUTO  (14)   /CS   (06)   GND          /CS (Chip select)
    58   INIT   (16)   A0    (07)                A0 (Access type)
    59   D0     (02)   DB0   (08)                D0 (Data bus 0)
    60   D1     (03)   DB1   (09)                D1 (Data bus 1)
    61   D2     (04)   DB2   (10)                D2 (Data bus 2)
    62   D3     (05)   DB3   (11)                D3 (Data bus 3)
    63   D4     (06)   DB4   (12)                D4 (Data bus 4)
    64   D5     (07)   DB5   (13)                D5 (Data bus 5)
    65   D6     (08)   DB6   (14)                D6 (Data bus 6)
    66   D7     (09)   DB7   (15)                D7 (Data bus 7)
    67                 VDD   (16)   +5V          VDD (Logic power supply)
    68   GND    (18)   VSS   (17)   GND          GND (Ground)
    69                 V0    (18)   +5V..-22V    V0 (LCD contrast)
    70                 VLC   (19)   -22V         VEE (LCD drive voltage)
    71                 FGND  (20)   GND          Frame ground
    72 
    73 LCDProc wiring:
    74 
    75   printerport   LCD          other        function in 6800 mode   8080 mode
    76   -----------   ----------   ----------   ---------------------   -----------
    77                 /RES  (01)   +5V          /RES (Reset)
    78   INIT   (16)   /RD   (02)                E (Enable)              /RD (Read)
    79   nAUTO  (14)   /WR   (03)                R/W (Read/Write)        /WR (Write)
    80                 SEL2  (04)   GND          Interface select 2
    81                 SEL1  (05)   +5V          Interface select 1
    82   nSTRB  (01)   /CS   (06)   GND          /CS (Chip select)
    83   nSEL   (17)   A0    (07)                A0 (Access type)
    84   D0     (02)   DB0   (08)                D0 (Data bus 0)
    85   D1     (03)   DB1   (09)                D1 (Data bus 1)
    86   D2     (04)   DB2   (10)                D2 (Data bus 2)
    87   D3     (05)   DB3   (11)                D3 (Data bus 3)
    88   D4     (06)   DB4   (12)                D4 (Data bus 4)
    89   D5     (07)   DB5   (13)                D5 (Data bus 5)
    90   D6     (08)   DB6   (14)                D6 (Data bus 6)
    91   D7     (09)   DB7   (15)                D7 (Data bus 7)
    92                 VDD   (16)   +5V          VDD (Logic power supply)
    93   GND    (18)   VSS   (17)   GND          GND (Ground)
    94                 V0    (18)   +5V..-22V    V0 (LCD contrast)
    95                 VLC   (19)   -22V         VEE (LCD drive voltage)
    96                 FGND  (20)   GND          Frame ground
    97 
    98 Tweakers wiring:
    99 
   100   printerport   LCD          other        function in 6800 mode   8080 mode
   101   -----------   ----------   ----------   ---------------------   -----------
   102                 /RES  (01)   +5V          /RES (Reset)
   103   nAUTO  (14)   /RD   (02)                E (Enable)              /RD (Read)
   104   INIT   (16)   /WR   (03)                R/W (Read/Write)        /WR (Write)
   105                 SEL2  (04)   GND          Interface select 2
   106                 SEL1  (05)   +5V          Interface select 1
   107   nSTRB  (01)   /CS   (06)   GND          /CS (Chip select)
   108   nSEL   (17)   A0    (07)                A0 (Access type)
   109   D0     (02)   DB0   (08)                D0 (Data bus 0)
   110   D1     (03)   DB1   (09)                D1 (Data bus 1)
   111   D2     (04)   DB2   (10)                D2 (Data bus 2)
   112   D3     (05)   DB3   (11)                D3 (Data bus 3)
   113   D4     (06)   DB4   (12)                D4 (Data bus 4)
   114   D5     (07)   DB5   (13)                D5 (Data bus 5)
   115   D6     (08)   DB6   (14)                D6 (Data bus 6)
   116   D7     (09)   DB7   (15)                D7 (Data bus 7)
   117                 VDD   (16)   +5V          VDD (Logic power supply)
   118   GND    (18)   VSS   (17)   GND          GND (Ground)
   119                 V0    (18)   +5V..-22V    V0 (LCD contrast)
   120                 VLC   (19)   -22V         VEE (LCD drive voltage)
   121                 FGND  (20)   GND          Frame ground
   122 
   123 YASEDW wiring:
   124 
   125   printerport   LCD          other        function in 6800 mode   8080 mode
   126   -----------   ----------   ----------   ---------------------   -----------
   127                 /RES  (01)   +5V          /RES (Reset)
   128   INIT   (16)   /RD   (02)                E (Enable)              /RD (Read)
   129   nSTRB  (01)   /WR   (03)                R/W (Read/Write)        /WR (Write)
   130                 SEL2  (04)   GND          Interface select 2
   131                 SEL1  (05)   +5V          Interface select 1
   132   nSEL   (17)   /CS   (06)   GND          /CS (Chip select)
   133   nAUTO  (14)   A0    (07)                A0 (Access type)
   134   D0     (02)   DB0   (08)                D0 (Data bus 0)
   135   D1     (03)   DB1   (09)                D1 (Data bus 1)
   136   D2     (04)   DB2   (10)                D2 (Data bus 2)
   137   D3     (05)   DB3   (11)                D3 (Data bus 3)
   138   D4     (06)   DB4   (12)                D4 (Data bus 4)
   139   D5     (07)   DB5   (13)                D5 (Data bus 5)
   140   D6     (08)   DB6   (14)                D6 (Data bus 6)
   141   D7     (09)   DB7   (15)                D7 (Data bus 7)
   142                 VDD   (16)   +5V          VDD (Logic power supply)
   143   GND    (18)   VSS   (17)   GND          GND (Ground)
   144                 V0    (18)   +5V..-22V    V0 (LCD contrast)
   145                 VLC   (19)   -22V         VEE (LCD drive voltage)
   146                 FGND  (20)   GND          Frame ground
   147 
   148 Note: The pin numbering may vary with other displays.
   149 
   150 SEL1 on GND selects 8080 mode, SEL1 on VDD selects 6800 mode.
   151 
   152 
   153 Configuration Parameters
   154 ------------------------
   155 The SED1330 driver supports the following parameters in config file:
   156 
   157 Device
   158  Instead of using the direct output via port address (see Port), you
   159  can use the parport device (/dev/parportX). The advantage over the
   160  direct output via port address is that this works for non-root users
   161  also. But it's a little bit slower. The modules ppdev.o, parport.o
   162  and parport_pc.o must be loaded or compiled into the kernel.
   163 
   164 Port
   165  Sets the port address of the parallel port. If this parameter is not
   166  given, 0x378 is used. To use this direct output, the program that
   167  uses the driver library has to be started with user 'root'.
   168 
   169 Width
   170  Sets the horizontal size of the display. If this parameter is not
   171  given, a default value of 320 pixels is used.
   172 
   173 Height
   174  Sets the vertical size of the display. If this parameter is not
   175  given, a default value of 240 pixels is used.
   176 
   177 UpsideDown
   178  Rotates the display output by 180 degrees. This might be useful, if
   179  the LCD is mounted upside-down.
   180  Possible values: 'yes', 'no'
   181  Default value: 'no'
   182 
   183 Invert
   184  Inverts the display.
   185  Possible values: 'yes', 'no'
   186  Default value: 'no'
   187 
   188 AdjustTiming
   189  To get a timing that is as accurate as possible, the drivers measure
   190  the time for port commands (see: benchmark in syslog). You might
   191  decrease or increase the time to wait after port commands with this
   192  parameter. Normally, there is no need to change this parameter.
   193  Possible values: -50 <= x <= 50
   194  Default value: 0
   195 
   196 RefreshDisplay
   197  Normally, most of the drivers do not update the whole display, but
   198  only the areas that have changed since last update. So it might be,
   199  that some faulty pixels would stay a longer time. To avoid this, the
   200  plugin makes a complete refresh from time to time. This parameter
   201  defines how often a complete refresh will be done.
   202  e.g.: A value of 5 means, that the plugin will make a complete
   203        refresh on every 5th update.
   204  A value of 0 completely disables complete refreshs. 
   205  Possible values: 0 <= x <= 50
   206  Default value: 5
   207 
   208 Wiring
   209  Select the type of wiring your display is connected with.
   210  Possible values: 'Original', 'PowerLCD', 'LCDProc', 'Tweakers',
   211                   'YASEDW'
   212  Default value: 'Original'
   213 
   214 OscillatorFrequency
   215  Select the frequency the oscillator on your LCD board uses in kHz.
   216  Possible values: 1000 <= x <= 15000)
   217  Default value: 9600
   218 
   219 Interface
   220  Select the interface mode your display is connected with.
   221  Possible values: '6800', '8080'
   222  Default value: '6800'
   223