基于单片机的数字密码锁设计设计.doc
《基于单片机的数字密码锁设计设计.doc》由会员分享,可在线阅读,更多相关《基于单片机的数字密码锁设计设计.doc(28页珍藏版)》请在启牛文库网上搜索。
1、 陕西理工学院毕业设计 毕业设计论文题目 基于单片机的数字密码锁设计 学生姓名 李苏喜 学 号 1110064055 所在院系 物理与电信工程学院 专 业 电子信息科学与技术 班 级 电信1102 指导教师 周平和 2015年6月 陕西理工学院毕业设计基于单片机的数字密码锁李苏喜(陕西理工学院物电学院电子信息科学与技术专业1103班级,陕西 汉中 723000)指导教师:周平和摘要伴随我们生活水平的提高,电子数字密码锁慢慢取代了普通的锁具,电子密码锁在安全性能上比普通锁具更好,普通的机械锁其机构非常的简单,从而在安全性能方面得不到保障,电子密码锁使得我们在安全保障方面更有自信,并且电子密码锁还
2、有不用钥匙、无锁孔、无机械传动、不易损坏、不磨损等优点,很多用户都想简单出门,电子密码锁就能满足他们。本次设计的系统由单片机系统、矩阵键盘、显示电路和报警提示系统组成,系统能完成开锁、密码保护、密码正确与否的提示。单片机是采用的美国Atmel公司的单片机AT89C52;矩阵键盘采用44矩阵键盘;显示电路主要是采用液晶显示,具有设计简单、工作电压低、响应速度快、价格低廉等特点;报警系统采用的是LED指示灯。设计采用C语言作为主片控制程序,因其具有方法合理、简单易行、成本低、实用等特点。关键词AT89S51单片机;LCD1602;电子密码锁;44矩阵键盘The No. three soft lan
3、ding trajectory design and control strategyLi Suxi(Grade11, Class1102, Electronic Information Science and Technology, School of Physics and Telecommunication Engineering, Shaanxi University of Technology, Hanzhong 723000, Shaanxi)Tutor: Zhou Pinghe Abstract:With the improvement of our living standar
4、ds, the electronic digital lock slowly replaces the ordinary mechanical lock, the electronic password lock is better than the ordinary mechanical lock on the safety factor, the institution of ordinary mechanical lock is very simple, so that it can not guarantee the safety, and electronic lock makes
5、us more confidence on safety, and the electronic lock has an advantage that without a key, keyhole, mechanical transmission, which is difficult to damage, wearing, and can not easily be deciphered, Many users want to go out simple, the electronic lock can meet their needs. The system consists of MCU
6、 system, matrix keyboard, the showing of circuit and alarm system components. password-protected and the showing of password whether it is correct or not. The design uses the C language as the main chips control procedures, which is proved that the design of rational design method is simple, safe an
7、d practical. Key words:MCU AT89S51; LCD1602; Electronic lock; 4x4 Matrix keyboard目录引言11数字密码锁功能要求12总体方案12.1方案选择22.2方案实现22.3方案结构框图23硬件电路的设计33.1单片机及单片机最小系统33.2键盘电路53.2.1键盘接口53.2.2键盘的识别方式63.2.3按键去抖动63.2.444行列式键盘电路63.3LCD1602显示电路63.3.1LCD1602的介绍63.3.2LCD1602显示的外围电路83.4报警提示电路83.5电源输入及电源指示电路94软件设计104.1软件设计
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 单片机 数字 密码锁 设计