资源描述:
《基于单片机的遥控密码锁设计 (1)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、本科毕业设计基于单片机的遥控密码锁设计摘要红外遥控密码锁是一种以高强度密码序列为基础,在单片机上实现的密码开关。它以红外光作为信息媒体,从而实现了遥遥控。该锁具有使用方便、操作简单、价格低廉等特点,给人们的生活带来了极大方便,特别高辐射区、高传染区等。本次设计的题目是基于单片机的红外遥控密码锁设计。该设计包括红外发射模块、红外接收模块和单片机处理模块。该文详细的阐述了各模块的设计与编程,该遥控密码锁能实现密码输入、密码修改、上锁、开锁以及超次锁定功能。为了防止遥控器失窃,非法人员多次试探尝试打开遥控锁,该系统还增加了错误报警功能,输入密码错误三次以后,蜂鸣器会持续鸣叫进行报警。软
2、件部分用C语言进行编程,采用模块化设计思想。发射模块主要包括矩阵键盘、红外编码与调制部分。其中红外发射使用红外发光二极管,调制部分采用38kHz的脉冲调制,矩阵键盘使用4×4矩阵。接受部分通过红外接收头接、放大和解调接收到的红外波,该接受头内部电路包括红外检测二极管、放大器、限幅器、带通滤波器、积分电路和比较器等。使用单片机的内部存储器进行密码存储。关键词:单片机红外线遥控密码锁TheDeviceofInfraredElectronicLockinCodeBasedonsinglechipDeviceWuGuanhui(CollegeofEngineering,SouthChin
3、aAgriculturalUniversityGuangzhou510640,China)Abstract:Infraredremotecontrolcodedlockisahigh-intensitypasswordsequencebasedonsinglechipmicrocomputerimplementationcodeswitch.Thelockiseasytouse,simpleoperation,lowcostandsoon.Ithasbroughtgreatconveniencetopeople'slife,especiallyhighradiativezonea
4、ndhightransmissionarea.Thetopicofthisdesignisbasedonsinglechipmicrocomputerinfraredremotecontrolcodedlockdesign.Thedesignincludesinfraredemissionmodule,theinfraredreceivingmoduleandsingle-chipmicrocomputerprocessingmodule.Thispaperdetailedexpoundsthemoduledesignandprogramming,theremotecontrol
5、canrealizecombinationlockpassword,passwordmodification,lock,unlockandsuperlockfunction.Inordertopreventtheremotecontroltheft,illegalpersonnelmanytimestestingattemptstoopentheremotecontrollock,thesystemalsoincreasestheerroralarmfunction,inputwrongpassword3times,buzzerwillcontinuetocallforthepo
6、lice.SoftwarepartinClanguageprogramming,usingmodulardesignthought.Launchmodulemainlyincludesmatrixkeyboard,theinfraredcodingandmodulation.Whichuseinfraredlight-emittingdiodes,infraredlaunchmodulationparton38kHzpulsemodulation,usinga4x4matrixkeyboardmatrix.Acceptancepartthroughtheinfraredsenso
7、r,amplificationanddemodulatingthereceivedinfraredwave,theacceptheaderinternalcircuitincludingtheinfraredraydetectiondiode,limiter,bandpassfilter,amplifier,comparatorandintegralcircuit.ItusesSCM’sinternalstorageforpassword.Keywords:singlechipi