CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Vishay 80x32 LCD

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sjharris



Joined: 11 May 2006
Posts: 78

View user's profile Send private message

Vishay 80x32 LCD
PostPosted: Tue May 19, 2009 4:53 am     Reply with quote

Hello All,

I am a newbie to LCD interfacing and wondered if anyone could give me any tips on interfacing to the following module:-
Vishay 80x32 Graphics LCD

http://www.datasheetcatalog.org/datasheet/vishay/080x32a.pdf

Is there an example of interfacing to this type of display?

Any help would be most appreciated.

Thanks
SH
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 19, 2009 1:53 pm     Reply with quote

This thread has a KS0713 serial-mode driver. Note the comments
made with suggested improvements.
http://www.crystalfontz.com/forum/showthread.php?t=5123

Some #include lines in the source code are not visible. Just go to the
"View Source" menu in your web browser to see those lines.
sjharris



Joined: 11 May 2006
Posts: 78

View user's profile Send private message

PostPosted: Wed May 20, 2009 6:46 am     Reply with quote

Thanks for help,

It has helped me understand how to interface / control greatly.
The one thing that I am still a little unsure of is the different controllers on LCD's.
How may the code need to be changed to control a different controller on a different LCD??
Are the commands sent to the controller (i.e. 0xa0, 0xc0, 0xA3 etc) going to be the same across different controllers?
Also what are the pins on the PIC connected to,
B1 - Reset
B2 - SID pin (Serial Data??)
B3 - SCLK (Serial clock??)
B4 - CS1B (?????)
B7 - RS (Register Select??)

Cheers
SH
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed May 20, 2009 11:29 am     Reply with quote

Quote:

Are the commands sent to the controller (i.e. 0xa0, 0xc0, 0xA3 etc)
going to be the same across different controllers?

It's possible, but I would not depend upon it. There's no requirement
that manufacturers make their controllers compatible with each other.
Some are, but some are not. It has to be verified by closely comparing
the data sheets (or by looking for some notice of compatibility from
the manufacturer).

Quote:

How may the code need to be changed to control a different controller on
a different LCD??

You gave a specific LCD that you wanted to make a driver for.
I found sample code for that one for you. If you acquire another LCD
then new sample code will have to be found (or written). Your current
LCD has an SPI interface, which most LCD's do not have. Most of them
have a parallel interface.

Quote:
Also what are the pins on the PIC connected to,

Look on page 2 of the data sheet from your link:
http://www.datasheetcatalog.org/datasheet/vishay/080x32a.pdf
It gives the pinout of the LCD.

You can make up a table of the pin connections between the PIC and
the LCD by looking at the #define statements in the sample code
and the list on page 2 of the LCD data sheet.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group