ChatterBank2 mins ago
computer key board
4 Answers
how dose a computer key board distigwish between over 100 diffrrent keys with only half a dozeon wires coming out the back. for give my spelling
Answers
Best Answer
No best answer has yet been selected by timshadie. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Each key on a keyboard is a switch. Just like switching on a light at home, when you close the circuit, the light comes on. When you press a key on a keyboard it switches on that letter. The computer has what is essentially a map of a keyboard known as a key matrix. Just like at at home, you know which switches around your house turnon which lights. When you press for inastance the letter K on your keyboard, the computer detects that it has been pressed and the checks the key matrix to see what it should do now. In most cases it will display the letter K on your screen. This can vary around the world where keyboard layouts differ or in specialist industrial/scientific uses.
The process of you pressing a key on a keyboard, and your PC knowing which one has been pressed, involves a fair amount of processing, both by your keyboard and the PC. You keyboard has an electronic membrane that sits beneath the actual keys, which behaves like lots of tiny switches. By pressing keys, you're effectively turns these switches on, and then off again when the key is released. As a switch is closed, some logic is performed on the keyboard itself to determine which key has been pressed. Once the keyboard has established this, it then knows what binary code to send down the wire to the PC (the keyboard has firmware inbuilt to allow it to know what codes to send for each key thats been pressed). Depending on the type of system, this code may or may not be based upon ASCII codes (ASCII codes are a numeric way to represent letters, numbers and symbols). Either way, the code that represents the key you've just pressed will be encoded on the keyboard itself into binary, and sent down the wire. Your PC is constantly monitoring inputs from your keyboard, and when a signal is received, it's decoded, and processed. The received code will tell your PC what key has been pressed, and your PC's software will then act upon that information. Depending on the software running, this could be just about anything, but often results in the key you just pressed being displayed onscreen.