The Design of the Remote Electronic Password Lock
Abstract: With the improvement of our life, people increasingly demands on the password lock. The function of the password lock is also constantly updated. A wireless remote control electronic password lock based on MCU is designed in this paper, which is consist of the launching system、the minimum system of the one-chip computer、the receiving and decoding circuit、 the keyboard circuit、the display circuit、 the alarm circuit、 the driving circuit. By combining the using of the technology of wireless remote control technology with electronic password,the results of the debug show that the change of password、error alarm、 the function of the machine lock and remote lock can be realized in the paper . The safety、reliability and practicability of the electronic password lock are improved.
Keywords: MCU; STC89C52; ON-OFF Keyed modulation; Wireless remote control; The password lock; PT2262/PT2272
目 录
摘要 1
0.引言 2
1.选题背景及研究内容 2
1.1选题背景 2
1.2课题研究内容 2
2.系统总体设计方案 3
2.1主要思路 3
2.2总体方案论证 3
2.3CPU的选择 3
2.4编码与解码方案 3
2.5外接存储器 3
2.6驱动电路 4
2.7总体设计方案 4
3.硬件系统结构设计 5
3.1单片机最小系统 5
3.2编码解码芯片 6
3.3无线遥控发射器电路 6
3.4无线接收模块电路 7
3.5电源电路 8
3.6键盘电路设计 9
3.7显示电路设计 11
3.8报警电路 12
3.9驱动电路 12
3.10外部存储器电路 13
4.系统软件设计 14
4.1应用软件设计原则 14
4.2主程序流程图 14
4.3密码设定子程序流程图 15
4.4固定键盘扫描子程序流程图 17
4.5密码比对子程序流程图 18
4.6无线发送流程图 19
4.7无线遥控接收解码流程图 19
4.8LCD显示子程序 20
4.9遥控密码系统的操作方法 20
5.系统测试 20
6.总结 24
参考文献 25
致谢 26
附录 27
附录Ⅰ:遥控器电路图 27
附录Ⅱ:无线接收电路图 28
附录Ⅲ:程序 29
遥控电子密码锁的设计
0.引言
随着人们生活质量的提高和安全意识的加强,各种系列的密码锁广泛进入人们的生活和工作。当前市场上的密码锁具有以下方式:一种是机械式的密码锁,它具有成本低,抗干扰能力强的优点,但其密码量少,安全性差,且其钥匙易于复制,而一旦机械装置遭到破坏,便不能开锁,会给用户造成极大的不便。一种是电子式的密码锁,它具有成本相对不高,密码量大,不易破译等优点。但为避免电子密码锁上的固定键盘损坏后无法输入密码,系统应具备在没有固定键盘或键盘损坏后也能方便地开锁。因此遥控电子密码锁应运而生,其市场前景及应用范围也越来越广阔。