资源描述:
《《单片机技术》课程设计说明书-密码锁》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、《单片机技术》课程设计说明书密码锁系、部:电气与信息工程系学生姓名:指导教师:职称讲师专业:电气工程及其自动化班级:电气本0904完成时间:2011.12.25摘要日常生活和现代办公中,住宅与办公室的安全防范,单位的文件档案,财务报表以及一些个人资料的保存等多以加锁的办法来解决,若使用机械式钥匙开锁,人们常需携带多把钥匙,使用极不方便,且钥匙丢失后安全性大打折扣,为满足人们对门锁的使用要求,增加其安全性,用密码电子锁代替传统机械锁应运而生。目前使用的电子密码锁种类繁多,各具特色,本设计从经济实用的角度出发,以80C51单片机为控制
2、核心,研制了一款电子密码锁。本设计的硬件部分即为简单的单片机最小系统,通过编程,实现其电子密码锁的功能。该密码锁设计方法合理,简单易行,成本低,符合住宅,办公室用锁要求,具有一定的推广价值。关键词:密码锁;单片机ABSTRACTDailylifeandthemodernoffice,residentialandofficesecurity,theunitofpaperfiles,aswellassomepersonalfinancialstatementsandotherinformationstoredinlockedsolut
3、ionsto,theuseofmechanicalkeylock,peopleoftenneedtocarrymorethanthekeys,veryconvenienttouse,andsecuritycompromisedkeyislost,tosatisfypeople'sdemandsfortheuseoflockstoincreasetheirsecurity,electroniclockwithapasswordreplacethetraditionalmechanicallockscameintobeing.Curr
4、entlyuseawiderangeofelectroniclocks,distinctive,thedesignfromthepointofview,forthecontrolofthe80C51microcontrollercore,developedanelectroniclock.Thedesignofthehardwarepartissimplesmallestsingle-chipsystem,throughprogramming,toachieveitselectroniccodelockfunctionTheloc
5、kdesignisreasonable,simple,lowcost,inlinewithre-sidential,officewithalockrequest,thepromotionofacertainvalueKEYWORDS:code-lock;SingleChipMicro-Computer目录1密码锁设计课题任务、功能要求说明及总体方案介绍··················11.1密码锁课题任务及功能要求··································11.2密码锁设计总体方案介绍及工作原理说明·
6、·····················12密码锁硬件系统的设计···········································22.1密码锁硬件系统各模块功能简要介绍··························22.2密码锁电路原理图、PCB图、元器件布局图各1份··············22.3密码锁元器件清单··········································23密码锁软件系统的设计·······································
7、···33.1密码锁设计使用单片机资源的情况···························33.2密码锁设计软件系统各模块功能简要介绍及流程图·············33.2.1键盘扫描程序········································43.2.2显示程序············································53.2.3密码判断程序········································63.2.4错误报警程序··········
8、······························73.3密码锁设计程序清单·······································74设计结论、缺陷分析、心得体会、教学建议·····················