LCDInfo.com

http://www.lcdinfo.com
It is currently Thu Mar 28, 2024 12:29

All times are UTC + 2 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Feb 26, 2006 15:04 
Offline

Joined: Sun Feb 26, 2006 14:56
Posts: 6
Location: Australia
I've just hooked up what is supposed to be a lcd for a Nokia 6610 and has a green board - so I assume this is the Epson style. I've used the code from the Sparkfun site and modified it to use bit bashed spi as my cpu (lpc2119) cannot do 9 bit spi on its hardware spi port. The result I get is a very dull, washed out display. The comment in the code suggests it displays a colorful square in the centre of the display - I can see a square and it looks like there may be a rainbow but the contrast is poor. I've played with the VOLUP command but this has little to no effect. Could anyone suggest what the problem could be?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 26, 2006 16:21 
Offline

Joined: Sun Feb 26, 2006 16:11
Posts: 8
Do you have backlight turned on?

Have you tried a VOLCTR of 0x01 and then 0x55 and then 0xfc. These different values should give you a 'different' contrast.

Note: VOLUP can dim the display. Depends if you have display inversion on. Try the VOLDOWN command instead.

I have played with a few varieties of these displays and they all seem slightly different. So just play. I've some C source code available free on my website that might point in the right direction (direct link: http://www.picmodules.com/downloads/picc128x128.zip) just look at the displayfns.c file. Contains startup code for Philips & Epson controllers.
jim


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 15:06 
Offline

Joined: Thu Mar 16, 2006 22:01
Posts: 13
jimminy,


Thank you so muchfor sending that code file!!!!!

I bought 2 displays from 2 different places. they both externally looked identical and I assumed that they were the same.

I wrote code to get the first one going. but when I plugged in the other LCD it just would never do anything. so I wrote on the top of the screen with marker "BAD" and put it aside. I figured I would use it for a size model.

Then yesterday I came across this site and this post. I ported over your code to my Mega32. Tried it out on my first display and things went well. in the port I noticed that there are 2 types of these displays and I wondered if maybe the other display was the other controller. So I commented in that code and gave it a whirl. I had to change 2 lines of code for the contrast setting, I think it was 0x05 for the first call and 0x03 for the second. then it was perfect.

Just wanted to say thanks for saving me my LCD from the scrap heap. Now if I can only get this dam magic marker off the screen :D


Top
 Profile  
 
 Post subject: how to set the contrast
PostPosted: Fri Mar 31, 2006 8:28 
Offline

Joined: Tue Mar 28, 2006 5:54
Posts: 3
could you help to get the code for contrast set, we donot found the conrast command for EPSON chips.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group