electronics forum

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

AT PC keyboard interface with 8051 in embedded C


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> AT PC keyboard interface with 8051 in embedded C
Author Message
kovendanj



Joined: 25 May 2009
Posts: 3


Post15 Jun 2009 20:19   

interfacing pc keyboard to 8051


Sir

I need to interface AT PC keyboard with my 8051 microcontroller with
two i/0 pins only eg: P3.4 and P3.5 . Simply i need to scan the 6x7 keypad and i need to send the scan codes to the PC correspondingly any one help me .Its very urgent...
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post15 Jun 2009 20:44   

keyboard interfacing with microcontroller


Is there a question in there?
Back to top
Google
AdSense
Google Adsense




Post15 Jun 2009 20:44   

Ads




Back to top
kovendanj



Joined: 25 May 2009
Posts: 3


Post17 Jun 2009 6:50   

keyboard interfacing microcontroller


Sir

I need to interface AT PC keyboard with my 8051 microcontroller with
two i/0 pins only eg: P3.4 and P3.5 . Simply i need to scan the 6x7 keypad and i need to send the scan codes to the PC correspondingly any one help me .Its very urgent... i NEED THE eMBEDDED c CODE .PLZ HELP
Back to top
KiranVSutar



Joined: 14 May 2008
Posts: 14


Post17 Jun 2009 8:27   

keyboard interface with 8051


Hi,
It is not clear what is it that you want...?
Do you want to:

1. Interface a PC AT Keyboard to 8051 so that when you press a key on the keyboard, the 8051 detects this key and takes action.

2. You want to connect a 6x7 keypad to the 8051; Scan these keys, and if a key is pressed, then send its scan code to the PC as if a PCAT Keyboard is connected to the PC via the PS2 connector of the PC. That is, your 8051 is simulating the PCAT keyboard connected to PS2 port of PC.

The above 2 are totally different. First make it clear what is it that you want, then somebody will answer your question.
Back to top
kovendanj



Joined: 25 May 2009
Posts: 3


Post17 Jun 2009 12:51   

keyboard interfacing with 8051


I need to Interface a PC AT Keyboard to 8051 microcontroller using Embedded C code , where two I/0 pins of 8051 is used for keyboard clock and data pin .
plz help me it is urgent....
Back to top
KiranVSutar



Joined: 14 May 2008
Posts: 14


Post17 Jun 2009 14:20   

keyboard interface with microcontroller


kovendanj wrote:
I need to Interface a PC AT Keyboard to 8051 microcontroller using Embedded C code , where two I/0 pins of 8051 is used for keyboard clock and data pin .
plz help me it is urgent....


Here is the link that contains source code of PCAT (PS2) Keyboard with 8051:

http://www.8052.com/codelib


Sorry, it contains Assembly code....I will post if I find any C Code for PCAT Keyboard.
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 -> AT PC keyboard interface with 8051 in embedded C
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to interface keyboard with 8051 (4)
baud rate of keyboard for interface with 8051 (2)
8051 C code for PC Keyboard Interface - Wanted ! (5)
GPS with 8051 mc source code interfaced with LCD, Keyboard (6)
ps/2 keyboard interface with mcu (12)
Keyboard interface with XSA 50 (4)
keyboard interface with pic (1)
interface matrix keyboard with 8052 (1)
4 X 4 Keyboard Simulator, pc interface, with a controller? (1)
:cry: interface keyboard ps2 with pic (2)


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