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

Connecting LCD & KEYPAD to PIC16F877A

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



Joined: 09 Mar 2012
Posts: 27

View user's profile Send private message

Connecting LCD & KEYPAD to PIC16F877A
PostPosted: Sun Mar 25, 2012 4:24 am     Reply with quote

Hello everybody ,
Sorry about my English and my newbie questions.
I've bought this LCD & KEY PAD : http://www.ccsinfo.com/product_info.php?products_id=lcdkeypad
After looking of the schematic , I try to connect it to my pic16f877a.
Is that the way I need to connect it?

http://img407.imageshack.us/img407/1905/lcdandkeypadcopy.jpg

http://img805.imageshack.us/img805/6549/lcdandkeypadcopy2.jpg

How should I need to connect it to my pic?

Thanks for your help ,
Jampe.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Sun Mar 25, 2012 9:56 am     Reply with quote

Hi,

The most important thing is that the pin connections on the Keypad and LCD match the corresponding pin connections on the PIC. If you do that, the CCS provided software will work with these items.

The way the physical connections are made is not really important, but I prefer everything to be neat and orderly. Ideally you would have a pair of "header" type connectors on the PIC board to interface to the Keypad and the LCD. The Keypad connector would be a 1X8 connector, and the LCD connector would be a 2X7 connector. These would be wired so as to directly connect the Keypad and LCD pins to the appropriate PIC pins.

The only undefined connection on the "schematic" (that's not really a schematic!) is the LCD "contrast" connection. This is an input to the LCD to control the contrast of the LCD. You can make a simple contrast circuit with a 10K multi-turn potentiometer. Connect one end to +5V, one end to GND, and the wiper connects to the contrast pin on the LCD. Adjust the pot for the desired LCD contrast.

John
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