没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的智能电子密码锁的设计说明书.docx
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 138 浏览量
2023-07-03
15:38:27
上传
评论
收藏 9MB DOCX 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/87989948/0001-844686cc32d3135205b381968e6fbfcd_thumbnail-wide.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
42页
基于单片机的智能电子密码锁的设计说明书.docx
资源推荐
资源详情
资源评论
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/release/download_crawler_static/87989948/bg1.jpg)
摘 要
如今,科技越来越发达,人们的生活水平也日益提高,防盗问题也成为生活
中一大难题。在我们平常的工作和生活里,自家住所的保护措施、公司文件及资
料的安全保护都会用锁来实现。自古以来,人们用的都是机械锁,但是机械锁的
保护能力已经跟不上现代社会的需求。
现在的电子设备趋向于微型与智能化,单片机在电子产品的控制器地位中无
可替代,所以兼有防盗及报警功能的以单片机为控制系统的智能电子密码锁已经
渐渐代替了传统的机械式的密码锁,弥补了机械式密码锁的安全性能低及密码量
少等缺点。
此设计由复位电路、STC89C52 单片机和晶振电路、蜂鸣器、4*4 矩阵键盘、
继电器等组成。在此设计中,通过 4*4 键盘来进行输入密码以及修改密码,通过
蜂鸣器来实现报警功能,单片机最小系统由复位电路和晶振电路与 STC89C52 单
片机组成。此设计具有 6 位密码的设置,并可以对密码进行修改,且密码错误后
会有报警功能。
关键词 报警;密码锁;STC89C52;蜂鸣器
![](https://csdnimg.cn/release/download_crawler_static/87989948/bg2.jpg)
Abstract
Nowadays, with the science and technology progressing and the living standards
of people are higher day by day, the anti-theft problem has become a great problem in
the life. In our ordinary life and work, the protective measures of messuage and the
security protection of company documents and information will be to achieve by lock.
From ancient times, people have used mechanical lock, however, the protective
capability of mechanical lock can not keep up with the requirements of modern
society.
As the electronic equipment tends to be miniature and intelligent in today’s
society, the singlechip has been in the irreplaceable position of the controller in the
electronic products. Therefore, the intelligent electronic coded lock, which uses the
SCM as the control system and combining the function both of anti-theft and alarm,
has gradually replaced the traditional mechanical coded lock and make up for the
shortcomings which are the safety property and password less and so on of the
mechanical cipher lock.
This design is constituted by the reset circuit, STC89C52 SCM, crystal
oscillating circuit, buzzer, 4 * 4 matrix keyboards, relays and other components. In
this design, through the 4 * 4 keyboard entering and changing the password, the
buzzer can achieve the function of alarm. While the minimum system of the
singlechip is made up of the reset circuit, crystal oscillating circuit and STC89C52
SCM. This lock has a six digits password settings, and the password can be changed.
When entering the wrong password, it also will have the alarm function.
Keywords alarm; coded lock; STC89C52; buzzer
![](https://csdnimg.cn/release/download_crawler_static/87989948/bg3.jpg)
目 录
摘 要.............................................................................................................................I
Abstract..........................................................................................................................II
第一章 绪论 ..................................................................................................................1
1.1 课题背景 ......................................................1
1.2 课题的目的和意义 ..............................................1
1.3 电子密码锁简介 ................................................2
1.3.1 电子密码锁的特点 .......................................................................................2
1.3.2 电子密码锁发展趋势 .................................................................................2
1.4 本设计完成的工作和实现目标 ....................................3
第二章 总体方案设计 ..................................................................................................5
2.1 电源模块 ......................................................6
2.2 主控制器模块 ..................................................6
第三章 硬件电路设计 ..................................................................................................8
3.1 主控制模块 ....................................................8
3.2 单片机管脚说明 ................................................9
3.3 键盘电路设计 .................................................10
3.4 液晶显示电路设计 .............................................11
3.5 存储芯片电路设计 .............................................12
3.6 报警电路 .....................................................12
3.7 继电器驱动电路 ...............................................13
第四章 系统软件设计方案 ........................................................................................14
4.1 软件简介 .....................................................14
4.2 主程序流图 ...................................................14
4.3 开锁软件设计 .................................................15
第五章 系统的安装与调试 ........................................................................................16
5.1 软件调试 .....................................................16
5.2 安装步骤 .....................................................17
5.3 实物照片......................................................17
5.3.1 密码输入 ......................................................................................................17
5.3.2 密码输入错误 ..............................................................................................18
5.3.3 修改密码 ......................................................................................................18
5.3.4 密码重置 ......................................................................................................19
5.3.5 液晶背光可控功能 ......................................................................................19
结 论 ..........................................................................................................................20
参考文献 ......................................................................................................................21
谢 辞 ..........................................................................................................................22
附 录 ............................................................................................................................23
附录 1 整机电路原理图.............................................23
![](https://csdnimg.cn/release/download_crawler_static/87989948/bg5.jpg)
第一章 绪论
1.1 课题背景
在我们平常的工作和生活里,自家住所的保护措施、公司文件及资料的安全
保护都会用锁来实现。自古以来,人们用的都是机械锁,但是机械锁的保护能力
已经跟不上现代社会的需求。随着科技的不断发展,如今安全信息系统的使用越
来越广泛,特别的在维护机密、保护隐私和财产保护等方面起到重大作用。人们
对平常生活中的安全保险器件要求也会越来越高。为满足人们对各种锁的使用要
求,并增加其安全性,锁已经快速发展到了电子锁、密码锁、声控锁、激光锁、
磁性锁等等。在传统的金属做的钥匙的基础上,填加了一组或多组密码,不同的
磁场,不同的声波,不同的光束光波,不同的图像(如指纹、眼底视网膜等)来
控制锁具开启。从而大大的提高了锁安全性,使不法之徒无从下手,人们也就能
对自己的财产安全有了更多的保障性。而基于电子密码锁的安全系统就是其中的
组成部分,所以研究它具有重大的现实意义。
1.2 课题的目的和意义
随着电子技术和计算机技术的高速发展,单片机的性能不断完善,性能价格
比得到了显著的提高,技术指标也日趋完善。由于单片机具有体积小、重量轻便、
价格低廉、功耗低、控制功能强及运算速度快等特点,因此在国民经济建设、军
事及家用电器等各个领域均得到了广泛的应用。
20 世纪 80 年代以后,随着集成电路的电子锁发明,电子锁体积不断缩小,
安全性提高,但是成本较高,只应用于安全性要求比较高的地方,而且能量需要
由电源提供。使用的范围还是有一定局限,所以对它的研究一直没有明显的进展。
目前,在西方比较发达的国家,电子密码锁的研究技术相对先进,种类也更
加齐全,智能门禁系统当中电子密码锁已经被广泛应用,通过更加可靠,更加安
全的技术实现大门的安全管理。
我国的电子锁整体水平相当于于国际上 70 年代左右,而且电子密码锁的成
本非常高,如果批量生产的话不能获得利润,市场上的电子锁扔以按键为主,卡
片钥匙式和按键式电子锁已引进国际先进水平。但国内自己研制开发的电子锁等,
没有成型的市场结构,应用还不广泛。国内的很多企业也引进了世界上的先进技
术,拥有可观的发展前景。如果通过不断的努力,使我国的电子密码锁能得到广
泛应用。
剩余41页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
老帽爬新坡
- 粉丝: 83
- 资源: 2万+
![benefits](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-1.c8e153b4.png)
下载权益
![privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-2.ec46750a.png)
C知道特权
![article](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-3.fc5e5fb6.png)
VIP文章
![course-privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-4.320a6894.png)
课程特权
![rights](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-icon.fe0226a8.png)
开通VIP
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)