登录

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

注册

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

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子信息工程 > 正文

基于单片机的电子密码锁的设计与实现毕业论文

 2022-05-30 09:05  

论文总字数:18807字

摘 要

在平时正常生活里, 家庭和公司的安全措施、办公室的重要资料还有很多隐私的资料的保护大都用上锁来进行管理。如果使用一贯的机械钥匙开锁,那么大家就得带很多的钥匙,这样特别麻烦, 并且钥匙一旦丢了那么安全性就有很大隐患。拥有预防盗窃并可以发出警报能力的基于单片机的电子锁来取代密码种类和数量都很小、安全等级低的以机械为原理的密码锁变成了大势所趋。密码锁拥有保险等级高、价格亲民、耗电小、使用简单、牢记密码即可随时打开密码锁的优势。

本文设计了一款拥有设置并修改六位数密码、超过三次输错立即预警并锁住密码锁等一系列实用的功能的电子密码锁,此设计是由STC89C51单片机系统、4×4矩阵键盘、红外遥控器、LCD1602显示器和警报系统等组成。此设计由P0口来控制LCD屏幕显示,如果输入的密码无误则LCD屏幕报出OPEN! 如果输入的密码不对则亮出ERROR!一旦大于三次密码错误则立即锁住。本系统亮点在于无线红外遥控器,可以大大方便用户,在繁忙时可以远距离操控。本系统成本低廉,功能实用。

关键词: STC89C51 LCD1602 电子密码锁 红外遥控器 4×4矩阵键盘

The design and implementation of electronic combination lock based on MCU

Abstract

In your normal life, family and the company's safety measures, office, there are a lot of important information on the protection of the privacy information are managed in locked. If you use a consistent mechanical key to open the lock, then you have to take a lot of keys, such a special trouble, and once lost keys security has very big hidden trouble. With can prevent theft and alert abilities based on single chip microcomputer of electronic password lock to replace the type and quantity are small, low security levels for mechanical principle of the combination lock into the trend of The Times. Combination lock has insurance level is high, the price people, small power consumption, simple to use, keep in mind the password to open the advantage of the combination lock at any time.

This paper designed a model with six digits password setup and modify, more than three times mistyped warning immediately and lock the combination lock, and a series of practical function of electronic combination lock ,this is a design from the STC89C51 microcontroller system, 4 * 4 matrix keyboard, infrared remote control and LCD1602 display and alarm system, etc. This design of P0 mouth to control the LCD screen display, if the input password is correct, the LCD screen quote us OPEN! If the input password is not correct to highlight the ERROR. Once is more than three times wrong password lock immediately. This system is wireless infrared remote control, can greatly facilitate the user, can remote control when busy. This system is low cost, function and practical.

Key Words:STC89C51; LCD1602; Electronic password lock; 4×4 keyboard; infrared remote controller

目录

摘要 I

ABSTRACT II

第一章 引言 1

1.1课题背景和意义 1

1.2电子密码锁发展趋势 2

第二章 方案论证 3

2.1电子密码锁设计的具体要求 3

2.2总体设计方案选定 4

第三章 系统硬件设计 5

3.1设计原理 5

3.2单片机STC89C51简介 5

3.3 AT24C02存储芯片 8

3.4 LCD显示模块 9

3.5 键盘设计 11

3.6 声音提示模块 12

3.7 继电器控制模块 13

3.8 红外接收模块 13

第四章 系统软件设计 16

4.1 主程序模块 16

4.2 键盘扫描子程序 17

4.3 系统模块密码设置子程序 18

4.4 开锁子程序 20

4.4 软件调试 20

第五章 系统制作及调试 24

5.1 焊接注意事项 24

5.2 硬件调试问题及解决方法 25

第六章 结论 26

参考文献 27

附录一 原理图 28

附录二 仿真图 29

附录三 主程序 30

致谢 36

第一章 引 言

1.1、课题背景和意义

伴随着科学的持续且快速的进步,单片机的性能不停的优化,实用性明显的上升。得益于单片机有着占空间少,质量小,价格低廉,耗电少,操控能力强同时运行速度高等优势,所以在国家基础设施建设、军用方面和日常用品等众多方面都有着很多使用。由于民众经济水平的全面提升和对于自身安全防范的提高,因此对自身安全保障的需求也日益见涨。自古至今老百姓一向对于起到保险作用的锁有着极高的需求,不仅需要防护性能好,同时还要便于操作,这些同时都是生产商长久以来钻研的目标。由于科学的飞速进步,各种电子商品不断被推出,电子密码锁也随之出现。根据相关的文献显示,关于电子密码锁的研发可以追溯到八十年前,并且在某些地方已经陆续使用。因为电子密码锁的密码的数量非常大,完全能够和普通的锁一起使用,同时又能够免去一旦被复制一把钥匙就能够开锁的机会。你只要牢记你的锁的自己设置的密码,不用随身带着钥匙,消除了随身都要带钥匙的苦恼,因此得到了更多人的钟爱。电子锁有很多种,但是最适合普及的依然是按键式电子密码锁。

上个世纪八十年代以后,电子密码锁变的越来越小,安全度也越来越高,但是价格过于昂贵,比较适用于对防护等级需求非常严格的场所,而且必须要有电力支持,所以适用范围还很小,不易推广开来,因此对于电子密码锁的探索很长时间都没什么大的突破。

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

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

企业微信

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