Different principles of pass lock and smart lock

First, does the general lock have a copper core? After disassembling, you can see that the upper side is the slot-key back direction, the other side is a row of small holes, and the small holes are different lengths of copper posts and springs (copper The column is sealed with aluminum on the outside of the key. The ordinary copper column ejects a half because it is not subjected to force, and blocks the rolling of the large copper heart. When inserted with the corresponding key, the teeth on the copper post and the key touch to form a regular curve, which flashes the gap on the large copper core so that it can roll. The principle of scrolling to open the lock is relatively simple.

Second, in the field of security skills prevention, the electronic code lock with anti-theft alarm function replaces the traditional mechanical code lock, which overcomes the defect that the mechanical code lock has less code and poor safety function, so that the code lock is still in the skill. Functionally, it has greatly improved. Following the development of large-scale integrated circuit skills, especially the introduction of single-chip microcomputers, intelligent code locks with microprocessors have emerged. In addition to the functions of electronic code locks, they also introduce intelligent functions and expert analysis systems. The code lock has high security and reliability and is widely used. This article introduces the intelligent code lock centered on the 51 series MCU, and discusses its operation principle, basic function block diagram, key planning skills and software operation flow in detail.

Third, the basic principles and hardware components

The system of intelligent code locks consists of intelligent monitors and electronic locks. The two are placed off-site, and the smart monitor supplies the power required by the electronic lock and accepts the alarm and status information it sends. Here, the line multiplexing skill is selected to share a two-core cable for power supply and information transmission, which improves the reliability and safety of the system.

1.1 The basic principle and structure of the intelligent monitor

The block diagram of the intelligent monitor is composed of a single chip, a clock, a keyboard, an LCD display, a memory, a demodulator, a line multiplexing and monitoring, an A/D conversion, a buzzer and the like. The primary end is the communication with the electronic lock, the intelligent analysis and the safety monitoring of the communication line.

The intelligent monitor is always in a state of acceptance, accepting alarm information and status information from the electronic lock in a fixed pattern. Regarding the alarm information, the LCD monitor and the buzzer will immediately sound and light alarm; the status information will be stored in the memory, and compared with the historical situation of the electronic lock at this moment, the trend will be changed, and the future will be guessed. The situation changes, and the corresponding information is provided to the duty personnel via the LCD display for use in the resolution plan. The intelligent monitor and the electronic lock establish a communication relationship, and the A/D converter supervises the change of the power supply current flowing through the communication line in real time, thereby effectively avoiding the damage caused by human factors and ensuring the smooth communication line.

1.2 Electronic lock basic principle and structure block diagram

The block diagram of the electronic lock is also centered on the 51 series single chip microcomputer (AT89051), with the corresponding hardware circuit, completes the setting, storage, identification and display of the code, drives the electromagnetic actuator and checks the driving current value, and accepts the sensor to send The function of the alarm signal and data transmission.

The MCU accepts the typed code and compares it with the code stored in the EEPROM. If the code is accurate, the electromagnetic actuator is unlocked. If the code is inaccurate, the operator is allowed to input the code from the beginning, up to three times; if three times Inaccurate, the MCU alarms to the intelligent monitor via the communication line. The single-chip microcomputer sends the unlocking operation and the driving current value of the electromagnetic actuator to the intelligent monitor as the status information at the moment, and sends the alarm information from the sensor interface to the intelligent monitor as the basis of the intelligent profiling.

Fourth, key skills

In order to improve the safety and reliability of the intelligent code lock, this article has selected some key skills in the planning, in addition to the adoption of equipment selection (such as the selection of equipment with low power consumption and wide temperature scale).

2.1 line reuse skills

The smart monitor and electronic lock are placed off-site, and the smart monitor supplies the power required by the electronic lock and accepts the alarm and status information it sends. If the method of separating the communication line and the power supply line is selected, it is necessary to add the number of cable cores and add safety hazards. This article chose the line multiplexing skills, using only a two-core cable to complete the power and information transmission.

Editor in charge: Sun Gongxue

American Faucet


American faucet,American streamlined faucet,American streamlined faucet price

Yuyao Zelin Sanitary Ware Co., Ltd , https://www.kitchen-sinkfaucet.com