登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

电子密码锁的设计与仿真毕业论文

 2022-04-10 10:04  

论文总字数:21323字

摘 要

过往人们使用的锁不仅方便性不高,而且安全系数也比较低。随着人民生活水平、需求的提高,旧式的锁已无法满足人们的需求。所以,当代社会逐步发展推广出密码锁。

电子密码锁摆脱了旧式锁需要携带钥匙、安全性能不高的缺点。当代电子密码锁应用微控制器芯片来控制锁的闭合。功能强大、安全性能高,由于无需携带钥匙,灵活性也非常高。电子密码锁只需要用户记住密码,使用密码开锁。

本毕业设计采用AT89C52单片机作为内部核心控制元件、24C02C EEPROM存储器作为外接存储器件。鉴于单片机AT89C52掉电无法保存已输入的密码问题。因此,采用24C02C来储存用户密码信息。这样,当断电之后,密码信息仍然可以保存。整个设计使用proteus模拟仿真环境,使用C语言编写控制程序来实现具有多功能的电子密码锁。

关键词:密码锁 AT89C52 Proteus C语言 模拟仿真

Design and Simulation of Electronic Password Lock

Abstract

In the past, the use of the lock is not convenient, and the safety factor is relatively low. With the improvement of people's living standard and demand, the old lock has been unable to meet the demand of people. Therefore, the gradual development of the contemporary society promote the electronic password lock.

The electronic password lock gets rid of the shortcomings of the old lock, which the safety performance is not high. The application of the micro-controller chip is aimed at controlling the modern electronic password lock. High performance of security and flexibility, due to need not to carry keys, are also very high. Electronic password lock only needs the user to remember the password, not using the key.

The design apply the AT89C52 micro-controller as the internal core control components, the 24C02C EEPROM memory as external storage. In view of the micro-controller AT89C52 can not save the password that has been input when the power is down. Therefore, we choose to apply the 24C02C to store user password information. In this way, when the power is off, the password information can still be saved. The entire design uses the Proteus simulation environment, using C language to write the control program to realize the multi-function electronic password lock.

Key words: password lock;Proteus;AT89C52;C language;simulation

目录

摘 要 I

Abstract II

第一章 绪论 1

1.1电子密码锁简介 1

1.2 电子密码控制的发展趋势 1

1.3论文组织结构 2

第二章 系统总体方案设计 3

2.1 设计思路分析 3

2.2 系统整体控制图 3

2.3元件选择 4

第三章 主要元件介绍 5

3.1 主控芯片AT89C52 5

3.1.1 AT89C52性能简介 5

3.1.2 AT89C52主要引脚功能说明 5

3.2 存储芯片24C02C 6

3.2.1 24C02C引脚说明 6

3.2.2 24C02C串行EEPROM的工作原理 6

3.3 7段LED显示器 8

3.3.1 7段LED的结构原理 8

3.3.2 7段LED动态显示原理 8

第四章 硬件电路设计 10

4.1 晶振和复位电路设计 10

4.1.1晶振电路 10

4.1.2复位电路 10

4.2 显示电路设计 11

4.3 存储电路设计 12

4.4 按键电路设计 12

4.5 报警电路设计 13

4.6 开锁电路设计 14

4.7 整体电路工作原理 14

第五章 软件设计 16

5.1 主程序流程图 16

5.2 按键功能流程图 18

5.3 密码校验流程图 21

5.4 IIC总线的编程实现 23

第六章 系统的仿真和调试 25

6.1仿真步骤 25

6.1.1 软件配置 25

6.1.2仿真 28

6.2 调试说明 29

第七章 总结和展望 33

参考文献 34

致 谢 36

第一章 绪论

1.1电子密码锁简介

电子密码锁是一种要求用户提前设置好密码,并且在开锁时手动输入密码验证的设备。密码锁内部设有存储控制元件,靠该控制元件控制机械锁芯的闭、合,从而实现开锁、闭锁的电子产品。无论从性能上讲,还是从安全方面考虑,电子密码锁都远胜于机械锁。其特点如下:

(1) 密码位数多,安全性能高,随机开锁成功率很低。

(2) 依靠密码控制开锁,用户不必携带铁质钥匙。并且可以定期修改密码,防止密码被盗,同时也可以避免因人员的更替而使控制的保密性下降,无须成本。

(3) 密码输入保护,第一,输入密码不明文显示;第二,当用户输入错误密码达到错误上限时(本设计上限为输入错误3次),报警系统自动启动。

(4) 使用灵活性好。

请支付后下载全文,论文总字数:21323字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图