分次2010学号机电话号码0123
毕业设计
基于c语言STC89C52单片机的电子
密码锁的设计与仿真
姓名类别、专业物电类导师姓名、职称讲师完成时间2010-5-10目录
摘要I
ABSTRACTII
1概述1
1.1电子密码锁的研究现状与前景1
1.2电子密码锁的基本部件和优点1
2系统硬件配置2
2.1硬件电路主要芯片MCS-52 2
2.2 1602液晶显示器4
3功能分析6
3.1中断6
3.2键盘9
3.3C总线11
4程序分析13
5系统电路和Proteus模拟25
5.1Proteus介绍25
5.2模拟步骤25
5.3系统模拟电路(下图) 25
5.4模拟结果26
6结论26
参考文献27
谢谢你27
要求摘要
密码锁是现代生活中常用的工具之一,常用于各种金库、门、防盗门等。 电子密码锁克服了传统机械锁密码量少、安全性能差的缺点。 特别是使用微处理器制作的智能电子密码锁,除了电子密码锁的功能外,还可以引入智能管理功能,提高密码锁的安全性和可靠性。
介绍了用c语言编写8051单片机程序,制作智能电子密码锁的方法。 如果系统与由矩阵键盘、单片机系统、液晶屏显示和报警系统构成的PUT IN CODES”代码后12秒内输入设定的密码相同,则可以打开锁定。 否则,发出警报。 警报后只能通过使用钥匙打开警报并停止。 为了便于更改密码并永久保存,我们使用了存储芯片。 这样可以确保停电时内部密码数据不会丢失100年。
本程序已在proteus模拟和开发板用行成功。
关键词:电子门锁; 单片机; 矩阵键盘; 液晶显示器; 拉响警报
ABSTRACT
代码锁定,板载oneofthetoolsusedinvarioustypesofinsurancetoresist,doors,安全文档, isalreadyextensivelyusedinmodernlife.theelectroniclockreplacingthetraditionalmechanicallocksovercomethelimitedpasswordnumber allock.particularly,theintelligentelectroniclockproducedbymicroprocessors,which,inadditionwithanelecccodelockfuncors butalsointroducingaintelligentmanagementfeaturetoletthecode-lockpossessahighersecurityandreliability.thisarticledescribeshriabeshe tomaketheintelligentelectroniccode-lock.thesystemconsistsofmatrixkeyboard,SCM system, lcddisplayandalarmsystemcomponents.theintelligentelectroniclockprovidetheusertosetasix-digitpasswordhimselfandlethepasswonts with ' Putin codes ' yardsinputtherightcodewithin 12 secondsyoucanopenthelock,or it will alarm, afterwhichyoucanopenthelockbykeyonlyandinthesametimeitstoppingalarming.inordertoensuretheconveniencechangingandpermanentpre spre