您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 曹元元 基于单片机控制的电子密码锁设计 - 副本
本科毕业论文(设计、创作)题目:基于单片机控制的电子密码锁设计Electroniclockcontrolledbaseonsinglechipmicrocomputer学生姓名:曹元元学号:0802127所在院系:电子信息与通信技术系专业:电子信息工程入学时间:2008年9月导师姓名:刘同怀李菊芳职称/学位:教授助教导师所在单位:安徽三联学院完成时间:2012年5月安徽三联学院教务处制I摘要现在电子产品向智能化和微型化的不断发展,人们对安全性能要求越来越高。传统的机械锁由于它的内部构造简单,安全性能低,并不能满足现在人们的需求,且机械锁被撬导致被盗的事件让人痛苦不堪。单片机已经在家电领域中有了广泛的应用,系统采用美国Atmel公司的AT89S51单片机作为系统核心,液晶显示器LCD1602作为输出设备显示系统提示信息,4*4矩阵薄膜键盘作为输入设备,CMOS串行E2PROM存储器AT24C02作为数据存储器,配合蜂鸣器、继电器等电路构成整个系统硬件,主要功能有开锁、修改密码、掉电密码锁存储、报警功能等【2】。对本课题的构思方案采用AT89S51为核心的单片机,主要是由于它能防止多次试探而不被破译来有效的克服现实生活中许多缺点。关键词:密码锁、AT89S51、显示器LCD1602、存储器AT24C02IIAbstractNowelectronicproductminiaturizationtotheintelligentandcontinuousdevelopment,peopleincreasinglyhighperformancerequirementsofsafety.Thetraditionalmechanicallockbecauseofitssimpleinternalstructure,lowsafetyproperty,andcannotmeetthepresentneedsofthepeople,andthemechanicallockprizingleadstoleneventsofagonizing.SCMhasbeeninthefieldofhomeappliancehaswideapplication,systemusestheAmericanAtmelcompanyAT89S51MCUasthecoresystem,liquidcrystaldisplayLCD1602asoutputdevicetodisplaysystemmessage,4*4matrixkeyboardasaninputdevice,aCMOSserialE2PROMmemoryAT24C02asdatastorage,withabuzzer,relaycircuithardwareofthewholesystemthemainfunctionofthelock,modifypasswords,power-down,passwordlockstorage,alarmfunction.OnthesubjectofdesignschemebasedonAT89S51single-chip,mainlybecauseitcanpreventmanytemptationsandnotbedecipheredtoeffectivelyovercomeinthereallifemanyshortcomings.Keywords:passwordlock,AT89S51,LCD1602,AT24C02displaymemoryIII目录摘要.................................................................................................................................IAbstract.........................................................................................................................II前言................................................................................................................................1第一章绪论................................................................................................................11.1电子密码锁发展趋势...............................................................................11.2设计的意义与目标....................................................................................21.2.1设计的意义.......................................................................................21.2.2设计的目标.......................................................................................2第二章系统的思路设计..............................................................................................42.1系统的整体框图........................................................................................42.2设计理念....................................................................................................4第三章方案的硬件设计............................................................................................53.1主控芯片AT89S51...................................................................................53.1.1芯片AT89S51简介.........................................................................53.1.2AT89S51引脚介绍与实物...........................................................53.2显示模块....................................................................................................73.3键盘输入模块............................................................................................83.4密码断电存储保护模块...........................................................................93.4.1主控芯片AT24C02介绍.................................................................93.4.2芯片AT24C02引脚图与电路连接图...........................................103.5发声模块..................................................................................................113.6系统晶振模块..........................................................................................113.7开锁模块..................................................................................................123.8电路复位模块..........................................................................................13第四章系统的软件设计............................................................................................154.1主程序流程图..........................................................................................154.2按键设计..................................................................................................164.2.1按键流程图.....................................................................................16IV4.2.2按键消抖电路.................................................................................164.3密码设置..................................................................................................174.4开锁软件设计..........................................................................................184.5系统的声音设计......................................................................................19第五章结论................................................................................................................21第六章致谢................................................................................................................22参考文献...............
本文标题:曹元元 基于单片机控制的电子密码锁设计 - 副本
链接地址:https://www.777doc.com/doc-6380471 .html