Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

4x4 keypad output to LCD display using 18f452

Status
Not open for further replies.

lemonxxx

Newbie level 1
Joined
Oct 4, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
hi! i need some help here. but i am new to C programming so i am stuck.

i have a 4x4 matrix keypad which need to interface with the LCD. the LCD has 16 characters x 2 rows. my microcontroller is 18f452. i am using mplab to do the C programming.

the LCD screen will first show command in both rows for user to input the data from the keypad. for example,

/* row 1 of LCD */ Enter ID:
/* row 2 of LCD */ Enter Age:

after the "Enter ID" command is issued, the user got to enter his ID (which will be display on the LCD while he is entering), follow by enter. then the "Enter Age" will appear.

i need to do up the column and rows for the 4x4 keypad first right? how do i link the LCD and keypad together?

can someone please give me a c program code on how to do? greatly appreciated. and may god bless!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top