电子密码锁报告教程分析.docVIP

  • 9
  • 0
  • 约1.72万字
  • 约 36页
  • 2016-04-11 发布于湖北
  • 举报
课 程 设 计 说 明 书 课程设计名称: 微机接口技术课程设计 题 目: 模拟电子密码锁 学 生 姓 名: 专 业: 电子信息工程 年 级: 学 号: 指 导 教 师: 日期: 2012 年 2 月 6 日 电子密码锁 摘要:提出了一个电子密码锁的设计方案,该设计方案通过AT89C52单片机对整个系统进行核心控制,再外加4×4矩阵键盘电路,显示电路,开锁和报警电路,分别对键盘输入,LCD1602显示,开锁灯和报警灯进行整体控制。最后将键盘输入信号送人AT89C52单片机,经过软件的控制,在LCD上显示输出相应的密码,密码的位数为5位。系统能完成锁闭状态显示、密码输入错误超次异常,初始化设置用户密码等基本的密码锁功能。 关键词: AT89C52 LCD1602 电子密码锁 4×4矩阵键盘 Abstract:This paper puts forward a design scheme of electronic trick lock, the design through the AT89C52 single chip microcomputer to the whole system core control, again plus 4 * 4 matrix keyboard circuit, display circuit, the lock and alarm circuit respectively, the keyboard input, LCD1602 display, unlocking the lamp and alarm lamp for overall control. Finally the keyboard input signal for AT89C52 single chip microcomputer, through software control, displayed on LCD output corresponding password, the password for the number five. The system the complete lockdown status display, password input error Transdimensional abnormal, initial setting user passwords and other password lock function. Key words : AT89C52 LCD1602 Electronic password lock 4×4 keyboard 目录 第1章 绪论 1 1.1 电子密码锁的背景 1 1.2 单片机的基本介绍 1 1.3 keil c51的优势 1 第2章 总体设计方案的确定 2 2.1 电子密码锁设计的要求 2 2.2 总体方案的选择 2 2.2.1 方案的比较 2 2.2.2 方案论证确定 4 第3章 单元设计模块 5 3.1 MCS-51单片机最小系统电路 5 3.1.1 复位电路 6 3.1.2 时钟电路 7 3.2 按键模块 8 3.3 显示模块 9 3.4 开锁报警电路 10 第4章 系统软件设计 11 4.1 主程序模块 11 4.2 键盘扫描部分 11 4.3 密码修改模块 12 4.4 密码比较模块 13 第5章 系统调试仿真和误差分析 15 5.1 程序的调试 15 5.2 系统仿真 16 5.3 误差分析 19 第6章 结论 20 第7章 总结 21 9 参考文献: 22 附录一:整体电路设计图 23 附录二:程序代码 24 绪论 当代是一个科技快速发展的时代,人们对自己的生活有了越来越高的要求,生活质量的提高,也是我们对资深财产的安全有了更加浓重的保护欲。智能仪器的应用在日常生活中越来越广泛,在各个方面都得到应用发展,不管是科技的发展还是生活的需要,现在都已经离不开智能电子仪器。而传统的机械锁由于其构造的简单,被撬的时间屡见不鲜,使我们的财产以及人身安全有了很大的隐患,这致使我们寻求更好的安全措施。

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档