This design chooses to use a single slice the machine chip AT89 C52 to control chip for the lord, making keyboard processing and figuring to take care of a manifestation, and controling an indicator and opening a lock. It adopts 4×4 keyboards, sets 10 piece character key(0-9)s among them with two function keys(ENTER and CANCEL), only having to be under the circumstance that the ENTER function key presses first then can carry out homologous function part; If do not press, the single slice machine then continued to carry on a keyboard to scan. After inputing six passwords and pressing ENTER function key, then the single slice machine carries on the password of password and enactment for inputing to comparison, if the password is right, then controling the green give out light diode for bright second, at the same time ,the single slice machine control drives electric circuit to open a lock;If the password is incorrect, then controling red to give out light diode for bright second, driving to open lock electric circuit not to act. This completes burglarproof function.
Keywords : SCM ,keyboard ,password ,diode