disclaimer / info:
DISCLAIMER:
THIS IS EXPERIMENTAL SOFTWARE AND HARDWARE. USE AT YOUR OWN RISK. THE MAINTAINER(S) OF THESE PAGES AND THE DEVELOPER(S) OF SOFTWARE AND HARDWARE PRESENTED ON THESE PAGES CAN NOT BE HELD LIABLE UNDER ANY CIRCUMSTANCES FOR DAMAGE TO HARDWARE OR SOFTWARE, LOST DATA, OR OTHER DIRECT OR INDIRECT DAMAGE RESULTING FROM THE USE OF THIS SOFTWARE OR HARDWARE. IF YOU DO NOT AGREE TO THESE CONDITIONS, YOU ARE NOT PERMITTED TO USE OR FURTHER DISTRIBUTE THIS SOFTWARE OR TO USE ANY TEMPLATES FOR BUILDING HARDWARE PRESENTED HERE.
- this page deals with connecting an sed1330/sed1335/s1d13700-based display to a parallel port and drive it using
serdisplib
- i'm not responsible for the content of external web pages
- external web pages will generally open in separate browser windows or tabs
- english is not my native language. please keep that in mind (corrections of english grammar and formulations are very welcome!)
- email: mrwastl at users.sourceforge.net
sed 1330 / sed 1335 / s1d13700:
nota bene
- dual-panel displays are supported since version 1.97.8, but untested!
- s1d13700-based displays are unsupported before version 1.97.8.
- all serdisplib versions before 1.97.8 had severe bugs in the initalisation code - because of these many panels with bigger resolutions did not work. hopefully all these bugs are fixed in 1.97.8 ...
description
sed 1330 / sed 1335 / s1d13700 are generic display controllers found in certain displays.
specifications sed1330/1335 | |
---|---|
resolution | variable |
colours | monochrome |
controller | SED 1330 (S1D13300) / SED 1335 (S1D13305) |
adjustable contrast | no |
name in serdisplib |
"SED1330 " , "SED1335 " or "SED133X " (example: serdisp_init(sdcd, "SED133X", ""); ) |
specifications s1d13700 (support added in v.1.97.8) | |
---|---|
resolution | variable |
colours | monochrome (controller also supports 2 and 4 grey-levels depending on the resolution used - but this is unsupported by serdisplib till now) |
controller | S1D13700 |
adjustable contrast | no |
name in serdisplib |
"S1D13700 " (example: serdisp_init(sdcd, "S1D13700", ""); ) |
some images
test image generated by testserdisp |
output generated by graphlcd |
floyd steinberg dithered image generated by multidisplay |
test output generated by multidisplay on a solaris 10 box |
above example, but with modded background light | the same with graphlcd -output |
display with S1D13700 controller | graphlcd menu |
top ^
connecting an sed1330/sed1335/s1d13700 display to the parallel port:
intro
serdisplib supports five pre-defined wirings, user specific wiring is also possible through customisable wiring (in case five different wirings for one and the same problem are not enough ;-)
pre-defined wirings
- valid for all pre-defined wirings:
D0
toD7
are wired to pin 2 to 9 - "
WIRING=Original
"CS .. pin 17 (nSELIN) A0 .. pin 16 (INIT) WR .. pin 14 (nAUTO) RD .. pin 1 (nSTRB)
- "
WIRING=PowerLCD
"CS .. pin 14 (nAUTO) A0 .. pin 16 (INIT) WR .. pin 1 (nSTRB) RD .. pin 17 (nSELIN)
- "
WIRING=LCDProc
"CS .. pin 1 (nSTRB) A0 .. pin 17 (nSELIN) WR .. pin 14 (nAUTO) RD .. pin 16 (INIT)
- "
WIRING=Tweakers
"CS .. pin 1 (nSTRB) A0 .. pin 17 (nSELIN) WR .. pin 16 (INIT RD .. pin 14 (nAUTO)
- "
WIRING=YASEDW
"CS .. pin 17 (nSELIN) A0 .. pin 14 (nAUTO) WR .. pin 1 (nSTRB) RD .. pin 16 (INIT)
top ^
passing options through serdisp_init():
intro
using the third parameter of
common information about passing options and customisable wiring can be found in a separate document.
serdisp_init()
, driver specific options and custom wiring can be set.common information about passing options and customisable wiring can be found in a separate document.
examples: serdisp_init(sdcd, "SED133X", "WIDTH=240;HEIGHT=128;WIRING=PowerLCD;INVERT=YES"); serdisp_init(sdcd, "SED133X", "W=128;H=128;WIRING=DATA8,CS:nSELIN,A0:nAUTO,WR:nSTRB,RD:INIT"); serdisp_init(sdcd, "S1D13700", "W=320;HEIGHT=240");
options
identifier | short | remark | default |
---|---|---|---|
WIDTH | W | width of display | 240 |
HEIGHT | H | height of display | 64 |
ROTATE | ROT | rotate display (1 == 180 degrees) | 0 |
INVERT | INV | invert display | 0 |
DELAY | delay after each write/read operation.0 .. no delay 1 .. one call of gettimeofday() >1 .. delay at least x nanoseconds | 0 | |
OSCILLATOR | OSC, FOSC | oscillator frequency (kHz) | 9600 |
INTERFACE | MODE | interface mode (0 .. 8080, 1 .. 6800) | 0 |
DUALPANEL | WS | dual panel mode (0 .. single panel, 1 .. dual panel) 1) | 0 |
WIRING | WIRE | pre-defined or customisable wiring | 0 |
ranges, aliases
identifier | range | aliases |
---|---|---|
WIDTH | <=640; a multiple of 8 | |
HEIGHT | <=256 (S1D13700: <=240); a multiple of 8 | |
ROTATE | 0, 1, 90, 180, 270 | YES=180, NO=0, TRUE=180, FALSE=0 |
INVERT | 0, 1 | YES=1, NO=0, TRUE=1, FALSE=0 |
DELAY | >= 0 | NONE=0 |
OSCILLATOR | [1000, 10000] | |
INTERFACE | 0, 1 | 8080=0, 6800=1 |
DUALPANEL | 0, 1 |
pre-defined wiring definitions
identifier | numeric id | protocol | description |
---|---|---|---|
Original | 0 | PAR | Original wiring |
PowerLCD | 1 | PAR | PowerLCD wiring |
LCDProc | 2 | PAR | LCDProc wiring |
Tweakers | 3 | PAR | Tweakers wiring |
YASEDW | 4 | PAR | YASEDW wiring |
display signals
identifier | description | mandatory |
---|---|---|
D0 - D7 | 8 bit wide data bus | * |
A0 | data or command | * |
CS | chip select input, active low | * |
WR | write signal, active low | * |
RD | read signal, active low | * |
RESET | reset signal, active low; optional if wired to a hardware reset circuit | |
BACKLIGHT | backlight, optional |
annotations
- identifiers for pre-defined wirings are compliant to identifiers used in project graphlcd (a plugin for vdr)
top ^
links:
controller SED 1330 / SED 1335 (new model names: S1D13300 / S1D13305) | |||
---|---|---|---|
technical reference | local copy of SED1330/SED1335 technical reference | (english) | sed133x.pdf |
controller S1D13700 | |||
---|---|---|---|
technical reference | local copy of S1D13700 technical reference | (english) | s1d1370.pdf |
top ^
history:
2008-07-31 | added s1d13700 support and 1.97.8-specific changes |
2005-12-18 | added two pictures showing a modded display |
2005-06-14 | warning that dual-panel displays are not yet supported |
2005-05-08 | first release |
top ^