摘要
在日常的生活和工作中, 住宅与部门的安全防范、单位的文件档案、财务报表以及一些个人资料的保存多以加锁的办法来解决。若使用传统的机械式钥匙开锁,人们常需携带多把钥匙, 使用极不方便, 且钥匙丢失后安全性即大打折扣。具有防盗报警等功能的电子密码锁代替密码量少、安全性差的机械式密码锁已是必然趋势。随着科学技术的不断发展,人们对日常生活中的安全保险器件的要求越来越高。为满足人们对锁的使用要求,增加其安全性,用密码代替钥匙的密码锁应运而生。密码锁具有安全性高、成本低、功耗低、易操作、记住密码即可开锁等优点。
目前使用的电子密码锁大部分是基于单片机技术,以单片机为主要器件,其编码器与解码器的生成为软件方式。
本系统由STC89C51单片机系统(主要是STC89C51单片机最小系统)、4×4矩阵键盘、LCD1602显示和报警系统等组成,具有设置、修改六位用户密码、超次报警、超次锁定、密码错误报警等功能。
关键词: STC - 89C51、LCD1602、电子密码锁、4×4矩阵键盘
Abstract
In our daily life and work, the security of residential and department, the file of the unit, the financial report and the preservation of some personal data are more and more. If using the traditional mechanical key to unlock, people often need to carry more than the key, the use of extremely inconvenient, and the key is lost after the security is greatly reduced. It is an inevitable trend to have a mechanical cipher lock which has the function of anti theft alarm, less password lock, less security. With the continuous development of science and technology, people's daily life in the safety of the device is increasingly high requirements. In order to meet the requirements of the use of the lock, increase its security, with a password to replace the key to the password lock came into being. The password lock has the advantages of high security, low cost, low power consumption, easy operation, remember password can unlock and so on.
At present, most of the electronic cipher lock is based on SCM technology, with the single chip puter as the main device, the encoder and decoder are generated as the software mode.
This system posed of STC89C51 microcontroller system (STC89C51), 4 * 4 matrix keyboard, LCD1602 display and alarm system, etc., which has the functions of setting up and modifying six user passwords, super alarm, super lock, password error alarm and so on.
Key words:STC - 89C51;LCD1602;Electronic password lock;4×4 keyboard
目录
1
1
1
3
3
4
基于51单片机的密码锁论文 来自淘豆网m.daumloan.com转载请标明出处.