The keyboard is the most common way for humans to input information into a computer. It has been around since before computers were main-stream and everyone was still using typewriters. Because of this prevalence in society, it’s important that we understand how to interface to the basic PS/2 keyboard.
This article will describe and show you an example of how to create a system capable of interacting with a keyboard in order to understand what keys have been pressed. The example system will be built on a breadboard using a PIC microcontroller to communicate with the keyboard and display output.
PS/2 Keyboard Interface - [Link]