1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/graphlcd-base/docs/DRIVER.sed1330 Wed Feb 06 17:32:55 2008 +0000
1.3 @@ -0,0 +1,223 @@
1.4 +---------------------------------------------------------------------
1.5 +GraphLCD driver library
1.6 +
1.7 +The SED1330 driver
1.8 +---------------------------------------------------------------------
1.9 +
1.10 +Description
1.11 +-----------
1.12 +The SED1330 driver supports LC displays that use the Epson
1.13 +SED1330/1335 controller, connected to the parallel port of your PC.
1.14 +
1.15 +
1.16 +Wirings
1.17 +-------
1.18 +The SED1330 driver supports the following connections on a parallel
1.19 +port:
1.20 + - Original
1.21 + - PowerLCD
1.22 + - LCDProc
1.23 + - Tweakers
1.24 + - YASEDW
1.25 +
1.26 +Original wiring:
1.27 +
1.28 + printerport LCD other function in 6800 mode 8080 mode
1.29 + ----------- ---------- ---------- --------------------- -----------
1.30 + /RES (01) +5V /RES (Reset)
1.31 + nSTRB (01) /RD (02) E (Enable) /RD (Read)
1.32 + nAUTO (14) /WR (03) R/W (Read/Write) /WR (Write)
1.33 + SEL2 (04) GND Interface select 2
1.34 + SEL1 (05) +5V Interface select 1
1.35 + nSEL (17) /CS (06) GND /CS (Chip select)
1.36 + INIT (16) A0 (07) A0 (Access type)
1.37 + D0 (02) DB0 (08) D0 (Data bus 0)
1.38 + D1 (03) DB1 (09) D1 (Data bus 1)
1.39 + D2 (04) DB2 (10) D2 (Data bus 2)
1.40 + D3 (05) DB3 (11) D3 (Data bus 3)
1.41 + D4 (06) DB4 (12) D4 (Data bus 4)
1.42 + D5 (07) DB5 (13) D5 (Data bus 5)
1.43 + D6 (08) DB6 (14) D6 (Data bus 6)
1.44 + D7 (09) DB7 (15) D7 (Data bus 7)
1.45 + VDD (16) +5V VDD (Logic power supply)
1.46 + GND (18) VSS (17) GND GND (Ground)
1.47 + V0 (18) +5V..-22V V0 (LCD contrast)
1.48 + VLC (19) -22V VEE (LCD drive voltage)
1.49 + FGND (20) GND Frame ground
1.50 +
1.51 +PowerLCD wiring:
1.52 +
1.53 + printerport LCD other function in 6800 mode 8080 mode
1.54 + ----------- ---------- ---------- --------------------- -----------
1.55 + /RES (01) +5V /RES (Reset)
1.56 + nSEL (17) /RD (02) E (Enable) /RD (Read)
1.57 + nSTRB (01) /WR (03) R/W (Read/Write) /WR (Write)
1.58 + SEL2 (04) GND Interface select 2
1.59 + SEL1 (05) +5V Interface select 1
1.60 + nAUTO (14) /CS (06) GND /CS (Chip select)
1.61 + INIT (16) A0 (07) A0 (Access type)
1.62 + D0 (02) DB0 (08) D0 (Data bus 0)
1.63 + D1 (03) DB1 (09) D1 (Data bus 1)
1.64 + D2 (04) DB2 (10) D2 (Data bus 2)
1.65 + D3 (05) DB3 (11) D3 (Data bus 3)
1.66 + D4 (06) DB4 (12) D4 (Data bus 4)
1.67 + D5 (07) DB5 (13) D5 (Data bus 5)
1.68 + D6 (08) DB6 (14) D6 (Data bus 6)
1.69 + D7 (09) DB7 (15) D7 (Data bus 7)
1.70 + VDD (16) +5V VDD (Logic power supply)
1.71 + GND (18) VSS (17) GND GND (Ground)
1.72 + V0 (18) +5V..-22V V0 (LCD contrast)
1.73 + VLC (19) -22V VEE (LCD drive voltage)
1.74 + FGND (20) GND Frame ground
1.75 +
1.76 +LCDProc wiring:
1.77 +
1.78 + printerport LCD other function in 6800 mode 8080 mode
1.79 + ----------- ---------- ---------- --------------------- -----------
1.80 + /RES (01) +5V /RES (Reset)
1.81 + INIT (16) /RD (02) E (Enable) /RD (Read)
1.82 + nAUTO (14) /WR (03) R/W (Read/Write) /WR (Write)
1.83 + SEL2 (04) GND Interface select 2
1.84 + SEL1 (05) +5V Interface select 1
1.85 + nSTRB (01) /CS (06) GND /CS (Chip select)
1.86 + nSEL (17) A0 (07) A0 (Access type)
1.87 + D0 (02) DB0 (08) D0 (Data bus 0)
1.88 + D1 (03) DB1 (09) D1 (Data bus 1)
1.89 + D2 (04) DB2 (10) D2 (Data bus 2)
1.90 + D3 (05) DB3 (11) D3 (Data bus 3)
1.91 + D4 (06) DB4 (12) D4 (Data bus 4)
1.92 + D5 (07) DB5 (13) D5 (Data bus 5)
1.93 + D6 (08) DB6 (14) D6 (Data bus 6)
1.94 + D7 (09) DB7 (15) D7 (Data bus 7)
1.95 + VDD (16) +5V VDD (Logic power supply)
1.96 + GND (18) VSS (17) GND GND (Ground)
1.97 + V0 (18) +5V..-22V V0 (LCD contrast)
1.98 + VLC (19) -22V VEE (LCD drive voltage)
1.99 + FGND (20) GND Frame ground
1.100 +
1.101 +Tweakers wiring:
1.102 +
1.103 + printerport LCD other function in 6800 mode 8080 mode
1.104 + ----------- ---------- ---------- --------------------- -----------
1.105 + /RES (01) +5V /RES (Reset)
1.106 + nAUTO (14) /RD (02) E (Enable) /RD (Read)
1.107 + INIT (16) /WR (03) R/W (Read/Write) /WR (Write)
1.108 + SEL2 (04) GND Interface select 2
1.109 + SEL1 (05) +5V Interface select 1
1.110 + nSTRB (01) /CS (06) GND /CS (Chip select)
1.111 + nSEL (17) A0 (07) A0 (Access type)
1.112 + D0 (02) DB0 (08) D0 (Data bus 0)
1.113 + D1 (03) DB1 (09) D1 (Data bus 1)
1.114 + D2 (04) DB2 (10) D2 (Data bus 2)
1.115 + D3 (05) DB3 (11) D3 (Data bus 3)
1.116 + D4 (06) DB4 (12) D4 (Data bus 4)
1.117 + D5 (07) DB5 (13) D5 (Data bus 5)
1.118 + D6 (08) DB6 (14) D6 (Data bus 6)
1.119 + D7 (09) DB7 (15) D7 (Data bus 7)
1.120 + VDD (16) +5V VDD (Logic power supply)
1.121 + GND (18) VSS (17) GND GND (Ground)
1.122 + V0 (18) +5V..-22V V0 (LCD contrast)
1.123 + VLC (19) -22V VEE (LCD drive voltage)
1.124 + FGND (20) GND Frame ground
1.125 +
1.126 +YASEDW wiring:
1.127 +
1.128 + printerport LCD other function in 6800 mode 8080 mode
1.129 + ----------- ---------- ---------- --------------------- -----------
1.130 + /RES (01) +5V /RES (Reset)
1.131 + INIT (16) /RD (02) E (Enable) /RD (Read)
1.132 + nSTRB (01) /WR (03) R/W (Read/Write) /WR (Write)
1.133 + SEL2 (04) GND Interface select 2
1.134 + SEL1 (05) +5V Interface select 1
1.135 + nSEL (17) /CS (06) GND /CS (Chip select)
1.136 + nAUTO (14) A0 (07) A0 (Access type)
1.137 + D0 (02) DB0 (08) D0 (Data bus 0)
1.138 + D1 (03) DB1 (09) D1 (Data bus 1)
1.139 + D2 (04) DB2 (10) D2 (Data bus 2)
1.140 + D3 (05) DB3 (11) D3 (Data bus 3)
1.141 + D4 (06) DB4 (12) D4 (Data bus 4)
1.142 + D5 (07) DB5 (13) D5 (Data bus 5)
1.143 + D6 (08) DB6 (14) D6 (Data bus 6)
1.144 + D7 (09) DB7 (15) D7 (Data bus 7)
1.145 + VDD (16) +5V VDD (Logic power supply)
1.146 + GND (18) VSS (17) GND GND (Ground)
1.147 + V0 (18) +5V..-22V V0 (LCD contrast)
1.148 + VLC (19) -22V VEE (LCD drive voltage)
1.149 + FGND (20) GND Frame ground
1.150 +
1.151 +Note: The pin numbering may vary with other displays.
1.152 +
1.153 +SEL1 on GND selects 8080 mode, SEL1 on VDD selects 6800 mode.
1.154 +
1.155 +
1.156 +Configuration Parameters
1.157 +------------------------
1.158 +The SED1330 driver supports the following parameters in config file:
1.159 +
1.160 +Device
1.161 + Instead of using the direct output via port address (see Port), you
1.162 + can use the parport device (/dev/parportX). The advantage over the
1.163 + direct output via port address is that this works for non-root users
1.164 + also. But it's a little bit slower. The modules ppdev.o, parport.o
1.165 + and parport_pc.o must be loaded or compiled into the kernel.
1.166 +
1.167 +Port
1.168 + Sets the port address of the parallel port. If this parameter is not
1.169 + given, 0x378 is used. To use this direct output, the program that
1.170 + uses the driver library has to be started with user 'root'.
1.171 +
1.172 +Width
1.173 + Sets the horizontal size of the display. If this parameter is not
1.174 + given, a default value of 320 pixels is used.
1.175 +
1.176 +Height
1.177 + Sets the vertical size of the display. If this parameter is not
1.178 + given, a default value of 240 pixels is used.
1.179 +
1.180 +UpsideDown
1.181 + Rotates the display output by 180 degrees. This might be useful, if
1.182 + the LCD is mounted upside-down.
1.183 + Possible values: 'yes', 'no'
1.184 + Default value: 'no'
1.185 +
1.186 +Invert
1.187 + Inverts the display.
1.188 + Possible values: 'yes', 'no'
1.189 + Default value: 'no'
1.190 +
1.191 +AdjustTiming
1.192 + To get a timing that is as accurate as possible, the drivers measure
1.193 + the time for port commands (see: benchmark in syslog). You might
1.194 + decrease or increase the time to wait after port commands with this
1.195 + parameter. Normally, there is no need to change this parameter.
1.196 + Possible values: -50 <= x <= 50
1.197 + Default value: 0
1.198 +
1.199 +RefreshDisplay
1.200 + Normally, most of the drivers do not update the whole display, but
1.201 + only the areas that have changed since last update. So it might be,
1.202 + that some faulty pixels would stay a longer time. To avoid this, the
1.203 + plugin makes a complete refresh from time to time. This parameter
1.204 + defines how often a complete refresh will be done.
1.205 + e.g.: A value of 5 means, that the plugin will make a complete
1.206 + refresh on every 5th update.
1.207 + A value of 0 completely disables complete refreshs.
1.208 + Possible values: 0 <= x <= 50
1.209 + Default value: 5
1.210 +
1.211 +Wiring
1.212 + Select the type of wiring your display is connected with.
1.213 + Possible values: 'Original', 'PowerLCD', 'LCDProc', 'Tweakers',
1.214 + 'YASEDW'
1.215 + Default value: 'Original'
1.216 +
1.217 +OscillatorFrequency
1.218 + Select the frequency the oscillator on your LCD board uses in kHz.
1.219 + Possible values: 1000 <= x <= 15000)
1.220 + Default value: 9600
1.221 +
1.222 +Interface
1.223 + Select the interface mode your display is connected with.
1.224 + Possible values: '6800', '8080'
1.225 + Default value: '6800'
1.226 +