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

Electronic combination lock with key. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Safety and security

Comments on the article Comments on the article

A lot of electronic combination locks are described in amateur radio literature. But most of them have a push-button dialer, and sooner or later the code becomes known to outsiders for one reason or another. As a result, it has to be changed periodically. In the proposed article, a lock is considered, the key to which is a metal plate with holes.

The key is a metal plate (Fig. 1) with eight holes drilled into it. They are located in two rows and correspond to the binary code installed in the lock. If the code bit is "1", then the hole will be in the top row, and if "0" - in the bottom. Like a mechanical key, the key is inserted into the reader's hole. A binary code is read from the key, similarly to a punched card, compared with the given one, and if it matches, a relay is turned on, through the contacts of which power is supplied to the lock electromagnet.

Electronic combination lock with key

The appearance of the reader is shown in fig. 2.

Electronic combination lock with key

It is made in the form of a hole for a key and consists of several parts (Fig. 3): plates for photodiodes 2; plates for emitting IR diodes 5; gasket 4, the thickness of which should be slightly greater than the thickness of the key so that the key can fit tightly into the well; diaphragm 3 and fixing bolts 1.

Electronic combination lock with key

The scheme of the device is shown in fig. one.

Electronic combination lock with key
(click to enlarge)

In the through holes of plates 2 and 5, optocouplers of IR diodes VN, BI2 and photodiodes BL1, BL2, respectively, are fixed perpendicular to the holes in the key. They serve to read information. The optocoupler from BI3 and BL3 fixes the final position of the key.

When the key is inserted into the keyhole, it blocks the optocouplers VI-BL1 and BI2-BL2. As the key moves, when a hole passes through the optical axis of the optocoupler, the radiation from the IR diode through the hole in the key enters the photodiode. Depending on the state of the bit ("0" or "1"), one of the photodiodes lights up. BL1 corresponds to one, and BL2 to zero. If BL1 is illuminated, then a high level appears at the output of the element DD1.1, which is fed to the input D of the shift register DD3.1 and through DD2.1 and DD2.2 to the clock inputs C of the registers DD3.1 and DD3.2. The received bit "1" is written to register DD3, and the code is shifted.

A similar process occurs when writing bit "0" to the register. When BL2 is illuminated, a high level appears at the output of DD1.2. At the output of DD1.1 at this moment there is a low level, which is written to the register DD3.

The code written in the registers DD3.1, DD3.2 is compared by the XOR elements (DD4, DD5) with the code typed using jumpers on the X1 connector. If the code completely matches, all outputs of the DD4 and DD5 microcircuit elements will be set to a low level. At the same time, the inputs 13 and 12 of the DD2.3 element are also low.

After all eight holes pass the read optocouplers, the front end of the key will reach the BI3-BL3 optocoupler and block it. A low level will appear at the output of the DD1.3 element, which will go to the input of DD2.3 (pin 11). A high level will appear at the output of the DD2.3 element, which will open the transistor VT1. Relay K1 will turn on and its contacts will apply voltage to the winding of the electromagnet Y1.

The device can use chips of the K176, K561, K564 series. Relay K1 - RKC3 (passport RS4.501.200) with a winding resistance of 175 ohms. Another type of relay can be used, the contacts of which are designed for the operating current of the electromagnet Y1. Electromagnet Y1 must be rated for alternating current if it is supposed to be powered directly from a 220 V network. Transformer T1 can be used ready-made. The secondary winding must provide a voltage of 36 V at a current of 0,3 A and have a tap from the middle of the winding.

Detail drawings for the reader are shown in fig. 5 - 8 (details 2 - 5 respectively).

Electronic combination lock with key

Electronic combination lock with key

Plates 2 and 5 are made of textolite 15 mm thick, gasket 4 is made of duralumin or steel 2,5 mm thick, diaphragm 3 is made of tin 0,5 mm thick. The dimensions indicated on the drawings should be followed only if you use the program to make the key. Otherwise, the dimensions of the parts may be different.

After assembly with bolts 1 (see Fig. 3), parts 2, 3, 4, 5 are clamped so that they move relative to each other with little friction. Then, looking at the clearance through the holes for photodiodes, the key is inserted and by moving the parts, the axes of the holes in the key, aperture 3 and the axes of the photodiodes and IR diodes in plates 2 and 5 are aligned. After that, the parts are finally clamped. Photodiodes are installed in plate 2, and IR diodes are installed in plate 5 at a distance of approximately 7 mm from the diaphragm.

A simple program shown in the table will help you make a key template. It is written in QBasic.

Electronic combination lock with key

After starting the program asks to enter the decimal value of the code in the range from 1 to 254 inclusive. Enter a value, for example, 200. After pressing the program prints on the printer the key template and the pin numbers of the X1 connector, which must be connected with jumpers. The template printed in this way is cut out and glued onto a metal blank. The "+" sign marks the centers of the holes. The letter X marks the hole that should be at the bottom of the key when it is inserted into the well. It is convenient to pass a metal ring with ordinary keys through it.

The shift signal arrives at the input C of the DD3.1 register with a very small delay relative to the arrival of the signal at the input D, which can lead to fuzzy operation of the key. To increase this delay between the output of the DD2.1 element and the common wire, it is useful to include a capacitor with a capacity of several hundred picofarads. Inverter DD2.2 in this case is best used with hysteresis (DD1.4).

Author: S. Rychikhin, Pervouralsk, Sverdlovsk region

See other articles Section Safety and security.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Machine for thinning flowers in gardens 02.05.2024

In modern agriculture, technological progress is developing aimed at increasing the efficiency of plant care processes. The innovative Florix flower thinning machine was presented in Italy, designed to optimize the harvesting stage. This tool is equipped with mobile arms, allowing it to be easily adapted to the needs of the garden. The operator can adjust the speed of the thin wires by controlling them from the tractor cab using a joystick. This approach significantly increases the efficiency of the flower thinning process, providing the possibility of individual adjustment to the specific conditions of the garden, as well as the variety and type of fruit grown in it. After testing the Florix machine for two years on various types of fruit, the results were very encouraging. Farmers such as Filiberto Montanari, who has used a Florix machine for several years, have reported a significant reduction in the time and labor required to thin flowers. ... >>

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld. Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations. According to scientists, the developed microscope allows creating images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes. ... >>

Air trap for insects 01.05.2024

Agriculture is one of the key sectors of the economy, and pest control is an integral part of this process. A team of scientists from the Indian Council of Agricultural Research-Central Potato Research Institute (ICAR-CPRI), Shimla, has come up with an innovative solution to this problem - a wind-powered insect air trap. This device addresses the shortcomings of traditional pest control methods by providing real-time insect population data. The trap is powered entirely by wind energy, making it an environmentally friendly solution that requires no power. Its unique design allows monitoring of both harmful and beneficial insects, providing a complete overview of the population in any agricultural area. “By assessing target pests at the right time, we can take necessary measures to control both pests and diseases,” says Kapil ... >>

Random news from the Archive

Tsunami pacified by mathematics 08.02.2017

Mathematician Usama Kardi of Cardiff University published a calculation of artificial acoustic gravity waves, which theoretically can significantly weaken the tsunami.

The calculation of the mathematician shows that by creating two acoustic gravity waves (AGW), it is possible to significantly reduce the frequency of a wave of much greater amplitude. True, in practice, the creation of such waves is an extremely difficult task: for this you need to spend a lot of energy, and building a generator will cost a lot. On the other hand, there are no other ways (at least theoretical) to weaken the tsunami at the disposal of mankind yet.

Acoustic gravitational waves should not be confused with gravitational waves - perturbations of the gravitational field, which are born during black hole mergers, supernova explosions and neutron star mergers. AGW is a special case of internal or inertial gravity waves propagating in elastic media. One of the factors that determine their existence is the force of gravity, hence the word "gravitational" in the title.

In nature, AGWs arise, for example, in the atmosphere and in water as a result of large-scale geological and atmospheric phenomena - earthquakes, meteorite falls, and other catastrophes. Recently, an atmospheric gravitational wave was discovered in the atmosphere of Venus.

Underwater AGWs accompany tsunamis; it is possible that such accompanying oscillations can be recorded to predict the giant waves themselves. As Cardi's calculation shows, two AGWs directed towards a tsunami are capable, interacting with it, of significantly reducing its amplitude - and this may mean thousands of saved lives.

However, this will require generating oscillations with such a large wavelength that is almost unattainable with the current level of technological development. Perhaps it would be easier to reflect and adjust the AWGs generated by the tsunami itself, the mathematician believes. But until modulators and transmitters capable of doing this are developed, the concept of tsunami attenuation by sound waves remains purely theoretical.

Other interesting news:

▪ Reproduced the scent of an Egyptian mummy

▪ Flexible battery recharged by human sweat

▪ TV from SEIKO EPSON with a built-in photo printer

▪ Indigestion in plants

▪ Elevator across the highway

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site House, household plots, hobbies. Article selection

▪ article by Giovanni Boccaccio. Famous aphorisms

▪ article What is the size of the tiniest predator on Earth? Detailed answer

▪ article Slinging cargo. Standard instruction on labor protection

▪ article Liquid level detectors. Encyclopedia of radio electronics and electrical engineering

▪ article Suppressor of radio interference. Encyclopedia of radio electronics and electrical engineering

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