LCDInfo.com

http://www.lcdinfo.com
It is currently Thu Nov 21, 2024 18:59

All times are UTC + 2 hours




Post new topic Reply to topic  [ 288 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19, 20  Next
Author Message
 Post subject:
PostPosted: Mon Sep 29, 2008 20:13 
Offline

Joined: Sat Aug 09, 2008 21:11
Posts: 8
tamc wrote:
Are there any chances of graphics controller getting damaged ??


I'm not in a position to answer that, I was a little more carefull
and run my entire project from a 3.3v regulated source :roll:
Have you tried using 3.3v lines to the LCD ?



Back to my attempts :D
My MPLAB SPI code does work :arrow:

I've attached my BlueSmirf bluetooth board to my project
and altered my PIC628 asm code to read two bytes via serial
bluetooth and act accordingly.
Byte1 "D" or "C" , data or command
Byte2 'value' , eg chr(128) , decimal not hex

I'm sending the data to the PIC628 from my Orbit XDA via bluetooth using a basic programming language on the Orbit.

I'm issuing a DALO 0x22 // all pixel OFF
after DISPON 0x29 // display ON

I know my contrast settings are working, see previous posts.
After issuing the DALO, it leaves my display in a lighter white state.
I've not tried setting any pixels yet, but I will post my results
here and on my website :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2008 0:01 
Offline

Joined: Mon Sep 08, 2008 20:14
Posts: 2
Hey all I managed to get my display to fire up, it was using a Philips controller :) I have been trying to set it into 8bit mode but when I try filling the screen with colours it only goes different shades of white, I have tried just spamming 12bit colour at it and that works ok so I dont think its a contrast issue.
My lookup table seems fine I have gone as far as to rip init's from 'working' code but not had any joy with it.... if there anything else I can try?


Top
 Profile  
 
PostPosted: Mon Nov 03, 2008 8:16 
Offline

Joined: Mon Nov 03, 2008 8:01
Posts: 1
Where can I purchase either of the two controllers?

1) Philips PCF8833 Chipset
2) Epson S1D15G10

do they sell them seperately or is it part of the Nokia 6100/7210?

I have googled and digikey'd my butt off, but noth'n do'n

10-Q


Top
 Profile  
 
PostPosted: Mon Nov 03, 2008 20:36 
Offline

Joined: Mon Nov 03, 2008 20:15
Posts: 1
I am exactly in the same situation as "taximania", vexed with LCD and PIC :-(

I have interfaced the LCD (Philips controller) with the MCU using hardware SPI (by prefixing one additional bit). But had no luck in displaying what I actually want to.

Here are some pointers that will be useful in explaining the case

1) LCD init works but leaves it in a state where I see just varying intensities of white displayed
2) LCD contrast command control works perfectly

But no luck beyond this :-( Wipster, can you tell me how you send 12 bit data for color, also is it exhibiting the desired behavior.

I am inclined to think that may be this LCD belongs to a newer Nokia phone which has 65k colors, so might use a different controller and a different init procedure.

Capture of the content that appears after initialization :
http://img241.imageshack.us/my.php?imag ... 033pw5.jpg

LCD Front view (two types that I purchased, both exhibit same behavior)
http://img133.imageshack.us/my.php?imag ... 034fq8.jpg

PIC C18 Init Routine
=============

SendNokia6100(LCDCommand,0x11); // sleepout

SendNokia6100(LCDCommand,0x20); // for some reason

SendNokia6100(LCDCommand,0x3A); // for selecting 12 bit
SendNokia6100(LCDData, 0x03);

SendNokia6100(LCDCommand,0x36); // for setting mirror x mirror y
SendNokia6100(LCDData, 0xC8);

SendNokia6100(LCDCommand,0x25); // for setting contrast
SendNokia6100(LCDData, 0x44);
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms
Delay10KTCYx(50); //ritardo 10ms

SendNokia6100(LCDCommand,0x29); // switch on lcd


Pls pour in your thoughts members...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 23, 2008 23:52 
Offline

Joined: Sun Nov 23, 2008 23:37
Posts: 1
I just bought a Nokia Color knock-off lcd from sparkfun. I am using a pic 18f452 at 4Mhz and pic basic pro compiler and the LCD has a green board. So far I got it to initialize and all I am trying to do is clear the LCD since its all random pixels when the screen turns on. I have it running in 12bit mode, and I can select every pixel and make them white.

The problem is when I choose any other color like green or red or
anything other then $FFF. The screen begins the clearing process but it
gets stuck mid way threw at different locations every time.. Its like the LCD freezes. I have read the forums and did lots of searching and heard of someone else with the same problem but no one knew how to fix it. Also, when i change the OSC to 20 or 40 Mhz, the lcd never works. I hook up everything to an oscilloscope and I can see the data, but the LCD dosn't even blink.. Could there be something wrong with the controller? Or am I missing something. I was wondering if someone couldshine some light on this problem. Thank you.


Top
 Profile  
 
PostPosted: Fri Jan 02, 2009 14:05 
Offline

Joined: Wed Dec 31, 2008 12:34
Posts: 3
Eqqman wrote:
Hello-

The posts I've read here make it seem like everybody is having no trouble at all getting the screen to do things- I can't even seem to get it to come on.

I purchased the screen with the breakout board from Sparkfun:

http://www.sparkfun.com/commerce/produc ... ts_id=8600

My first attempt was to connect this to the 18F66J10 from Microchip. The Reset, DIO, SCK, and CS lines are connected to PORTD pins on the 66J10. The 3.3V line goes into regulated voltage and I attach the Vbatt line to 6 - 7.5V (in my experiments I've varied how I source this voltage).

When I power the system, the screen lights up and has a dark blue color. I follow the routine outlined in the 'tutorial' provided by Sparkfun:

http://www.sparkfun.com/tutorial/Nokia% ... Driver.pdf

Since the 18F66J10 has 8-bit SPI only, I had to write a bit-bang routine for 9-bit SPI. Since there are no connections to receive data from the screen, I can look at my SPI output on the o'scope and my transmissions look correct but I can't be sure the screen likes them. I follow the recommended Reset process and then I send all the Epson initialization commands mentioned in the tutorial document (including all the additional delays specified by that document). Afterwards I send the PASET/CASET/RAMWR values with values I expect to produce a red color, but the screen has no change. In fact, once power is applied to the screen the appearance never changes at all. After sending all the commands in the tutorial, I would expect at least something to happen on the screen.

Just in case my SPI is at fault, I then attached the screen to the ColdFire M52233 demo board, which gives me 9-bit hardware SPI. But I get the same results here, after following the steps from the tutorial, the screen has no changes in appearance.

Something else that is odd, on the Sparkfun schematic for their board, the Vbatt line goes to a voltage-boosting circuit and then connects to the Vled line on the screen. However, if I don't source this line, then the whole screen goes black just as when it has no power at all. Sparkfun's website gives examples of attaching up to 6V to the Vbatt line, but if this somehow ties into the main voltage lines for the display, then maybe the Vbatt line should not be used on voltages over 3.3V? This whole process has been very confusing.

If anybody (especially people using PICs) can explain exactly how they wired up the screen to get it to work it might help me. It really frustrates me that the Slave-Out SPI lines are unimplemented since there is no way to check if the commands being sent are even getting through.



Well this is the closest to what I am getting.

First off, I bought my board from here: http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0002113064

When I give it power, the backlight turns on, and the screen is a nice deep blue colour. And that is it. No matter what I send to it, it is stuck in a forever blue state. I have asked for help many places, and no answers. This seems like the last stop here.

I am using an 18f4550 and software bit banging SPI to communicate. Using some LED's and slowing it down to 1s per clock output, I can see I am sending the correct data. Everything is at 5v levels, since this breakout board supposedly downconverts it to the 3.3v the screen needs and also upconverts the 5v to 7-ish for the backlight.

I am pretty lost and looking for anything here to see if this screen will work. I have spent a week and have gotten no where. It is going in the trash beginning of next week if nothing comes around...

Are there any hardware schematics that show how to hook up the board incase there is something fancy that needs to be done? Does it need anything special hardware/wiring wise that would prevent anything from working? I cannot get DISOFF or DISON, or any contrast commands to do anything. Once it gets power, it goes blue and stays blue.


Top
 Profile  
 
 Post subject: Nokia 6610 LCD
PostPosted: Fri Jan 09, 2009 11:07 
Offline

Joined: Fri Jan 09, 2009 11:05
Posts: 1
I have bought some cheap nokia 6610 lcd from ebay http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0328874077 and it seams that I have mounted wrongly the LCD on the PCB because everything is shown upside down!
Is there any way to flip the screen with out the need to change the PCB layout?
Any help is welcomed...
Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 17, 2009 9:22 
Offline

Joined: Fri Apr 17, 2009 9:09
Posts: 3
James Dev, lcds are very easy to mirror or rotate. For the Philips controller, look at section 6.2.27 MADCTL register.

NVergunst, and Eqqman - I have the same problem. Started on the display today, and cannot get anything except the blue screen of death. I purchased LCD-08600 breakout board, and a spare LCD-00569. The LCD is replaceable and they both show the blue screen.

Both LCDs have the GE12 number on the back, indicating a Philips PCF8833 controller according to the tutorial, but the connector is on a green flex cable, which indicates an Epson controller.

I have tried to write the interface for the Philips controller, but suspect the display actually has an Epson controller. Can anyone help here, especially the pros who actually got the display to work? I can see the bits going into the LCD on the SCK and DIO lines, and CS is low while RESET is high, and I did the special reset sequence. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 17, 2009 9:35 
Offline

Joined: Fri Apr 17, 2009 9:09
Posts: 3
One more thing, I noticed the Epson controller is apparently 23.6x2.7mm in area, while the Philips controller is 22.93x2.34mm in area. The LCD display I have appear to have a controller which is 16mm x 1.5mm in area indicating that this could be a third type of controller. Any ideas?


Top
 Profile  
 
 Post subject: Nokia 7250 display
PostPosted: Wed Apr 22, 2009 23:03 
Offline

Joined: Wed Apr 22, 2009 22:36
Posts: 1
Location: Denmark
Hi all. I have disassembled a Nokia 7250 and now im trying to make the display work together with an Spartan 3 FPGA.
Im using a Picoblaze softcore processor to send the data via a "homemade" spi module.
The PCB on the display is green so I assume that the chipset used is made by Epson. I have tried both the Philips and the Epson init code. When Im using the Philips code the display is completely dead. When im using the Epson code the display seems to react to the DISPON command.
The display goes from all black to a little brigther.

Code:
   NAMEREG sA, high
   NAMEREG sB, low
   CONSTANT cmd, 00
   CONSTANT data, 01
   
   init:
            LOAD high, 01
            LOAD low, 00
   

   main:    
                  
   initlcd:
         ;---------RESET---------
         OUTPUT low, 0D
         CALL del20ms
         OUTPUT high, 0D
         CALL del20ms
         ;---------DISCTL---------
         LOAD sE, CA
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------00---------
         LOAD sE, 03
         CALL spi_data
         OUTPUT low, 0B
         ;---------20---------
         LOAD sE, 20
         CALL spi_data
         OUTPUT low, 0B
         ;---------00---------
         LOAD sE, 0C
         CALL spi_data
         OUTPUT low, 0B
         ;---------COMSCN---------
         LOAD sE, BB
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------01---------
         LOAD sE, 01
         CALL spi_data
         OUTPUT low, 0B
         ;---------OSCON---------
         LOAD sE, D1
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------SLPOUT---------
         LOAD sE, 94
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------PWRCTR---------
         LOAD sE, 20
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------0F---------
         LOAD sE, 0F
         CALL spi_data
         OUTPUT low, 0B
         ;---------DISINV---------
         LOAD sE, A7
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------DATCTL---------
         LOAD sE, BC
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------01---------
         LOAD sE, 01
         CALL spi_data
         OUTPUT low, 0B
         ;---------00---------
         LOAD sE, 00
         CALL spi_data
         OUTPUT low, 0B
         ;---------02---------
         LOAD sE, 02
         CALL spi_data
         OUTPUT low, 0B
         ;---------VOLCTR---------
         LOAD sE, 81
         CALL spi_cmd
         OUTPUT low, 0B         
         ;---------20---------
         LOAD sE, 20
         CALL spi_data
         OUTPUT low, 0B         
         ;---------03---------
         LOAD sE, 03
         CALL spi_data
         OUTPUT low, 0B   
         
         ;---------RGBSET---------
         LOAD sE, CE
         CALL spi_cmd
         OUTPUT low, 0B
         
         
         ;--------DATA--------   
         LOAD sE, 00             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 02             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 04             
         CALL spi_data           
         OUTPUT low, 0B   
         ;--------DATA--------   
         LOAD sE, 06             
         CALL spi_data           
         OUTPUT low, 0B
         ;--------DATA--------   
         LOAD sE, 08             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 0A             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 0C             
         CALL spi_data           
         OUTPUT low, 0B   
         ;--------DATA--------   
         LOAD sE, 0E             
         CALL spi_data           
         OUTPUT low, 0B
         ;--------DATA--------   
         LOAD sE, 00             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 02             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 04             
         CALL spi_data           
         OUTPUT low, 0B   
         ;--------DATA--------   
         LOAD sE, 06             
         CALL spi_data           
         OUTPUT low, 0B
         ;--------DATA--------   
         LOAD sE, 08             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 0A             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 0C             
         CALL spi_data           
         OUTPUT low, 0B   
         ;--------DATA--------   
         LOAD sE, 0E             
         CALL spi_data           
         OUTPUT low, 0B
         ;--------DATA--------   
         LOAD sE, 00             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 04             
         CALL spi_data           
         OUTPUT low, 0B           
         ;--------DATA--------   
         LOAD sE, 08             
         CALL spi_data           
         OUTPUT low, 0B   
         ;--------DATA--------   
         LOAD sE, 0c             
         CALL spi_data           
         OUTPUT low, 0B
         
         
         
         CALL del20ms
         
         LOAD s9, 01
         OUTPUT s9, 06
         
   loops:               INPUT s4, 03
         COMPARE high, s4
         JUMP NZ, loops
         
         ADD s9, 01
         OUTPUT s9, 06
         
         ;---------DISPON---------
         LOAD sE, AF
         CALL spi_cmd
         OUTPUT low, 0B
         
         ;---------TEST---------
         LOAD sE, 2B
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------04---------
         LOAD sE, 04
         CALL spi_data
         OUTPUT low, 0B
         ;---------0B---------
         LOAD sE, 0B
         CALL spi_data
         OUTPUT low, 0B
         ;---------TEST---------
         LOAD sE, 2A
         CALL spi_cmd
         OUTPUT low, 0B
         ;---------02---------
         LOAD sE, 02
         CALL spi_data
         OUTPUT low, 0B
         ;---------09---------
         LOAD sE, 09
         CALL spi_data
         OUTPUT low, 0B
         ;---------WRMEM---------
         LOAD sE, 2C
         CALL spi_cmd
         OUTPUT low, 0B         
         ;--------RED---------
         LOAD sE, FF
         CALL spi_data
         OUTPUT low, 0B
         ;--------RED---------
         LOAD sE, F0
         CALL spi_data
         OUTPUT low, 0B
         
   lops:               INPUT s4, 03
         COMPARE high, s4
         JUMP NZ, lops
         
         ;---------VOLUP---------
         LOAD sE, D6
         CALL spi_cmd
         OUTPUT low, 0B   
         
         ADD s9, 01
         OUTPUT s9, 06
         
         
         JUMP loops
         
         
   end:      
         JUMP end
         
   spi_cmd:            OUTPUT low, 0A
          OUTPUT sE, 09
          OUTPUT high, 0B
         
                   
   s_done:                INPUT sF, 0C
          COMPARE high, sF
          RETURN Z
          JUMP s_done
         
   spi_data:            OUTPUT high, 0A
          OUTPUT  sE, 09
          OUTPUT high, 0B
         
                   
   s_done2:    INPUT sF, 0C
          COMPARE high, sF
          RETURN Z
          JUMP s_done2
   
         


   delms:   INPUT s0,07
   delmslp:INPUT s1,07
         COMPARE s0,s1
         JUMP Z, delmslp
         RETURN

   del20ms:   LOAD s2, F5 ; 255 - 10 = 245
   del20mslp:    CALL delms
            ADD s2, 01
            JUMP NZ, del20mslp
            RETURN


When executing this code on the board Im only getting a black (+a little illuminating background). I was expecting to see some coloured pixels.

Hope you can help me on the right way with this display

Thanks


Top
 Profile  
 
PostPosted: Mon Apr 27, 2009 0:15 
Offline

Joined: Mon Apr 27, 2009 0:04
Posts: 1
Location: Fairbanks, AK
Here is a driver that works for the new Epson chipset (bought from SparkFun March 2009, red tab on cover, green PCB): http://www.stahlke.org/dan/nokialcd/

I had struggled for a day because I had read several places that a red tab means a Philips controller. Not so for these new LCDs! They use an new Epson style controller which seems to be slightly incompatible with the older controllers. The display rotation feature doesn't seem to work in a normal way, so I haven't implemented this. Also, the first row of the LCD is row 2 and bad things happen if you write to row 0 or 1. This driver automatically adds 2 to the Y value to compensate for this.

The code supports single pixels, rectangles, text, and scrolling. It has been tested only using my Epson display, but in theory it should also work with Philips (it will probably need a few fixes). It runs on ATmega168 and dsPIC33FJ128GP but is easily portable (all MCU-specific code is consolidated into two functions).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 30, 2009 2:40 
Offline

Joined: Fri Apr 17, 2009 9:09
Posts: 3
OK, I'm in action. Started again today, and after an hour tested a program to see if 4 pixels would be set to different colors, and it did work to my surprise. Also, confirmed that writing row0 or 1 does nothing - first row is 2. Used a Mega32 with bit bashing, but an ARM7 would have been better with the 9 bit SPI feature.

So basically, the assumption in the tutorial that GE12 is a Philips controller is wrong, since these displays have GE12 but have an EPSON controller.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 22, 2009 7:18 
Offline

Joined: Fri May 22, 2009 7:15
Posts: 1
Location: Denver, Colorado USA
Well said fdixon. Thank you so much. I found this problem before too. I believed that it has been fixed already after the new firmware was released. :D

Simulation pret immobilier


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 05, 2009 19:31 
Offline

Joined: Sun Jul 05, 2009 19:23
Posts: 2
Looks like this thread isn't too active anymore, but thought I would share a post showing the Nokia display doing real-time video since I haven't seen anyone do that before. I'm using an ATXmega128A1 to read video and audio from SD flash card. The display update is >12fps and audio is 32khz pcm.

Although the video shown is cartoon animation, the display looks good with non-cartoon movie playback as well.

http://www.youtube.com/watch?v=QBre6VE8iF0


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 05, 2009 22:18 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
telliott wrote:
Looks like this thread isn't too active anymore, but thought I would share a post showing the Nokia display doing real-time video since I haven't seen anyone do that before. I'm using an ATXmega128A1 to read video and audio from SD flash card. The display update is >12fps and audio is 32khz pcm.

Although the video shown is cartoon animation, the display looks good with non-cartoon movie playback as well.

http://www.youtube.com/watch?v=QBre6VE8iF0


Looks good.
Heres a video of Quake3 on the same display. This is running through Henri's USB13700 via its SPI port.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 288 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19, 20  Next

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 6 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:  
Powered by phpBB® Forum Software © phpBB Group