PDA

View Full Version : LCD pinouts



Joker_hk
10-12-2002, 06:00 PM
I'd like to use some phones lcd in my projects...
Has anybody got any info on lcd, pinouts, comunications protocol, commands, anything at all would be great...

Thanx in advance

MESIEA
04-11-2007, 11:01 PM
Salutations,

I use the displays in various projects, quire versital. The LCD is controled by a Philps PCD8544. I have the PDF files if you'd like it, I do not know how to attach & upload to this site, you can Email me for it at [email protected] and I'll attach it to an email. as for the pin outs they are a follows..

viewed from rear left to right Vdd must not exceed 3.7Vdc

Vdd Sck Sdin D_C Sce Gnd Vout Res
[1] [2] [3] [4] [5] [6] [7] [8]

Vdd =+2.5V to +3.7V (I use 3.3)
Sck = Data Clock
Sdin= Data
Res = Display Reset
D_C =Data/Control select input (0 data byte is control data / 1 data is data)
Sce =Driver display enable, (bus can be shaired by more than one display)
if you are only using one display on the bus then connect pins [5] & [6]
directly together.
Vout = connects to a cap ranging from 1 to 10 uF. I use 4.7uF
this is a negative voltage, so the "-" of the cap goes to pin [7] and
the "+" goes to pin [6] i.e. Ground. for best results use a non-
polarized cap, thus you needen't worry which way it goes in..


CONTROL: Res should remain HIGH i.e. =1 when display in USE
Dck (Clock) and Sdin (Data) should be held LOW=0 when not used
D/C doesn't care, I hold it HIGH when not in use, for when in
use, I s=usually send more data than commands to the display
thus holding it HIGH makes the buss more ready to handle data.

Placing 10K pull ups on Res and D/C to Vdd
10K pull downs on Sck and Sdin to Gnd, AND
placing 0.001 uF caps from all pins to Gnd allows you
to use a 74HCT241 /244 /373 i.e. Tri-state devices
to drive the display when in use, and maintain the display
and use the bus for other things when not updating display
data.

I clock data at 6MHz, data is in bytes (8-bits) data is latched
on the rising edge of clock. Clock needs to remain LOW after
last bit of last byte per packet. i.e. after the 8th rising edge of
the last byte clocked in, the clock must be pulled LOW, or just
put your Tri-state device in Hi-Z mode, and the display will
Display for ya... IF YOU LEAVE THE Sck line high THE DISPLAY
WILL REMAIN BLANK and your LAST COLUM will have crap in it..
so REMEMBER, DROP YOUR CLOCK after the LAST BYTE !



Function D/C DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

NOP 0 0 0 0 0 0 0 0 0
Function Set 0 0 0 1 0 0 PD V H
Write Data 1 D7 D6 D5 D4 D3 D2 D1 D9

(PD=1) Display powered up (PD=0) Display powered Down
(V=1) cursor advances verticaly (vertical addressing mode)
(V=0) cursor advances horozontaly (horisontal addressing mode)
(H=0) use basic commands (H=1) use extended commands

Normal Commands (H=0)

Display Control 0 0 0 0 0 1 D 0 E

(D=0) normal Display Black on white, (D=1) inverted display White on black
(E=0) normal displaying (E=1) blank all segments depending on D setting


Set Y address 0 0 1 0 0 0 Y2 Y1 Y0

Y2, Y1, Y0 selects one of six rows (0..5)

Set X address 0 1 X6 X5 X4 X3 X2 X1 X0

X6..X0 selects one of 84 colums (0..83)

Extended command (H=1)

Temp Control 0 0 0 0 0 0 1 TC1 TC0

TC1, TC0 sets the display for temperature opetations (-20 C to 70 C)
I use TC1=1 and TC0=0 good for 0 to 50 C

Bias System 0 0 0 0 1 0 BS2 BS1 BS0

BS2..BS0 Sets the multiplex bias for row to colum ratio, since
the display used in the phone is a (48 by 84) just
I use system bias of 1:48 i.e. BS2=0 BS1=1 BS0=0

Set Vop 0 1 V6 V5 V4 V3 V2 V1 V0

(Internal contrast voltage) if Vout internaly generated
which for the display used in the phone IS !!!!
(That's why you only need put a cap on the Vout PIN)
I use V6=1, V5=1, V4=1, V3=0, V2=0, V1=1, V0=0.

UNLESS you are using the display in very cold conditions
i.e. less than -10 C you needen't fuss with the
Temp Control, Bias System, or Set Vop. Just use the
values I do, and you'll get a good contrast. Since the
48x84 display used in the phone (3390b) (8-PIN type)
has no contrast adjust/control e.g. auto compensated,
using other values will have little effect, except if you set Vop
above the tolerance for the temp range, WHICH WILL DAMAGE
the MATRIX. mess with these values ONLY if you understand
what you are doing. I.E. get the PCD8544 specs from PHILIPS.


ENJOY.....

NOW, does anyone have the specs for the 9 PIN display used in the 5185i
phones. would appriciate..... Thanx.... Mesiea..