The sed1330 Driver

This section talks about using LCDproc with graphical LCD displays driven by the EPSON/SMOS SED1330 or SED1335 LCD controllers, which may also be known by their new names: S1D13300 (= SED1330) and S1D13305 (= SED1335). The displays are driven in text mode using their built-in character generator.

Connections

Connections below are for the G242C, G121C and G321D displays. Always consult documentation about the specific display before asuming the connections given here are also correct for your display !

Table 5.15. ConnectionType classic ordered by LCD pins

LCD<->LPT port
namepinpinname
^RESET1 1^STROBE
^RD2+5V  
^WR3 16^INIT
SEL14GND  
SEL25GND  
^CS6GND  
A07 17^SELECT_IN
D08 2D0
D19 3D1
D2 10 4D2
D311 5D3
D412 6D4
D513 7D5
D614 8D6
D715 9D7
Vdd16+5V  
Vss17GND18..25GND
V018potentiometer  
Vlc19-24V (not required for G242C)  
Frame20GND  
   10^ACK
  GND11BUSY
   12PAPEREND
   13^SELECT
   14^LF
   15^ERROR

Table 5.16. ConnectionType classic ordered by LPT port pins

LCD<->LPT port
namepinpinname
^RESET1 1^STROBE
D08 2D0
D19 3D1
D2 10 4D2
D311 5D3
D412 6D4
D513 7D5
D614 8D6
D715 9D7
   10^ACK
  GND11BUSY
   12PAPEREND
   13^SELECT
   14^LF
   15^ERROR
^WR3 16^INIT
A07 17^SELECT_IN
Vss17GND18..25GND
^RD2+5V  
SEL14GND  
SEL25GND  
^CS6GND  
Vdd16+5V  
V018potentiometer  
Vlc19-24V (not required for G242C)  
Frame20GND  

The potentiometer should be connected like this on these display modules:

	=== GND
	 |
	.-.
	| |
	| |5k
	'-'
	 |
	 |
	.-.10k potentiometer
	| |
	| |<----------------o V0
	| |
	'-'
	 |
	 O Vlc (= -24V)

The G242C generates -24V internally. It is available on Vlc. To generate -24 from the +5V without an external power source, you can use the following circuit.

 5V O------+----------+                                 pinout:
           |          |                                  _____
           |         --- 100uF                          |  _  |
           |         --- 10V                            | (_) | <-3
           |          |                                 |_____|
           |          +--------+--------+--------+      | max |
           |5         |        |        |        |      | 724 |
       ---------     === GND   C        -        |      |_____|
      |         |              C coil  | |       |       |||||
      |         |              C 47uH  | |10k    |       |||||.
      |         |4             |        -        |       | | |
      | MAX724  |--------------+        |        |       12345
      |   or    |              |        |        |
      | MAX726  |1             |        |        |+
      |         |-----------------------+       --- 47uF
      |         |              |        |       --- 50V
      |         |              |        |        |
       ---------               |        -        |
        |2    |3               |       | |       |
        |     |              '---,     | |1k     |
       ---    |        SB160  / \       -        |
  100nF---    |               ^T^       |        |
        |     |                |        |        |
        +-----+----------------+--------+--------+----O -24V out

Configuration in LCDd.conf

[sed1330]

CellSize= WIDTH x HEIGHT

Specify the size of a character in pixels. WIDTH may vary between 6 and 8; legal values for HEIGHT range from 7 to 16. If not given CellSize defaults to 6x10.

ConnectionType= { classic | bitshaker }

Select the type of the wiring.

ConnectionTypeWiring
classic^WR = LPT pin 16, A0 = LPT pin 17, ^RESET = LPT pin 1
bitshaker^WR = LPT pin 1, A0 = LPT pin 14, ^RESET = LPT pin 16

If not given, it defaults to classic.

Port= PORT

Specify the address of the parallel port the LCD is connected to. Common values for PORT are 0x278, 0x378 and 0x3BC. If not given, it defaults to 0x278.

Type= { G321D | G121C | G242C | G191D | G2446 | SP14Q002 }

Type of LCD module. Besides other things (internal setup) this configuration setting determines the size of the display in pixels.

TypeSize (in pixels)
G321D320 x 200
G121C128 x 128
G242C240 x 128
G191D192 x 192
G2446240 x 64
SP14Q002320 x 240

Note

Currently the G321D and SP14Q002 are the only ones that this driver is tested with.

Contrary to other drivers the character size of an LCD using the sed1330 driver is not given directly. Instead it is determined by the pixel size of the display, which is derived from the display type setting and the character cell size.