Abstract
With the development of the people's living standard, how to achieve the family security is becoming important in particular. The traditional mechanical lock is unable to meet the people's needs because of its simple structure, low security. Nowadays, with the continuous development of the science and technology,Electronic password anti-theft lock plays a more important role as the security guards.
The main paper is about the design electronic code lock based on the MCU. The system is composed with AT89S52, E²PROM AT24C02, data memory element and the peripheral circuits such as LCD display, alarming circuit. It can accomplish the following function: open the lock with a correctly password, give an alarm with the mistake password, change the password if the host want.
The lock has some features like a reasonable design methods, simple to work, low cost and security. It also has some promotion value.