OLED Pictiva 128x64x4

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.

Pictiva 128x64x4:

description

Osram Pictiva 128x64x4 is an OLED display with 16 yellow or greenlevels. its screen diagonal is 2.7".
specifications
resolution 128x64
colours 16 greyscale levels
controller SSD0323
backlight not needed (OLED -> self emitting)
adjustable contrast yes
dimensions module size: 89.7 x 46.7 mm; display area: 61.4 x 30.7 mm (datasheet)
name in serdisplib "OLED128X64X4"       (example: serdisp_init(sdcd, "OLED128X64X4", ""); )

some images

[pictiva 128x64x4: testserdisp dimension pattern] [pictiva 128x64x4: graphlcd]
output generated by testserdisp output generated by graphlcd
[pictiva 128x64x4: multidisplay] [pictiva 128x64x4: solaris]
some test output rendered by multidisplay test output generated by multidisplay on a solaris 10 box
[pictiva 128x64x4: view from above] [pictiva 128x64x4: view from above]
perfect view even when looking from above or sidewise ... and readable too
top ^

configuration notes

configuration notes for graphlcd

the default colour in graphlcd is set to black. current versions of graphlcd only draw information (when background and foreground colour are set to default) when using the foreground colour.
when using OLEDs (and depth > 1) the problem now is that information is only visible if the drawing colour is NOT black (because the background of the whole display is black). because of this the foreground colour has to be set to something else (usually white (0xFFFFFF)).
example configuration in graphlcd
 [serdisp]
 Driver=serdisp
 Device=/dev/parport0
 Controller=OLED128X64X4
 FGColour=0xFFFFFF
top ^

connecting a Pictiva 128x64x4 OLED display to the parallel port:

wiring

circuit:

[pictiva 128x64x4: circuit for connecting display to parallel port]

connecting a Pictiva 128x64x4 OLED display to the parallel port


part list:


    Part#   Type                Value                  Annotation
    ---------------------------------------------------------------------------------------
    R1-R12  Resistor            1 kOhm       
    R13     Resistor            10 kOhm
    R14     Resistor            820 kOhm
    C1-C3   Capacitor           4.7 uF
    C4      Capacitor           10 uF

    

annotations:

  • the circuit is hard-wired to parallel bus data-transer
  • interface mode: 8080 (BS1 and BS2 wired to VDD)
  • hardware reset is used
  • LCD/D0 (pin 12) must be connected to PARPORT/D0 (pin 2), LCD/D1 (pin 11) must be connected to PARPORT/D1 (pin 3), and so on


top ^

passing options through serdisp_init():

intro

using the third parameter of 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, "OLED128X64X4", "CONTRAST=5");
      serdisp_init(sdcd, "OLED128X64X4", "INVERT=YES;INTERFACE=6800");
    

options

identifiershortremarkdefault
ROTATEROTrotate display (1 == 180 degrees)0
INVERTINVinvert display0
DELAY delay after each write/read operation.
  0 .. no delay
  1 .. one call of gettimeofday()
 >1 .. delay at least x nanoseconds
     
0
CONTRAST set display contrast5
INTERFACEMODEinterface mode (0 .. 8080, 1 .. 6800, 2 .. SPI)0
WIRINGWIREpre-defined or customisable wiring0

ranges, aliases

identifierrangealiases
ROTATE0, 1, 90, 180, 270YES=180, NO=0, TRUE=180, FALSE=0
INVERT0, 1YES=1, NO=0, TRUE=1, FALSE=0
DELAY>= 0NONE=0
CONTRAST[0, 10] 
INTERFACE0, 1, 28080=0,6800=1,SPI=2,SERIAL=2

pre-defined wiring definitions

identifiernumeric idprotocoldescription
Original0PAROriginal wiring
OriginalSWRes1PAROriginal wiring w/ software reset
SPI3PARsimple SPI wiring

display signals

identifierdescriptionmandatory
parallel modes (8080, 6800)
D0 - D78 bit wide data bus*
CSchip select input, active low*
DCdata or command*
WRwrite signal, active low*
RDread signal, active low 
RESETreset signal, active low; optional if wired to a hardware reset circuit 
serial mode (SPI)
SDAserial data*
SCLKserial clock*
CSchip select input, active low*
DCdata or command*
RESETreset signal, active low; optional 
top ^

links:

data sheets, technical informations
display datasheet local copy of Pictiva 128x64x4 display datasheet (english) OLED_128X64_Gelb.pdf
technical reference local copy of SSD0323 controller technical reference (english) Treiber_IC-SSD0323_OLED_128x64_GELB.pdf
links to other projects
Jens Dietrich OLED Display - PICTIVA von Osram (german) http://www.icplan.de/seite24.htm
top ^

history:

2008-01-11 added configuration notes (thanks to apollo71 from vdr-portal for pointing this out)
2007-08-26 removed erraneous range description for non existing option depth
2007-08-25 first release
top ^

design by wolfgang astleitner, (C) 1998 - 2008