BleepingComputer.com: Keyboard output

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Keyboard output to it's port

#1 User is offline   vayne24 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 63
  • Joined: 08-March 09
  • Gender:Male

Posted 01 December 2010 - 07:05 AM

Greetings,

We have a project on dot matrix display that would accept input from a keyboard. I would like to know how i can retrieve a keyboard scan code from its port since we will make a controller for it. I have searched everywhere but all i see are about the scan codes only. All i know is that there is a DATA pin where the scan codes are sent (PS/2) that are 8 bits long. I'm confused as to how a single pin can hold 8 bits. I'd very much appreciate any input regarding the issue.

#2 User is offline   Romeo29 

  • Learning To Bleep
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,834
  • Joined: 06-July 08
  • Gender:Not Telling
  • Location:127.0.0.1

Posted 01 December 2010 - 10:16 AM

I am amazed that you are going to make a micro-controller and your are asking how can one pin hold 8 bits? Get yourself a book on digital circuit design.
Signal is sent over clock frequency - 1 bit over each pulse of the clock - in addition to parity check signal (to check if data is corrupt).

This post has been edited by Romeo29: 01 December 2010 - 10:17 AM


#3 User is offline   vayne24 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 63
  • Joined: 08-March 09
  • Gender:Male

Posted 01 December 2010 - 10:39 AM

Sorry for not knowing that since my last and first micro-controller had like 20 pins with both port 1 and port 3 have 8 pins. Anyway, I understand already. I'll try to research more or maybe degrade our project.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users