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

Interfacing an LCD screen (JE-AN 1286404)

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







Interfacing an LCD screen (JE-AN 1286404)
PostPosted: Sat Mar 17, 2007 11:01 am     Reply with quote

Hi guys,

I'm using or trying to use a pic 18f4520 with a LCD screen: JE-AN 1286404.

Does anyone know how to wire LCD modules up? I haven't used one before so I don't want to make a mistake an blow the unit up!

I know where the data pins go and the cs, rd and reset go, but I don't know the rest.

I haven't found a datasheet for the module, and normally i wouldn't have touched it, but it was cheap so I thought I'd give it a go.

I'm trying to build a handheld version of a PC's "Hyper Terminal" program, so I can diagnose comms without a PC.

Any help would be appreciated.

Adam
flatlander



Joined: 25 Oct 2006
Posts: 1

View user's profile Send private message

Re: Interfacing an LCD screen (JE-AN 1286404)
PostPosted: Sat Mar 17, 2007 11:19 am     Reply with quote

Try:

* 1: VDD is connected to +5V
* 2: VSS is connected to GND
* 3: V0 - LCD operating voltage is connected from a 20k Ohm POT
*4-11: Data Bus 0 to 7 is connected to port d
*12: Chip Select 2 is connected to B1
*13: Chip Select 1 is connected to B0
*14: Reset is connected to C0
*15: R/W - Read or Write is connected to B4
*16: D/I - Data or Instruction is connected to B2
*17: Enable is connected to B5
*18: Negative voltage is also connected to the 20k Ohm POT
*19: Positive voltage for LED backlight is connected to +5V
*20: Negavtive voltage for LED backlight is connected to GND
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Mar 17, 2007 11:29 am     Reply with quote

This post in another forum, says it has an additional part number:
HQM1286404
http://www.picbasic.org/forum/showthread.php?t=5859

This thread in the CCS forum tells how to use it with CCS:
http://www.ccsinfo.com/forum/viewtopic.php?p=55734
ME109e
Guest







LCD interface
PostPosted: Sun Mar 18, 2007 10:32 am     Reply with quote

Hi guys,

Thanks for the info, much appreciated.

I'll give things a go and see where I get. If I run into any issues I call back.

Cheers
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