- 7
- 0
- 约3.04万字
- 约 35页
- 2021-06-18 发布于天津
- 举报
基于单片机的密码锁设计
目录
前言3
第一章 系统方案论证4
1.1 主控部分的选择4
1.2 密码输入方式的选择4
第二章 系统总体设计和主要芯片介绍5
2.1 系统总体设计5
2.2 主要芯片介绍5
第三章 系统硬件构成 11
3.1 系统整体电路图11
3.2 单片机最小系统原理图11
3.3 电源输入部分11
3.4 键盘输入部分12
3.5 密码存储部分13
3.6 显示部分13
3.7 报警部分14
第四章 软件的设计与实现 15
4.1 主程序流程图15
4.2 按键功能程序流程图15
4.3 密码设置流程图16
4.4 开锁流程图17
第五章 系统的调试与测试 18
5.1 proteus 软件简介 18
5.2 进入 Proteus ISIS 18
5.3 仿真说明18
5.4 实物测试图及说明20
结论 24
参考文献 25
i
致谢 26
附录 27
附录 1:原理图 27
附录 2:部分源程序 28
ii
摘要
本系统由单片机系统、矩阵键盘、LED 显示和报警系统组成。系统能完成开锁、超次
锁定、报警、修改用户密码基本的密码锁的功能。除上述基本的密码锁功能外,还具有
掉电存储、声光提示等功能,依据实际的情况还可以添加遥控功能。本系统成本低廉,
功能实用。
关键词:AT89S51 ;AT24C02 ;电子密码锁;矩阵键盘。
第 1 页
Abstract
As peoples living standards improve, the question how to achieve home security has
become particularly prominent. In science and technology is developing continuously, electronic
code lock as a security guards role is increasingly important.
This article from the economical point of view, the system by the STC89C52 with low
power CMOS based E²PROM AT24C02 as the master chip and the data memory unit, combined
with the external keyboard, LCD display, alarm, unlock and other circuit modules. It performs
the following functions: enter the password correctly under the premise of unlocking; wrong
password case the alarm; password can be changed according to user needs. Master in C
language control program and EEPROM AT24C02 chip to read and write process are combined
and compiled with the Keil sof
您可能关注的文档
最近下载
- (可编辑打印)2026年春季学期校园“1530”安全教育记录表.docx VIP
- 2025年山东铝业职业学院高职单招综合素质考试题库及答案解析.docx VIP
- 《脑血管疾病》PPT课件.ppt VIP
- TCHSLA 10009-2023城镇生活垃圾卫生填埋场生态绿化技术标准.pdf
- 2025年山东铝业职业学院高职单招综合素质考试题库及答案解析.docx VIP
- 艾司奥美拉唑镁肠溶微丸、胶囊及其制备方法.pdf VIP
- 《海康威视视频监控原理》.ppt VIP
- 初中物理尖子生自主招生培优讲义版块12 简单机械 专题12-1 杠杆 (学生版) .pdf VIP
- 2025年小学教资《综合素质》模拟练习题(含答案).pdf VIP
- 《QBT 4073-2010 烫衣板》(2026年)实施指南.pptx VIP
原创力文档

文档评论(0)