keypad interfacing to 8051

Status
Not open for further replies.

suma_ranga

Newbie level 5
Joined
Dec 15, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Activity points
1,341
i have some problem with interfacing 8051 to keypad, code in mazidi is nt working for me.. i dont know the reason. can anyone help
 

Search the form before you post. You will found variety of threads for the same post..
 

Well mazidi code is not working then there can b a hardware level problem, you should also check your hardware,
 

Try this code.. I'm always using this code if I have a project
**broken link removed**
 

tell you complaint ?
is it work in simulator ?
circuits ?
code ?
 

did you grounded keypad and set the port.....

---------- Post added at 21:53 ---------- Previous post was at 20:37 ----------

#include <AT89X51.H> //Include file for 8051
#define keyport P2 //keypad connected to P2
#define col1 P2_0 //column 1
#define col2 P2_1 //column 2
#define col3 P2_2 //column 3
#define col4 P2_3 //column 4


there is some start lines of the program will it work on kiel....

because i dont know any thing about c based programing.
 
Last edited:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…