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 a pcf8511 display to a parallel port and drive it using
serdisplib
- support for this display is contributed code and NOT tested by me.
- if there are questions/comments/bug-reports, please contact the author of the code: Jeroen Domburg (email: serdisp at jeroen.ietsmet.nl)
- 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!)
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:
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.
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
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, "PCF8511", "WIRING=0;INVERT=YES");
options
identifier | short | remark | default |
---|---|---|---|
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 | |
CONTRAST | set display contrast | 5 | |
BACKLIGHT | BG | switch background light on or off | 0 |
WIRING | WIRE | pre-defined or customisable wiring | 1 |
ranges, aliases
identifier | range | aliases |
---|---|---|
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 |
CONTRAST | [0, 10] | |
BACKLIGHT | 0, 1 | YES=1, NO=0, TRUE=1, FALSE=0, ON=1, OFF=0 |
pre-defined wiring definitions
identifier | numeric id | protocol | description |
---|---|---|---|
SerDispBG | 0 | PAR | SerDisp wiring, w/ backlight |
SerDisp | 1 | PAR | SerDisp wiring, w/o backlight |
SerDispBGHWRes | 2 | PAR | SerDisp wiring, w/ hardware reset, w/ backlight |
SerDispHWRes | 3 | PAR | SerDisp wiring, w/ hardware reset, w/o backlight |
display signals
identifier | description | mandatory |
---|---|---|
SI | serial data input | * |
SCL | serial clock | * |
DC | data or command | * |
RESET | reset signal, active low; optional if wired to a hardware reset circuit | |
BACKLIGHT | backlight, 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 ^