设计简介:

项目编号:mcuclub-dz-180
单片机类型:STC89C52
具体功能:
1、通过4*4的矩阵键盘中的0-9为数字键,*为删除键,#为确定键,A为切换模式按键(可切换是密码开锁还是指纹开锁)
2、重置密码过程:管理员密码–>旧密码–>新密码–>再次新密码
3、添加指纹:输入管理员密码,再添加指纹
4、删除指纹:输入管理员密码,再删除指纹
5、通过AT24C02存储密码,实现掉电保存密码
6、当输入密码或指纹总错误次数大于等于3次,进行锁定键盘及指纹模块3分钟,在此期间,每按一次按键都会蜂鸣器报警
7、通过继电器控制门磁锁,模拟开门和关门
8、通过LCD12864显示屏显示输入的密码(*号表示,防止被偷看),另外,输入密码可以前后加入扰乱码,只要包含正确密码即可

总字数:15417

实物链接:点击跳转

仿真链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

基于单片机的指纹密码锁控制系统设计

摘要

本论文旨在应对传统家用机械锁存在的问题,满足日益增长的信息化需求。随着电子产品行业的迅猛发展,指纹密码防盗锁成为备受青睐的选择。针对市场对密码锁的高要求,本研究基于STC89C52系列高端单片机作为核心控制器,结合LCD12864显示屏、指纹模块和密码模块,设计了一套完整的指纹密码锁控制系统。该系统具备以下主要特点:键盘布局:采用4×4矩阵键盘,包括数字键0-9、删除键*、确定键#以及模式切换键A,实现密码开锁与指纹开锁的切换。安全重置密码:管理员密码-旧密码-新密码-再次确认新密码的重置密码过程,保障密码的安全性。指纹管理:管理员可输入密码进行指纹添加或删除,增加系统的灵活性与管理员权限。数据存储:使用AT24C02存储器实现密码的掉电保存,确保密码数据不会因掉电而丢失。安全锁定机制:当密码或指纹输入错误次数达到3次时,系统会自动锁定键盘和指纹模块3分钟,并发出蜂鸣器警报,增强安全性。门锁控制:通过继电器控制门磁锁,模拟实现安全的开门和关门功能。密码保护:LCD12864显示屏显示输入密码,使用*号遮挡密码字符,且可加入前后扰乱码,提高密码的保密性。这一指纹密码锁控制系统整合了先进的电子技术,强化了家庭安全和便捷性,满足了不断增长的信息化需求。通过应用创新的技术手段,本研究为安全门锁领域提供了一种现代化的解决方案,对于改善人们的生活环境具有积极意义。

关键词指纹密码锁;STC89C52单片机;安全重置密码;控制系统;数据存储;锁定机制

Abstract

This paper aims to address the issues with traditional household mechanical locks and meet the growing demands of informationization. With the rapid development of the electronic products industry, fingerprint-password anti-theft locks have become a favored choice. In response to the high requirements of the market for password locks, this study is based on the high-end STC89C52 series single-chip microcontroller as the core controller, combined with the LCD12864 display screen, fingerprint module, and password module, to design a complete fingerprint-password lock control system.The system possesses the following main features:Keyboard Layout: Utilizing a 4×4 matrix keyboard including numeric keys 0-9, * as a delete key, # as a confirm key, and A as a mode switch key (for toggling between password and fingerprint unlocking).Secure Password Reset: A password reset process of administrator password – old password – new password – confirmation of new password is implemented to ensure password security.Fingerprint Management: Administrators can input passwords to add or delete fingerprints, enhancing system flexibility and administrator privileges.Data Storage: Using the AT24C02 memory, passwords are stored to prevent data loss due to power outage.Security Locking Mechanism: After three incorrect attempts of entering passwords or fingerprints, the system automatically locks the keyboard and fingerprint module for 3 minutes while sounding a buzzer alarm, enhancing security.Door Lock Control: The door magnetic lock is controlled through a relay to simulate secure door opening and closing functions.Password Protection: The LCD12864 display screen shows entered passwords with characters masked by “*”, and optional added pre/post scrambling characters for enhanced password confidentiality.This fingerprint-password lock control system integrates advanced electronic technology, strengthening home security and convenience, thus meeting the ever-growing demands of informationization. Through the application of innovative technological methods, this study provides a modern solution for the security door lock domain, contributing positively to improving people’s living environments.

Keywords: Fingerprint-password lock; STC89C52 microcontroller; Secure password reset; Control system; Data storage; Locking mechanism.

目录

基于单片机的指纹密码锁控制系统设计 I

摘要 I

Abstract II

第一章 绪论 7

1.1课题设计背景与意义 7

1.2国内外发展历程 7

1.3研究目标及预期功能 8

第二章 设计思路与方案选择 9

2.1 主要元器件选择 9

2.1.1 主控芯片选择 9

2.1.2 指纹模块方案选择 9

2.1.3 存储模块方案选择 10

2.1.4 显示模块方案选择 10

2.2整体设计方案 11

第三章 硬件设计 13

3.1主控电路模块 13

3.2 指纹模块电路 13

3.3 存储模块电路 14

3.4 显示模块电路 15

3.5 继电器模块电路 16

3.6 蜂鸣器报警模块电路 17

3.7 矩阵键盘模块电路 18

4 系统程序设计 20

4.1 编程软件介绍 20

4.2 系统主流程设计 20

4.3 矩阵键盘子流程 21

4.4 存储模块子流程 22

4.5 LCD12864显示模块子流程设计 24

第五章 实物测试 26

5.1整体实物测试 26

5.2 密码开锁实物测试 26

5.4 指纹开锁实物测试 27

第六章 实物测试 29

6.1整体实物测试 29

6.2 密码开锁实物测试 29

6.4 指纹开锁实物测试 30

第七章 总结与展望 32

致谢 33

参考文献 34

附录 36

附录一: 原理图 36

附录二:PCB 37

附录三:主程序 38

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源