您好,欢迎访问三七文档
桂林电子科技大学专业工程设计说明书摘要电子密码锁是一种通过密码输入来控制电路或是芯片工作,从而控制机械开关的闭合,完成开锁、闭锁任务的电子产品。它的种类很多,有简易的电路产品,也有基于芯片的性价比较高的产品。应用较广的电子密码锁是以芯片为核心,通过编程来实现的。本系统由STC89C52单片机系统(主要是STC89C52单片机最小系统)、4×4矩阵键盘、LCD1602显示和报警系统等组成,具有设置、修改4位电子密码、连续输入三次密码错误报警等功能。关键词:STC89C52;LCD1602;4×4矩阵键盘;4位电子密码锁桂林电子科技大学专业工程设计说明书AbstractIndailylifeandwork,forsecurityreasons,thedepartmentofhousingandsecurity,unitdocuments,financialstatementsandsomepersonalinformationtosavemoreinordertolockthewaystosolve.Lockingmethodwiththetraditionalmechanicallockandemergingelectroniccombinationlock.Comparedwiththetraditionalmechanicallock,becausetheelectroniccombinationlock,thesecrecygood,thelargeamountofprogramming,passwordvariable,cancallthepoliceandothercharacteristics,sotheperformanceandsecurityoftheelectroniccombinationlockfarfromtraditionalmechanicallock.Electroniccombinationlockisapasswordortocontrolcircuit,soastocontrolmechanicalswitchesclosed,lock,locktaskofelectronicproducts.It'salotofmorephyletic,hassimplecircuitproducts,alsohasahighcostperformanceproductsbasedonthechip.Widelyusedelectroniccodedlockbasedonchipasthecore,throughtheprogramming.Keywords:STC89C52;LCD1602;Electronicpasswordlock;4×4keyboard桂林电子科技大学专业工程设计说明书目录引言.......................................................................................................................11电子密码锁研究意义.......................................................................................12总体设计方案及论证.......................................................................................22.1总体设计任务要求:....................................................................................22.2总体设计方案选定........................................................................................22.3总体设计思路................................................................................................32.4总体设计流程图............................................................................................33矩阵键盘模块设计.........................................................................................43.1矩阵键盘原理................................................................................................43.2矩阵键盘原理图............................................................................................53.3矩阵键盘流程图............................................................................................53.4矩阵键盘去抖动............................................................................................64单片机最小系统与外围电路模块设计.........................................................64.1STC89C52单片机.......................................................................................64.1.1STC89C52电气引脚图............................................................................64.1.2STC89C52主要特性................................................................................74.2单片机最小系统与外围电路......................................................................84.2.1单片机时钟电路.........................................................................................84.2.2复位电路系统.............................................................................................84.2.3指示灯系统.................................................................................................94.2.4报警系统.....................................................................................................9桂林电子科技大学专业工程设计说明书5.液晶LCD1602显示模块设计....................................................................105.1LCD1602部分中文资料..............................................................................105.1.1LCD1602主要技术参数:.......................................................................105.1.2引脚功能说明...........................................................................................105.2LCD1602显示字符原理...........................................................................115.3LCD1602与单片机连接...........................................................................126电子密码锁系统调试...................................................................................136.1调试内容......................................................................................................136.2调试所需工具..............................................................................................137.结论..............................................................................................................13谢辞.................................................................................................................14参考文献.............................................................................................................15桂林电子科技大学专业工程设计说明书1引言在日常的生活和工作中,住宅与部门的安全防范、单位的文件档案、财务报表以及一些个人资料的保存多以加锁的办法来解决。加锁的方法有机械锁和电子密码锁,相对于传统的机械锁,电子密码锁具有保密性强,编程量大,密码可变,操作简单等优点,因此也得到了很大的关注,有了很大的发展。1电子密码锁研究意义电子密码锁发展的背景随着社会物质财富的日益增长和人们生活水平的提高,安全防盗已成为现代居民最关心的社会问题之一。目前,最常用的锁是20世纪50年代意大利人设计的机械锁,其结构简单,使用方便,价格便宜,但在使用中暴露了很多缺点:一是机械锁是靠金属制成的钥匙上的不同齿形与锁芯的配合来工作的,据统计,每4000把锁中就有两把锁的钥匙齿牙相同或类似,故安全性低,根据国外的统计资料,装有电子防盗装置的商业区或居民区盗窃犯罪率平均下降30%左右,二是钥匙一旦丢失,无论谁捡到都可以将锁打开,三是机械锁的材料大多为黄铜,质地较软,容易损坏,四是机械锁钥匙易于复制,不适于诸如宾馆等公共场合使用,出于安全,
本文标题:4位电子密码锁设计
链接地址:https://www.777doc.com/doc-6992943 .html