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 support@ccsinfo.com

help LCD problem combine 2 LCD(2*16) into 1 LCD(4*16)

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



Joined: 21 Apr 2005
Posts: 1

View user's profile Send private message

help LCD problem combine 2 LCD(2*16) into 1 LCD(4*16)
PostPosted: Thu Apr 21, 2005 12:37 am     Reply with quote

I have two 2*16 LCD modules and using 16f877a
I want to combine two LCD into one 4*16
Can any one help me
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Apr 21, 2005 6:25 am     Reply with quote

You can't really combine them. You will have to treat them separately. I would just go for a 4x20 display. They are pretty cheap. We buy them in fairly small quanities for under $11 USD
DragonPIC



Joined: 11 Nov 2003
Posts: 118

View user's profile Send private message

PostPosted: Thu Apr 21, 2005 1:36 pm     Reply with quote

You should be able to use both if you give each one their own enable pin and by using a couple resistors on each LCD's data signals. Or you could use 2 ports and give them their own bus instead of sharing.

Marks idea would be ideal.
_________________
-Matt
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Apr 21, 2005 1:40 pm     Reply with quote

DragonPIC wrote:
You should be able to use both if you give each one their own enable pin and by using a couple resistors on each LCD's data signals. Or you could use 2 ports and give them their own bus instead of sharing.

Marks idea would be ideal.


In addition, he would have to change his code to handle with display to write to based upon what line. Since he is kind of asking how to do this, he probably doesn't know how and someone would have to help. Since no one will have the hardware, no one is likely to help. If this is a onesy hobby project and he lives in the US, if he will send me an address I'll just send him a 4x20.
DragonPIC



Joined: 11 Nov 2003
Posts: 118

View user's profile Send private message

PostPosted: Thu Apr 21, 2005 2:07 pm     Reply with quote

Mark is giving away 4x20 LCD displays.....?

I'll take one Smile
_________________
-Matt
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Thu Apr 21, 2005 2:32 pm     Reply with quote

Mark,

Where do you get your lcds from? $11 is pretty cheap, but I'm willing to bet that's for the non-backlit version. Even so, that's cheap.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Apr 21, 2005 2:57 pm     Reply with quote

Well it looks like the price went up or the supplier lied (they do that) when they gave us the pitch:

Hantronix - HDM20416L -1-Y10S -$16 - white LED backlight
HANTRONIX - HDM20416L-1-L30S - $12 - yellow LED backlight
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Thu Apr 21, 2005 5:49 pm     Reply with quote

Mark,

Thanks for the info. Compared to what I pay, those prices are still very cheap.
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