pcf8511

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.

pcf8511 displays:

description

pcf8511 displays can be found in the following nokia-cellphones: Nokia 5310 and 6310.
specifications PCF8511
resolution 96x64
colours monochrome
controller pcd8544 compliant commands
backlight no
adjustable contrast yes, programmable
dimensions
name in serdisplib PCF8511       (example: serdisp_init(sdcd, "PCF8511", ""); )
top ^

connecting a pcf8511 display to the parallel port:

intro

the wiring of pcf8511 displays is compliant to n3510i-displays.

wiring

signals:


                      +--------------------------+
                      |      1 2 3 4 5 6 7 8     |
                      |      # # # # # # # #     |             1 .. /RES
                      |   ===#=#=#=#=#=#=#=#===  |             2 .. /CS
                      +--======================--+             3 .. GND
                      |                          |             4 .. SI (SDATA)
                      |                          |             5 .. SCLK
                      |         rear view        |             6 .. Vio (nc)
                      |   connector is visible   |             7 .. Vflash
                      |                          |             8 .. Vout
                      |                          |
                      |                          |
                      +--------------------------+

   
   Pin  Signal name  Description
   ----------------------------------------------------------
    1   /RES         active low reset
    2   /CS          chip select
    3   GND          GND (ground)
    4   SI           serial data input of LCD
    5   SCLK         serial clock line of LCD
    6   Vio          1.8V chip power (not connected)
    7   Vflash       2.8V display power
    8   Vout         output of display-internal dc/dc converter
                     (Vout -> capacitor -> GND   to avoid noise)

    

circuits:

[n6310: circuit for connecting display to parallel port]

connecting nokia 5310/6310 displays to the parallel port


part list:


    Part#   Type                Value                  Annotation
    ---------------------------------------------------------------------------------------
    R1-R4   Resistor            1 kOhm       
    C1      Capacitor           eg. 0.1 uF             for stabilisation of display
                                                       (0.22 uF or other values are fine just as well)

    

hardware reset vs. software reset:

to save one wire it is possible to replace the /RES-wire through a R/C-circuit.
[n6310: circuit with hardware reset]

connecting display using hardware reset


modified part-list:
    Part#   Type                Value                  Annotation
    ---------------------------------------------------------------------------------------
    R1-R3   Resistor             1 kOhm       
    R4      Resistor            10 kOhm
    C1      Capacitor           eg. 0.1 uF             for stabilisation of display
                                                       (0.22 uF or other values are fine just as well)
    C2      Capacitor           10 uF 

     


pro
one wire less
contra
display can no longer be reset by software
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, "PCF8511", "WIRING=0;INVERT=YES");
    

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
BACKLIGHTBGswitch background light on or off0
WIRINGWIREpre-defined or customisable wiring1

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] 
BACKLIGHT0, 1YES=1, NO=0, TRUE=1, FALSE=0, ON=1, OFF=0

pre-defined wiring definitions

identifiernumeric idprotocoldescription
SerDispBG0PARSerDisp wiring, w/ backlight
SerDisp1PARSerDisp wiring, w/o backlight
SerDispBGHWRes2PARSerDisp wiring, w/ hardware reset, w/ backlight
SerDispHWRes3PARSerDisp wiring, w/ hardware reset, w/o backlight

display signals

identifierdescriptionmandatory
SIserial data input*
SCLserial clock*
DCdata or command*
RESETreset signal, active low; optional if wired to a hardware reset circuit 
BACKLIGHTbacklight, optional 
top ^

links:

technical informations
pinout pinout at Berty's page (english) sandiding.tripod.com/nokialcd6310.html
links to other projects
Berty's Home Page pinouts, projects, ... for different LCDs. important source for my project (english) http://sandiding.tripod.com/Bertys.html
top ^

history:

2007-08-12 first release
top ^

design by wolfgang astleitner, (C) 1998 - 2007