Continue to Site

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.

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
 

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top