Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

3×5 keypad interfacing with at89s52

Status
Not open for further replies.

digitalkim

Newbie level 6
Joined
Oct 27, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
punjab
Activity points
1,357
can anybody suggest how can i interface 3×5 keypad with aat89s52 controller..
can i convert 20 key controller ic 74c923 to 15 key controller by connecting one of the x1,...x4 keys to permanently ground or vcc.
if yes wat shud i connect to that pin -vcc or gnd.?
thanks in advance...
 

digitalkim

Newbie level 6
Joined
Oct 27, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
punjab
Activity points
1,357
thnks for the reply..
but the keypad i've has no vcc or gnd simple switches are there....
and thats y its not detected by the controller..m using at89s52 controller
n please if possible help me thru c code..
i dont understng asm code much.i find it tough...
thanks once again.....
 

omid_azmoon

Junior Member level 2
Joined
Sep 28, 2003
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
turkey
Activity points
146
connect your keypad to 74923,then out put interrupt of this must be connected to micro.when you press any key micro goes to interrupt routin , then you can read output of 74923.
 

digitalkim

Newbie level 6
Joined
Oct 27, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
punjab
Activity points
1,357
hi
thanks for the reply
can u please give me the c code for this....
thanks....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top