How does it work? | Keyboard

Date:

2017-06-08 17:00:06

Views:

1578

Rating:

1Like 0Dislike

Share:

How does it work? | Keyboard

The History of computer keyboards goes back more than 150 years. The prototype of the modern keyboard was a typewriter, which appeared in the mid-nineteenth century. First, the keys with letters placed alphabetically. However, over time it became clear that this arrangement is inconvenient, because the letters are far from the center. 20 years later there was invented the "QWERTY"-layout keyboard, which is still in use today. How does the keyboard — this was in today's issue!

Modern keyboard has buttons, LEDs, and microcontroller operating mode the Num Lock, Caps Lock, and others. The keys transmit to the computer a so-called scan codes, and the BIOS or the operating system in accordance with the layout of the keyboard translates the scan codes into key codes.

Buttons can be read using the scheme, which is called "the matrix of buttons" and is a grid of wires, the intersections of which are key. When the computer is turned on, the keyboard microprocessor sends electrical impulses on the vertical transactions in search of a signal. In the normal state (when no pressure) lines are not closed. If you press the button, the vertical and horizontal wiring to come into contact, the circuit will close and pass current. Due to this, the keyboard controller will understand that there was a key press, and closed transactions will determine what key has been pressed. It then sends the scan code of a key that has been activated. Scan codes are rigidly attached to each key at the hardware level and do not depend on the state of the indicators for Caps Lock, Num Lock and other, nor of the status of control keys (such as Shift and Alt).

The operating system Then checks and analyzes the data on the contents of operating system commands. If such commands are present, the computer executes them. If not, it sends the information to the launched application.

The keyboard has its own buffer to store the scan codes of keys pressed. Thanks to the buffer the processor can handle a combination of several simultaneously pressed keys.

Modern keyboard realizes the simultaneous pressing of two keys with any combination of modifier buttons like Shift. However, there are advanced keyboard, able to record up to six simultaneous keystrokes, and some of them do pretend to be three or four keyboard. In this case the number of keys pressed, respectively, is increased to 18 or 24.

There are also a capacitive keyboard that does not react on the circuit, and a capacitance change and therefore triggered by incomplete pressing. In this case, the current passes through the circuit continuously, and matrix records all its changes caused by moving keys closer to the conductors of the circuit. This change is then compared to the character map, and determines the location of the pressed key.

Speaking of the keyboard, not to mention the effect antidebug. When pressing-releasing the key switch some time closes-opens. Although the bounce lasts a few hundredths of a second, enough that the computer has registered a few taps.

Technology anticrease is usually embedded in the keyboard controller — when a key is pressed, it is unclaimed for some time, certainly longer than the duration of transients. On keyboards the first time anticrease was so big that it interfered with fast typing.

Recommended

An air leak site has been found on the ISS. What's next?

An air leak site has been found on the ISS. What's next?

Air leak occurs in Russian station module Inside the International Space Station live astronauts from different countries and all of them need oxygen. The air needed for the life of the crew is produced by special equipment, but the tightness of the ...

Why can thinking about death make life happier?

Why can thinking about death make life happier?

Awareness of one's own mortality can be a liberating and awakening experience How do you feel about the idea of death? How often do you think about it and what emotions do you feel? Many of us have been pondering these questions lately. The pandemic ...

A new photo of Jupiter has found a new spot. What's it?

A new photo of Jupiter has found a new spot. What's it?

New photo of Jupiter taken by the Hubble Telescope Jupiter is considered the largest planet in the solar system. It mainly consists of a huge amount of hydrogen and helium, so it has a much lower density than many other planets. Most of all, Jupiter ...

Comments (0)

This article has no comment, be the first!

Add comment

Related News

How does it work? | Touchpad

How does it work? | Touchpad

Touch panel, or another touchpad, was invented in 1988 by George Gerpheide. Then, Apple has licensed the project and, since 1994, began to use in the PowerBook laptops. Since the touchpad is the most common control device a laptop...

How does it work? | SSD

How does it work? | SSD

In today's issue of the scientific-educational programs «How does it work?» we'll talk about the SSD. Pleasant viewing! http://www.youtube.com/watch?v=tg9qRyCKbN4...

#trends | the Internet of things

#trends | the Internet of things

Internet of things — another fashionable phrase in recent years can be heard more and more often. Actually, it appeared much sooner than you think, but only now the potential of this phenomenon seriously wonder about his pro...