资源描述:
《基于单片机的电子门禁系统设计毕业设计论文40c语言程序41》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、基于单片机的门禁系统的设计摘要门禁系统设计上采用单片机作为控制核心,它相当于计算机的CPU,它负责整个系统输入、输出信息的处理和储存、控制等等。单片机外围加蜂鸣器控制电路、开门指示灯电路、电控锁控制电路以及LCD液晶显示电路等。常见的门禁系统有:密码门禁系统,非接触卡门禁系统,指纹、虹膜及掌型等生物识别门禁系统。门禁系统近几年发展很快,被广泛应用于管理控制系统中。本次设计采用密码与非接触相结合,构成一个完整系统。门禁系统主要由CPU、工作指示电路、振荡电路、蜂鸣器电路、门控锁电路、矩阵键盘、读卡模块、显示模块等组成。该门禁系统
2、采用射频卡完成刷卡进门,按刷卡出门等功能。其工作原理为:当刷卡时,蜂鸣器响一下,如卡权限获得允许,显示模块显示卡号,同时继电器动作将门锁打开,指示灯点亮,延时一段时间后继电器再次动作将门锁锁闭,指示灯熄灭。当按下出门按钮时,继电器动作将门锁打开,指示灯点亮,延时一段时间后继电器再次动作将门锁锁闭,指示灯熄灭。当输入初始密码时,若输入正确,继电器动作将门锁打开,指示灯点亮,延时一段时间后继电器再次动作将门锁锁闭。若输入错误,则蜂鸣器报警,几秒自动停止,也可手动关闭蜂鸣器。此外,程序中还增加了射频卡权限判断的功能,当遇到合法卡时显
3、示卡号,门锁打开,延时10s自动关闭,当遇到非法卡时不显示卡号门锁不开。本系统设计简单、性能优良,具有一定的实用性。关键词:门禁,射频卡,电控锁,液晶显示,单片机控制AccessControlSystemDesignABSTRACTEntranceguardsystemuses89C52singlechipmicrocomputerascontrolcoreandperipheryaddabuzzercontrolcircuit,openthedoorindicatorlightcircuit,controlcircuitan
4、dcontrollockLCDdisplaycircuit,etc.EntranceguardsystemmainlybytheCPUandresetcircuit,thepowerindicativecircuit,workinstructionscircuit,oscillatingcircuit,abuzzercircuit,doorcontrolcircuit,gooutandlockbuttonreadingcardmodule,displaymodule.Theentranceguardsystemusesrfca
5、rdcompletechargetakethedoor,accordingtocredittogoout,andotherfunctions.Itsworkingprincipleis:whencredit,abuzzerrang,suchascardtobeallowedtoaccess,displaymoduledisplaycardnumber,andatthesametimerelayactionwillopenthedoorlock,indicatorlight,delayafterperiodoftimerelay
6、actionwillagainonlydoorlock,lightsgoout.Whenthepressoutbutton,therelayactionwillopenthedoorlock,indicatorlight,delayafterperiodoftimerelayactionwillagainonlydoorlock,lightsgoout.Whentheinputpassword,ifyouinputthecorrect,relayactionwillopenthedoorlock,indicatorlight,
7、delayafterperiodoftimerelayactionwilllockdoorlockagain.Inaddition,theprogramwillalsoincreasetherfcardauthorityjudgmentfunction,whenfacinglegalcardshowedthecardnumber,dooropen,delay10sautomaticallyshutoff,whenmeetingtheillegalCARDSdon'tshowthecardnumberlocksdon'topen
8、.Thesystemissimpleindesign,goodperformance,andhaspracticalvalue!KEYWORDS:AccessControl, RadioFrequency Card,ElectronicallyControlledLock,