免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 论文排版 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 论文范文 -> 电子机电类

基于单片机的电子密码锁

本文ID:641 字数:9568,页数:36

下载地址 全文下载链接(充值:¥108.00元) 

论文编号:JD019  有开题报告,原理图,PCB,  论文字数:9568,页数:36

摘要

在日常的生活和工作中, 住宅与部门的安全防范、单位的文件档案、财务报表以及一些个人资料的保存多以加锁的办法来解决。若使用传统的机械式钥匙开锁,人们常需携带多把钥匙, 使用极不方便, 且钥匙丢失后安全性即大打折扣。随着科学技术的不断发展,人们对日常生活中的安全保险器件的要求越来越高。为满足人们对锁的使用要求,增加其安全性,用密码代替钥匙的密码锁应运而生。密码锁具有安全性高、成本低、功耗低、易操作等优点。
在安全技术防范领域,具有防盗报警功能的电子密码锁逐渐代替传统的机械式密码锁,克服了机械式密码锁密码量少、安全性能差的缺点,使密码锁无论在技术上还是在性能上都大大提高一步。随着大规模集成电路技术的发展,特别是单片机的问世,出现了带微处理器的智能密码锁,它除具有电子密码锁的功能外,还引入了智能化管理、专家分析系统等功能,从而使密码锁具有很高的安全性、可靠性,应用日益广泛。
随着人们对安全的重视和科技的发展,许多电子智能锁(指纹识别、IC卡辨认)已在国内外相继面世。但是这些产品的特点是针对特定的指纹和有效卡,只能适用于保密要求的箱、柜、门等。而且指纹识识别器若在公共场所使用存在容易机械损坏,IC卡还存在容易丢失、损坏等特点。加上其成本较高,一定程度上限制了这类产品的普及和推广。鉴于目前的技术水平与市场的接收程度,电子密码锁是这类电子防盗产品的主流。
基于以上思路,本次设计使用ATMEL公司的AT89C51实现一基于单片机的电子密码锁的设计,其主要具有如下功能:
设置6位密码,密码通过键盘输入,若密码正确,则将锁打开。
密码可以由用户自己修改设定(只支持6位密码),锁打开后才能修改密码。修改密码之前必须再次输入密码,在输入新密码时候需要二次确认,以防止误操作。
报警、锁定键盘功能。密码输入错误数码显示器会出现错误提示,若密码输入错误次数超过3次,蜂鸣器报警并且锁定键盘。
电子密码锁的设计主要由三部分组成:4×4矩阵键盘接口电路、密码锁的控制电路、输出八段显示电路。另外系统还有LED提示灯,报警蜂鸣器等。
密码锁设计的关键问题是实现密码的输入、清楚、更改、开锁等功能:
密码输入功能:按下一个数字键,一个“-”就显示在最右边的数码管上,同时将先前输入的所有“-”向左移动一位。
密码清除功能:当按下清除键时,清除前面输入的所有值,并清除所有显示。
密码更改功能:将输入的值作为新的密码。
开锁功能:当按下开锁键,系统将输入与密码进行检查核对,如果正确锁打开,否则不打开。
主要的设计实施过程:首先,选用ATMEL公司的单片机AT89C51,以及选购其他电子元器件。第二步,使用DXP 2004设计硬件电路原理图,并设计PCB图完成人工布线(后因PCB板损坏决定采用万能板焊接的方法)。第三步,使用Keil uVision3软件编写单片机的C语言程序、仿真、软件调试。第四部,使用PROTEUS软件进行模拟软、硬件调试。最后,联合软、硬件调试电路板,完成本次毕业设计。

关键词:4×4矩阵键盘;AT89C51;密码锁;密码二次确认DESIGN INTRODUCTION
In our daily life, the security of house, company department, documents and finance forms, also some personal information always used the lock to protect them. If use the normal keys to lock out the door, we should taken many keys with ourself.That is so difficult to use. And if we lost the keys with careless, the security looks very easy to break out. As the developing of the technology,people
ask for high securty machines.For satisfy this request, the cipher lock is appeared.The cipher has higher security, lower cost, lower power and easy to use.
Base on the thinking of the cipher lock, this design uses AT89C51 of ATMEL COMPANY to carry out the SCM digital cipher lock, its main function as follow:
1. set password with 6 words, enter the words via keybord, if enter the right number, the lock will unlock.
2. password can set and fix by yourself, you can just fix the password when the lock is keeping unlock. It need to enter the new password twice to avoid the wrong activity.
3. alarm function. If enter the wrong password, the mon will show the error message, when enter the wrong password over 3 times, the buzzer will alarm and lock the keybord at the same time.
this lock is made by 3 parts: gob circuit of 4x4 matrix keybord , gob circuit of cipher lock, gob circuit of 8 way display output. other wise, the system has LED light, and warning buzzer.
the main function of this cipher lock is carried out enter, clear, and change the password, and unlock the door.
1. enter the password: press one number button, one signal "-" will show on the digital tube on the right side, pls put the "-" to left side at the same time.
2. clear the password: press the clear button to clear all codes you have enter before.
3. change the password: use the new enter number as the new password.
4. unlock function: press the unlock button, the system will check up the enter number and password, if yes the lock will open, if not it keep lock.
the main process: first, use SCM AT89C51 of ATMEL company. second, design the theory chart with DXP 2004, and design the PCB board. third, compile the C lang. program, resemble, and test with software keil uVision3. fourth, simulate the hardware test with software PROTEUS. LAST, test the circuit board withe the software and hardware, finish.

Key word : matrix keybord; AT89C51: LED digital tube.

目录

设计总说明 II
DESIGN INTRODUCTION IV
第1章 绪论 1
1.1 背景 1
1.2 电子锁 1
1.3 电子密码锁的特点 1
1.4 电子密码锁的发展趋势 2
第2章 系统总体设计 3
2.1 系统结构 3
2.2 系统组成 3
2.3 系统可行性分析 3
第3章 硬件电路设计 5
3.1 单片机AT89C51简介 5
3.1.1 主要特性 5
3.1.2 管脚说明 5
3.1.3 震荡特性 7
3.1.4 芯片擦除 7
3.2  4×4矩阵键盘 7
3.3 复位电路 8
3.4  振荡电路 8
3.5数码管 9
3.6 发光二极管LED 10
3.7 电动锁 10
3.8 蜂鸣器 11
3.9完整电路图及PCB图 12
第4章 软件程序设计 14
4.1 软件设计流程图 15
4.2 具体功能软件实施 16
第5章 结束语及展望 21
第6章 鸣谢 22
第7章 参考文献 23
附  录   电子密码锁源程序  24

相关论文
上一篇:仓库温湿度的监测系统 下一篇:单片机控制交通灯系统设计
推荐论文 本专业最新论文
Tags:基于 单片机 电子密码锁 2009-06-09 11:44:53【返回顶部】

相关栏目

自动化专业
电子机电类
测控技术
机械模具设计
金融专业
电子通信
交通工程专业
英语专业
会计专业
政治学行政学
财务管理
国际贸易
法律专业
社会工作专业
物流论文
人力资源
食品科学生物技术
市场营销
土木工程
化学工程与工艺
旅游管理专业
工商管理
工程管理
其他专业论文


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2022 GEPUW.NET 论文天下网 版权所有