LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Nov 22, 2024 3:19

All times are UTC + 2 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Mar 05, 2004 10:39 
Offline

Joined: Mon Jan 26, 2004 12:23
Posts: 7
Hello all

I am new in this forum, it is the first time i post a message hier.
As i can see, there are many usefull informations for those will use LCD display.
You have made a great job Henri, have energy to continue.

So now my questions or problems
I have a graphic lcd 128x64 dot (spec hier : http://www.e-lab.de/downloads/DOCs/DEM128064ASYH-LY.pdf).
I plan to use it for displaying informations of flight simulator extracted from a sheared memory area.
I am using a USB -> I2C interface card and the LCD is connected to the I2C bus trought a small I2C adapter.

I almost read all concerning this KS0108 on the forum, i found well and read this topic too http://www.skippari.net/phpBB2/viewtopi ... ght=ks0108, but i am completely lost, i am not able to light any pixel on this display.
What it would be usefull for me, not a program ready to use, would be a flow chart describing the manner of proceding to initialize this display and to post a character on this display (signals to be applied to the various entries of the display).

If one among you has this informations, they would be to me of a great help.

If you miss some information, do not hesitate to ask me.

Thank's in advance for all.

Zarpjj

PS : Sorry for my english, my mother tongue is french


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 16:55 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Do you have some more info about the USB->I2C interface and the I2C adapter ? Some links, datasheet, etc...
Would make it easier for me to understand the situation.

I think I might have seen a flowchart describing KS0108 initialize and other functions somewhere. I'll have a look if I can find it.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 17:20 
Offline

Joined: Mon Jan 26, 2004 12:23
Posts: 7
Hello Henri

I am using this Interface from Devasys.com : schematics.
And i am using my own interface to connect the LCD display to the I2C bus : schematics.

Hope this info could help you.

Thanks in advance

Zarp JJ


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 17:34 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Couldn't find a flow chart but there isn't much initialization needed for KS0108.

Have you looked at here for some KS0108 intro: http://www.geocities.com/dinceraydin/lcd/gfxintro.htm

I have also posted some code here where you can see what things I've done in initialization:
http://www.skippari.net/phpBB2/viewtopic.php?t=132
From the above link you can see the timing diagram to write data to the display also. Do you understand that ?

When writing data to the display first set R/W pin LOW to tell the display you are writing to it. Also set the RS pin to LOW or HIGH to tell the display if you are sending a command byte or data byte. Then put the data to the data lines. After that strobe the E line and the display should read the byte from data lines.

Here's a summary of what the commands that can be sent to the display:
Image

These are the things you need to do to get something to the display:
Send the DISPLAY ON command. Send DISPLAY START LINE command and set it to 0. Also send both SET PAGE and SET Y ADDRESS commands with 0 as parameter. Now you should be able to write data to the display.


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 54 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