At present, the application of the password locks are becoming more and more widespread, the types are varied and the design method are also different . In this paper, the circuit of the password lock are mainly constituted by the single chip microcomputer, keyboard input circuit and the display circuit. Firstly,we can use the keyboard to input the 6 bits passwords, then compare the password by the single chip microcomputer to achieve the function of this system.This article introduced the function of the systems hardware detailedly, as well as the designe ideas of the software and the main module¡¯s flow chart .
The circuit structure of this design is simple and the function of the software is perfect, which has displayed the advantage of the circuit merit fully.Moreover the secrecy and the use flexibility are good,.It has certain use and the reference value. In this design , we use the keyboard to input the passwords and the single chip microcomputer to compare the passwords,.This program can realized the password compare ,and error alarm function, which has meet the basic function of the password lock.