electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

3×5 keypad interfacing with at89s52


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> 3×5 keypad interfacing with at89s52
Author Message
digitalkim



Joined: 27 Oct 2009
Posts: 7
Location: punjab


Post05 Nov 2009 12:17   

3×5 keypad interfacing with at89s52


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...
Back to top
rushi53



Joined: 19 Aug 2009
Posts: 36
Helped: 1
Location: India


Post06 Nov 2009 6:24   

Re: 3×5 keypad interfacing with at89s52


As per my view, you don't need to connect any IC between microcontroller and keypad.
Connect the matrix keypad directly to microcontroller.
You can find a similar code here:
http://www.projectsof8051.com/downloads/asmcodes/8051-matrix-keypad.html
This code is for 3x4 matrix keypad, modify it for a 3x5 keypad.
Back to top
Google
AdSense
Google Adsense




Post06 Nov 2009 6:24   

Ads




Back to top
digitalkim



Joined: 27 Oct 2009
Posts: 7
Location: punjab


Post06 Nov 2009 9:24   

Re: 3×5 keypad interfacing with at89s52


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.....
Back to top
omid_azmoon



Joined: 28 Sep 2003
Posts: 24


Post11 Nov 2009 12:12   

3×5 keypad interfacing with at89s52


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.
Back to top
digitalkim



Joined: 27 Oct 2009
Posts: 7
Location: punjab


Post12 Nov 2009 6:10   

Re: 3×5 keypad interfacing with at89s52


hi
thanks for the reply
can u please give me the c code for this....
thanks....
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> 3×5 keypad interfacing with at89s52
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
interface 4x4 keypad with Atmel AT89S52 (1)
MCU AT89S52 Interfacing with Ethernet Controller RTL8019AS (5)
Which ROM IC to use for interfacing with AT89S52? (2)
interfacing keypad with 89c52 (2)
interfacing keypad with mc68hc11 (5)
Problems about interfacing AT89S52 with 16x2 text LCD (3)
interfacing AT89C51 microcontroller with keypad (7)
interfacing LCD and keypad with C8051F020 (3)
lcd interfacing with 8051 and 4*4 matrix keypad (1)
interfacing Max3100 to at89s52? (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS