Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Simple keyboard. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Radio amateur designer

Comments on the article Comments on the article

Many electronic devices include a control unit - a keyboard that is used to enter various information. It should have protection against "bounce" of button contacts, as well as automatically repeat the code of the pressed key when it is held for more than a certain time. The article describes a simple keyboard that has the listed features.

The keyboard can be organized as an MxN matrix or a set of buttons with one common pin. In the first case, it allows you to combine many keys with a small number of connecting lines. However, its implementation is very laborious and requires the use of an encoder, for example, a diode one containing a large number of elements, or a microprocessor (microcontroller). These devices are not only complex. They form a code that is not easy to decipher. A keyboard with a common output is much easier to manufacture. It is advisable to use it when a large number of keys is not required. The encoder for such a keyboard is applicable to a simple diode, although it can give incorrect information when several keys are pressed at the same time.

Simple keyboard

Devices with sequential polling of each button are more efficient. A similar keyboard is assembled on counters with a decoder or multiplexers. Polling is done continuously or at the push of a button. In the second case, when several buttons are pressed at the same time, a key code with a higher priority is issued, which prevents conflict situations. When a button is pressed, a key code and a strobe signal are generated at the keyboard output to write this code. For some time, the keyboard should not respond to other key presses and releases, which is necessary to suppress the "bounce" of contacts, which will disrupt the operation of the entire device. The delay can be formed using an integrating RC circuit or a single vibrator.

The ability to repeat the code when a key is pressed for a long time is easy to provide by using a single vibrator in the delay element. In this case, when the delay after pressing the key expires, and the key remains pressed, the one-shot is started again and the whole cycle repeats. A diagram of one of these keyboard options, implemented on TTL microcircuits, is shown in the figure. The proposed sixteen-button keyboard performs the functions listed above.

While no button is pressed, the pulses from the clock generator on the elements DD3.1 and DD3.2 are fed to the input of the binary counter DD4. The multiplexer DD1, to the address inputs of which a digital code from the counter DD4 is applied, sequentially iterates over the inputs to which the keyboard contacts are connected. If a button is pressed, the corresponding input of the multiplexer will be low. At the moment when the code corresponding to the pressed button appears at the address inputs of the multiplexer, a high level voltage will appear at its output, which will start the DD2 single vibrator. The single vibrator will give a low level signal to the output "Strobe" and prohibit further operation of the generator. At the output of the counter DD4 there will be a code corresponding to the pressed button.

During the time determined by the values ​​of the elements R1, R2 and C1, pressing any buttons will not cause a change in the digital code at the output of the counter DD4. After this time, a high level voltage will appear at the output of the single vibrator DD2, allowing the operation of the generator. If the button is not released during this time, the cycle will repeat.

If several buttons are pressed at the same time, the code of one of them will be generated, which should not cause malfunctions in the system.

Establishing the device consists in setting the trimming resistor R2 to the required time interval, during which the code of the pressed button is present at the output of the counter DD4.

The described keyboard can be used in combination locks, security systems for entering a password, in electronic switches and in other equipment.

The reliability of the device will increase somewhat if each input of the multiplexer DD1 (D0-D15) is connected through resistors with a resistance of 10 kOhm to the positive power wire.

Author: S.Kuleshov, Kurgan

See other articles Section Radio amateur designer.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

A New Way to Control and Manipulate Optical Signals 05.05.2024

The modern world of science and technology is developing rapidly, and every day new methods and technologies appear that open up new prospects for us in various fields. One such innovation is the development by German scientists of a new way to control optical signals, which could lead to significant progress in the field of photonics. Recent research has allowed German scientists to create a tunable waveplate inside a fused silica waveguide. This method, based on the use of a liquid crystal layer, allows one to effectively change the polarization of light passing through a waveguide. This technological breakthrough opens up new prospects for the development of compact and efficient photonic devices capable of processing large volumes of data. The electro-optical control of polarization provided by the new method could provide the basis for a new class of integrated photonic devices. This opens up great opportunities for ... >>

Primium Seneca keyboard 05.05.2024

Keyboards are an integral part of our daily computer work. However, one of the main problems that users face is noise, especially in the case of premium models. But with the new Seneca keyboard from Norbauer & Co, that may change. Seneca is not just a keyboard, it is the result of five years of development work to create the ideal device. Every aspect of this keyboard, from acoustic properties to mechanical characteristics, has been carefully considered and balanced. One of the key features of Seneca is its silent stabilizers, which solve the noise problem common to many keyboards. In addition, the keyboard supports various key widths, making it convenient for any user. Although Seneca is not yet available for purchase, it is scheduled for release in late summer. Norbauer & Co's Seneca represents new standards in keyboard design. Her ... >>

The world's tallest astronomical observatory opened 04.05.2024

Exploring space and its mysteries is a task that attracts the attention of astronomers from all over the world. In the fresh air of the high mountains, far from city light pollution, the stars and planets reveal their secrets with greater clarity. A new page is opening in the history of astronomy with the opening of the world's highest astronomical observatory - the Atacama Observatory of the University of Tokyo. The Atacama Observatory, located at an altitude of 5640 meters above sea level, opens up new opportunities for astronomers in the study of space. This site has become the highest location for a ground-based telescope, providing researchers with a unique tool for studying infrared waves in the Universe. Although the high altitude location provides clearer skies and less interference from the atmosphere, building an observatory on a high mountain poses enormous difficulties and challenges. However, despite the difficulties, the new observatory opens up broad research prospects for astronomers. ... >>

Random news from the Archive

New material catches carbon dioxide molecules 20.10.2019

Researchers from the University of Kyoto, the University of Tokyo (Japan) and Jiangsu University (China) have developed a new material that can selectively capture carbon dioxide (CO2) molecules and efficiently convert them into useful organic materials.

The new material is a porous coordination polymer (PCP, also known as MOF, metal-organic framework) - a framework composed of zinc metal ions. The researchers tested their material using X-ray diffraction analysis and found that it could selectively capture only CO2 molecules with ten times the efficiency of other PCPs.

Human consumption of fossil fuels has led to an increase in global CO2 emissions, leading to serious problems associated with global warming and climate change. One way to counter this is to "remove" carbon from the atmosphere, but current methods of doing so are very energy intensive. The low reactivity of carbon dioxide makes it difficult to capture and convert.

How does the new material capture carbon dioxide molecules? It has an organic component with a propeller-like molecular structure: as CO2 molecules approach the material, these "propellers" rotate and rearrange to allow the capture of CO2, resulting in small changes in the molecular channels in the PCP. The material acts like a molecular sieve, able to recognize carbon dioxide molecules by size and shape. An important advantage of PCP is that it can be recycled and reused. During the experiments, the efficiency did not decrease even after ten reaction cycles.

And captured carbon dioxide molecules can also be used to advantage: carbon dioxide can be processed into valuable chemicals, such as cyclic carbonates, that can be used in petrochemicals and pharmaceuticals.

Other interesting news:

▪ Gigabyte GSmart series of smartphones

▪ Self-charging phone

▪ Gaming monitor ASUS VG249QL3A

▪ AMD FirePro S9300 x2 Dual Processor Accelerator

▪ Autopilot of the Chinese search engine Baidu

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Art video. Article selection

▪ article by Salvador Dali. Famous aphorisms

▪ article Under what conditions did Spielberg agree to receive an honorary degree from the School of Cinematography? Detailed answer

▪ article Sweet orange. Legends, cultivation, methods of application

▪ article Classification of metal detectors. Encyclopedia of radio electronics and electrical engineering

▪ article Rotating palette. Focus Secret

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024