毕业设计(论文)-基于AT89C51单片机的多功能防试探型电子密码锁设计_精品.doc
文本预览下载声明
摘要
AT89C51单片机是一款八位单片机,它的易用性和多功能性受到了广大使用者的好评。本文介绍了如何利用AT89C51单片机设计多功能防试探型电子密码锁。本系统采用AT89C51单片机为控制核心,以24LC02存储器、矩阵键盘、LED显示器、报警系统和UPS电源为外围硬件设备。系统能完成开锁、超时报警、超次锁定、管理员解密、修改用户密码的密码锁的功能。整个系统的结构简单,可靠性能强,成本低廉,功能实用。如果需要的话,还可以将矩阵键盘模块改为指纹识别模块, 增强密码锁的安全性。
关键词:AT89C51;24LC02;矩阵键盘;LCD显示器;系统电源
Abstract
AT89C51 SCM is an eight-bit SCM, it’s popular with many users of its usability and multi functionality. This text is about how to design an multifunctional Anti-try Password Lock with AT89C51 SCM. This system uses AT89C51 as the control code and uses 24LC02 ROM、matrix keyboard、LED Display、alarm System 、UPS Electric Source as Peripheral. This system has the function of unlocking、overtime alarm、overnumber lock、 manager decryption、 modifying user’s password. It has the advantage of simple structure、outstanding reliability、low-cost、utilitarian function. You can change the matrix keyboard with fingerprint identification membrane, enhancing the security of Password Lock.
Keywords:AT89C51; 24LC02; Matrix keyboard; LCD display; System electric source
目录
第1章 引言··························1
1.1 概述···························1
1.2 理论基础·························2
第2章 系统设计························3
2.1 工作任务及指标······················3
2.2 系统原理·························3
本章小结
第3章 硬件设计························5
3.1 单片机AT89C51硬件构 ···················5
3.2 最小应用系统设计·····················6
3.3 报警电路·························8
3.4 系统电源设计·······················9
3.5 矩阵键盘·························10
3.6 LCD点阵显示器······················12
3.7 24LC02存储器及I2C总线 ··················14
本章小结
第4章 软件设计 ························18
4.1 主程序模块 ························18
4.2 调电存储服务程序 ·····················18
4.3 键盘扫描及识别子程序 ···················20
4.4 显示子程序 ························20
本章小结 ···························22
第5章 系统仿真 ························23
5.1 软件仿真设计·······················235.2 仿真结果·························23
第6章 结束语 ·················· ······27
致谢·····························28
参考文献···························29
附录A 硬件电路图····
显示全部