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.

Nokia 3310 LCD shows only 5 rows of byte-wide pixels

Status
Not open for further replies.

zinahe

Newbie level 6
Joined
Oct 3, 2007
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,371
pcd8544 5 rows

Hey everybody,

I've encountered a very strange problem while trying to interface to a Nokia 3310 LCD using my parallel port. Everything seems to be working, except instead of 6 rows of 8 pixels high, I'm getting 5 rows of 8 pixels high and two messed-up rows of 5 pixels and 3 pixels high at the top and bottom of the display. It looks as if the whole addressing scheme is shifted upwards by five pixels

1zz287b.jpg


I have done the following checks:
- I'm running the LCD with 3.3V
- I've studied all the signals using a logic analyzer and confirmed that they are according to the specs on the datasheet
- I've replaced two additional display units with identical results

I really appreciate any help I can get.

[edit] I didn't mention that I have connected the SCE (Serial Chip Enable) terminal directly to the ground, so that the chip is always enabled. [/edit]

Zinahe A
 

nokia 3310 lcd vertical addressing

look ,

i advice you to revise the datasheet of the LCD to be sure of the address

of the first pixel of the lcd

here sites for datasheets :

www.datasheets.in

www.datasheets.org.uk


Hope it works
 

nokia 3310 lcd

mezo said:
look ,

i advice you to revise the datasheet of the LCD to be sure of the address

of the first pixel of the lcd

Mezo,

I have gone through the datasheet from cover to cover more than once. I'm not sure if you've done any interfacing with the Nokia 3310, but the way the row addressing works with this LCD is like this; it allows you to specify a value between 0-to-5 for the corresponding six 8-pixel high rows. Whatever byte you write at a specific row address should fill the whole of the 8 pixels of the current column.
 

3310 lcd circuit

it seems to have no problems with your circuit and software, check your address while writing data to display ram, address should start at zero on the first row
**broken link removed**
 

3310 parallel port

penoy_balut:

Nice job ! I like your work.

Could you do do me a favor ? Please send me me your connection details, and I will reconfigure my code (it's in C#) send it to you. And you can try it on your circuit.

I really need your help.

Zinahe A.
 

how to reset nokia from circuit board

Here is the c# code that I'm using to drive the LCD. For simplicity's sake, I'm using .NET Framework 1.1. But I'm sure the code will compile with any other version. I'm also using InpOut32.dll to allow access to the parallel port from Windows 2000. You can read the details of this fantastic utility **broken link removed**.

Lines 42-47 are used to map the parallel port data register bits to the LCD input terminals. So for those of you who would like to try this code, kindly make sure to map it to your configuration.

Code:
    // Mapping of parallel port data register bits to LCD inputs
    private static Pin sclk  = new Pin(0x01);		// sclk => 00000001
    private static Pin sdin  = new Pin(0x02);		// sdin => 00000010
    private static Pin dc    = new Pin(0x04);		// d/c  => 00000100
    private static Pin power = new Pin(0x08);		// vdd  => 00001000
    private static Pin reset = new Pin(0x10);   	// res  => 00010000
[/code]
 

pcf8813 code

Anybody willing to try my code on their circuits ??

Zinahe A.
 

how to initialize the nokia 3310 display

...ignore...

...not that I'm too pleased that what I wrote uploaded without me explicitly hitting the "commit" key...
 

display characters on nokia 3310 lcd

Hello, I ave same problem with 3310 LCD. With same "code" same LCD works correctly and other DON'T work correctly.
 

avr nokia 3310 lcd troubleshoot

I have purchased 3 more of the LCD displays and the result has been the same.

It looks like I'm using a slightly different variant of the LCD in this region of Africa where I am.

So what now ? ? ? Well, I'm just using it as a 5 row display for the time being :)

Buddace,

You mean the C# code I posted above actually worked on some LCDs and not on others ? Do you mind if I ask you where you got your displays from ?
 

3310 drivers lcd

You mean the C# code I posted above actually worked on some LCDs and not on others ?
I'm using LCD with PIC microcontroller and my code :D
My firstly original 3310 LCD work correctly other work like your ....

Do you mind if I ask you where you got your displays from ?
I bought LCD in ebay.de .
I bought 7 lcd and tested only two with pic. I tested another with original nokia 3310 mobile phone and LCD work correctly.
I think is bad initialization problem....bad initialization damage LCD...is my idea
 

nokia 1600 lcd datasheet

I have also faced the same problem I have checked with many 3310LCDs more than 100 Numbers. The problem is with the new batch of displays which has arrived in the market. The old batch works correctly.

I dont think it is initialization damaging the LCD because it seems to work correctly in the Nokia phone, even after using it in my circuit boards.

John.
 

pcd8544

I dont think it is initialization damaging the LCD because it seems to work correctly in the Nokia phone, even after using it in my circuit boards.
I agree with your idea! Yesterday I placed one "bad" LCD, removed from my project, in original Nokia 3310 and it work correctly!
I think it use different initialization or use different LCD controller!

Added after 5 hours 32 minutes:

The problem is with the new batch of displays which has arrived in the market
New batch use another LCD driver/controller ?
PCD8544 is out of production
 

nokia 3310 lcd row

Last 3310 LCD can use PCF8813 ???? If possible ?
 

how nokia lcd works

I do some test with reserved command...
Found: Mirror X and Y in packet "function set" bit 3 and bit 4.
Packet reserved: Reserved 0 0 1 X X X X X X "do not use" is vertical pixel offset. Put 0x44 and you can use 6 rows but start from 1 ......
I'm sure this 3310LCD use different LCD controller....
 

nokia 3310 lcd to lpt port

New batch use another LCD driver/controller ?
PCD8544 is out of production

I think so, at that time I searched for controllers similar to PCD8544, (48x84 pixels) on the net I could not find a solution. The mobile phone companies are now standardized on the 96x68 pixels for entry level monochrome phones and they have a reliable connector too.

Hello buddace,

With the information you have provided have you solved that problem?

John.
 

nokia 3310 power supply data sheet

With the information you have provided have you solved that problem?
Partially, now I can use 6 rows 1-6 , row 0 is Hide.
But I would like set width correct....in other controller is possible...
I'm sure there are other unknown command.
 

nokia 3310 display parallel port

I'm sure this 3310LCD use different LCD controller....

May be, but the new batch 3310 LCDs seems to work in very old Nokia 3310 phones correctly! The old Nokia 3310 phone LCD driver would have been written for the original Philips PCD8544 controller, so how does that work with the new batch 3310 LCDs?

Partially, now I can use 6 rows 1-6 , row 0 is Hide.But I would like set width correct....in other controller is possible...

If you can see all the 6 rows and the 14 characters (or 84 pixels) then what is the problem?

John.
 

pcd8544 correctly initialize

May be, but the new batch 3310 LCDs seems to work in very old Nokia 3310 phones correctly! The old Nokia 3310 phone LCD driver would have been written for the original Philips PCD8544 controller, so how does that work with the new batch 3310 LCDs?
Would be interesting sniff nokia 3310 inizialiaze from mobile phone.

If you can see all the 6 rows and the 14 characters (or 84 pixels) then what is the problem?
I have to manage two different LCD version.
First LCD start from row 0 , next LCD start from row1. x,y position are incompatible!

Added after 53 seconds:

Last, how explain you hide command that I found ?
 

3310 display circuit board

Last, how explain you hide command that I found ?

Sorry I could not understand the above!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top