JIMI 发表于 20:50

电子密码锁的设计与实现

论文编号:DZXX215  论文字数:11118,页数:43
摘要
 本课题是基于单片机的电子密码锁的设计。主要通过单片机对键盘输入的密码与事先程序设定的密码进行对比,通过报警系统和亮灯系统以及数码管的显示,提示是否开门成功。
 本设计采用proteus软件绘制仿真图,利用单片机的C语言编程实现整个电路的功能,用Keil uVision2软件编程并调试程序。本课题硬件电路主要由AT89S51单片机,7段数码管,蜂鸣器等元器件组成。
 本设计所介绍的电子密码锁具有使用方便、安全性高、无需携带、省心省事,同时克服了传统的机械锁和卡片式电子锁易于丢失和易于被仿制的缺陷,现在已广泛用于保险箱、小区等安全性要求较高的地区。
 
关键词: Keil uVision2,单片机,密码锁 ,Proteus
ABSTRACT
 In this paper, the design is the electronic trick lock which is based on the mcu. Compare the input password with the password prejudgment by Single-Chip,through the alarm system,lighting control systems and the display of Digital tube that prompt whether the door is opened.
 Draw the Simulation diagram by the software of protues, achieve the functions of the entire circuit by the programming language of C , debug the program by using the software of Keil uVision2. The design which introduces in this paper contains the Single-chip(AT89S51), 7 sections of numerical code tubes,Speaker and ect.
 The electronic trick lock which introduces in this paper has the advantage of convenient and safety, at the same time ,compares with the traditional lock and the electronic card lock ,it overcomes the disadvantage of easy to lose and easy to copy.Now the electronic password lock is widely used in Safety Deposit Box and the Security Systems of Community.
Keywords: Keil uVision2 , Single-chip , trick lock , Proteus.
 
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1 历史意义及背景 1
1.2 研究内容及存在问题 2
第2章 硬件设计 3
2.1 单片机部分 3
2.1.1 AT89S51单片机简介和研究 3
2.1.2 AT89S51单片机功能介绍 3
2.1.3 AT89S51单片机的各管脚功能介绍 4
2.1.4 AT89S51单片的振荡器特性 7
2.1.5 AT89S51相对于AT89C51增加的新功能 7
2.2 七段数码管显示器 7
2.3 4×4行列式键盘 9
2.4 蜂鸣器及报警电路设计 9
2.5 系统硬件设计结构图和原理图 10
2.6 系统板上的硬件间的连线情况 11
第3章 软件设计 12
3.1 键盘输入部分 13
3.1.1 程序设计内容 13
3.2 数码管显示部分 14
3.2.1 程序设计内容 14
3.3 蜂鸣器声音提示部分 14
3.3.1 程序设计内容 14
3.3.2 C语言源程序 14
3.4 系统程序流程总框图 16
3.5 系统软件小结 16
第4章 调试分析 17
4.1 硬件调试 17
4.2 软件调试 17
4.3 结果分析 17
第5章 总结 19
第6章 致谢 20
第7章 参考文献 21
附录一 电路原理图 22
附录二 C语言源程序 23
页: [1]
查看完整版本: 电子密码锁的设计与实现