Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help in using 3310 lcd with 89s52

Status
Not open for further replies.

rahuljin

Newbie level 6
Joined
Mar 10, 2008
Messages
13
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,372
3310 lcd datasheet

hello,

i hav worked on character lcd (16*2). now i want to work with a graphic lcd of nokia 3310. can u help in using it !!! i try to read its datasheet but i dont understand any thing !!! lcd has only 8 pins !!!

(i dont know about the programming in C, so please provide some codes in assembly)

please help !!!
 

nokia 3310 lcd datasheet

anyone please help !!!

Added after 1 hours 28 minutes:

i found the circuit for connecting the 3310 to 8051 !!! though it is for 89c51, i think it will also work with 89s52 !!! can anyone help me in coding it to display some thing in assembly language ???

 
  • Like
Reactions: tiensu

    tiensu

    Points: 2
    Helpful Answer Positive Rating
lcd 3310 datasheet

Here is a Nokia 3310 LCD library in C
https://www.microsyl.com
Even though its for AVR microcontrollers...its pretty easy to port it for 89S52.
 
  • Like
Reactions: tiensu

    tiensu

    Points: 2
    Helpful Answer Positive Rating
nokia 3310 lcd an lpt

i dont know about the programming in C, so please provide some codes in assembly
 
  • Like
Reactions: tiensu

    tiensu

    Points: 2
    Helpful Answer Positive Rating
lpt using 3310

anyone please help !!!
 

asm for spi using 89c52

Look here .You have an working asm code (tested myself) for Nokia 3310 LCD.

http://sandiding.tripod.com/lcd.html

Make sure LCD supply or logic lines does not exceed 3.3V . I used this schematic , or you could supply only 3V to PIC .

http://forum.lcdinfo.com/viewtopic.php?t=474
 

89s52 for lcd

thanks for the reply but i am a 89s52 user !!! i dont know anything about PIC !!! can i use the above circuit with 89s52 ???
 

3310 lcd 89c52

Q:"an i use the above circuit with 89s52 ???"
A : Yes .Actually , the schematic is suitable for translating TTL logic levels to 2.7-3.3V specified in NOKIA LCD datasheet.This way you could connect LCD to LPT or other projects with no worry about voltage levels .
 

nokia 3310 lcd to lpt

I'm trying to interface the Nokia 3310 LCD....... with PIC18F4550( actually integrating USB with this , that is y big chip used)

I am able to understand the protocol in sending the commands and data.....

My doubts are......

The lcd is rated to operate at 3.3 V

-->So suppose i send 3.3 V to the LCD's VDD, but when i am raising or falling the SCLK pin to latch data.....high on the SCLk is 5V bcos it is coming from a PIC micro supplied by a 7805.

-->Is this right?

Or shud i make the pic run with 3.3 V,,,,,,will PIC 18Fmicros run normally at 3.3V??

--> Is it necesary to keep chip( one inside LCD) disabled when not sending any data to it....or is it ok to clear chip enable pin at start and forget abt it.....?

-->I saw a site where 10K pull-ups were used on all 5 "controlled" pins of the LCD
is this critically necessary?
-->for initialisation.......i am using the set
0X21
0X13
0XC2
0X04

0X20
0X09
0X08
0X0C

0X40
0X80
MSB first and then go on for data send.
Is this Ok
I've attached my microBasic code.....well...its not working....
Any response is very much appreciated.
 

89s52 interface with lcd

Hello!

You should not use higher levels than the LCD power. I don't think
it can burn the LCD although I wouldn't bet on it, but you should try
to use signals within the LCD power limits.

I think it can work even if you leave CD low all the time. However,
in this case you cannot have another SPI device on the same port.
I would use a CS signal.

Pull-ups are not necessary for SPI. It will just increase your power
consumption for all the low signals.

Dora.

gstarmj said:
I'm trying to interface the Nokia 3310 LCD....... with PIC18F4550( actually integrating USB with this , that is y big chip used)

I am able to understand the protocol in sending the commands and data.....

My doubts are......

The lcd is rated to operate at 3.3 V

-->So suppose i send 3.3 V to the LCD's VDD, but when i am raising or falling the SCLK pin to latch data.....high on the SCLk is 5V bcos it is coming from a PIC micro supplied by a 7805.

-->Is this right?

Or shud i make the pic run with 3.3 V,,,,,,will PIC 18Fmicros run normally at 3.3V??

--> Is it necesary to keep chip( one inside LCD) disabled when not sending any data to it....or is it ok to clear chip enable pin at start and forget abt it.....?

-->I saw a site where 10K pull-ups were used on all 5 "controlled" pins of the LCD
is this critically necessary?
-->for initialisation.......i am using the set
0X21
0X13
0XC2
0X04

0X20
0X09
0X08
0X0C

0X40
0X80
MSB first and then go on for data send.
Is this Ok
I've attached my microBasic code.....well...its not working....
Any response is very much appreciated.
 

coding of 89s52 and lcd

Thanks for the response
I replaced the supply for PIC with 3.3 V but still i get no response on the LCD

Even the command 0X09 to switch on all segments isnt responding.....

..... did someone have a look at the code.....its not working.....so it would be grt if someone can check it.......

all responses'll be appreciated
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top