In today's society, optoelectronic technology has been widely used, especially in optical fiber communication technology, remote control technology, radar detection technology, automatic control technology and optoelectronic detection technology. The reliance on optoelectronic technology is increasing. Optoelectronic technology is a new technology with broad prospects, because light propagates fast, is not easily disturbed, and has a large information carrying capacity. If we choose to use light as a carrier of information, we can imagine how convenient and fast our world will become.
Computer password controller is represented by microprocessor and digital memory, and is designed with today's high technology and the latest optimized software. It pursues high confidentiality, high reliability and wide applicability. It shows many advantages especially in regional management and centralized control of anti-theft. It is a popular system now.
This password controller is a photoelectric remote control type, which combines the above two advanced technologies. A specific password is arranged with light or no light as the basic code, and then recognized by the receiver, analyzed and judged by the single chip computer. Only when it meets the preset password signal can it be unlocked.
1. Solution Design
The laser password uses a single-chip microcomputer and an LCD screen. The single-chip microcomputer ensures that its programmer can use today's high-tech and optimized software to design and program, and the LCD screen ensures that it can help users operate in a very friendly interface. Combined with advanced optoelectronic technology, it ensures the leading position of the controller in science and technology. Carefully designed software and clever combination of various hardware parts ensure that the password lock has a simple principle, ingenious structure, and complete functions. This solves the problem of ordinary users having difficulty owning high-tech advanced products.
The following is a detailed introduction to the operating principle and key technologies of its main system. It consists of three parts: encoding and transmitting part, receiving information and processing part, and mechanical lock. Its specific structure is shown in Figure 1.
2 Principles and implementation of each hardware part
2.1 Coding Principle and Implementation
The password controller is mainly composed of an AT89C51 chip that is programmed to realize its specific functions. The main principle is that when the user enters the password through the keyboard, the microcontroller will automatically convert the processed machine code into a pulse signal that controls the power on and off. After the signal is coupled, the weak signal is amplified by a triode or an operational amplifier, so that the semiconductor laser can be driven to ensure that the laser transmitter can normally emit laser pulse signals.
Password design and signal generation principle: When the user enters a number 20 from the keyboard, the binary code written into the memory is 10 100. When programming the single-chip computer, set "0" to power off for 40 μs and set "1" to power on for 40 μs. Then, when the user transmits the switch, this group of codes is taken out as a signal to control the power supply. When programming, this process is designed to be cyclic until the user stops pressing the button, and then the transmitter converts the on-off electrical signal into a laser signal and transmits it. This avoids the disadvantages of using fixed frequency waves that are easily interfered by the outside world and have a low safety factor, and improves safety and reliability.
2.2 Design and implementation of signal reception and processing
This part mainly involves the detection of laser signals and their processing. First, the hardware uses a UDU2C photodiode as the main component for detecting laser signals. However, in order to improve its detection accuracy and detection distance, an optical concave mirror is added in front of this diode so that the divergent light emitted from a long distance can be refocused, ensuring its long-distance reception and detection. Finally, the detected signal is reshaped and amplified again to make the signal meet the requirements. Here, an AT89C2051 chip is used, and then the microcontroller is programmed to implement its specific calculation processing. When the cipher receives the shaped and amplified signal, it starts to judge. If this signal is a password setting signal, then this signal is put into the memory as memory content storage; if it is an unlocking signal, the received signal is compared with the password previously stored in the memory. When the received signal is the same as the password pre-stored in the memory, the output signal A is used to start the relay of the mechanical lock device, and then the small motor is started, thereby driving the latch to open the lock. When the compared signals are different, the output signal B is used to start the alarm circuit to sound an alarm. Considering that this combination lock may be powered off during use, a power supply and power-off protection device is added here. When the power is off, the power supply is automatically connected to the battery to ensure its normal use. When the power is low, it automatically issues a low power warning to remind the user to charge. Its basic circuit diagram is shown in Figure 2 (the power-off protection device can be used by slightly modifying Figure 2).
2.3 Implementation of alarm and mechanical lock
The key part of this system lies in the design and implementation of the first two parts. Here, the alarm can be selected as an ordinary buzzer to meet the requirements. The electromechanical lock part is composed of an electromagnetic relay, a motor and a mechanical lock.
3 Software Flowchart
The system software is written in Keil C language. In order to ensure that the functions of the controller are complete and the structure and principle are simple, a top-down and step-by-step refinement method is adopted. Its main program consists of two parts, including transmission and reception. The specific process is represented by the transmission part flow chart in Figure 3 and the reception part flow chart in Figure 4.
4 Conclusion
The test shows that the system has the following advantages:
(1) Laser has good monochromaticity, small divergence, high speed and large amount of information, ensuring its technological advantages.
(2) All operating functions are completed by a laser transmitter, which has dual control functions of time and space. It is difficult to make a fake key and is technically advanced.
(3) This password controller has a unique LCD screen, fully in Chinese, and has an extremely friendly interface and control platform.
(4) The password controller can be arbitrarily coded by the user. Without knowing the password, even the most clever thief cannot succeed. It is fully applicable in airports, stations, banks, hotels, offices and homes.
(5) Good confidentiality. General password controllers must implement a predetermined procedure (i.e., input password) when unlocking. If the procedure is too long, the unlocking time is long and it is easy to make mistakes. If it is too short, it is easy to be deciphered. Especially when unlocking in front of others, it is easy to leak secrets. However, this password controller can unlock from a long distance, and its maximum distance can reach several hundred meters. In this way, the length of input time does not need to be considered, and the lock can be unlocked silently, reducing the chance of leakage.
(6) The password controller has a unique power supply and power-off protection device that can automatically remind the user so that the user does not have to worry.
Previous article:Design of paperless recorder using C51 and plug-in FLASH memory
Next article:Temperature and humidity automatic detection system composed of AT89C51 55
Recommended ReadingLatest update time:2024-11-16 21:29
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Siemens Motion Control Technology and Engineering Applications (Tongxue, edited by Wu Xiaojun)
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Questions about second-order SK low-pass filter
- Advice for Bluetooth beginners
- Recruiting part-time mbd lecturers or technical support personnel
- Wireless serial port module communication technical parameters quick selection guide
- A serial screen product with analog video signal usage sharing
- I need someone to make a board to drive the LTC2325-16 ADC. If you can do it, come in and have a look and get a quote.
- Battery Testing Equipment Solution Introduction
- Exploring the source of the MSP430F5529 default clock frequency (1.05MHz)
- [Lazy self-care fish tank control system] Handling auth errors in ON Semiconductor IDE environment
- Practical Tips | Priority Inversion Problems in RTOS Applications