文献翻译——防盗钥匙扣的设计_第1页
文献翻译——防盗钥匙扣的设计_第2页
文献翻译——防盗钥匙扣的设计_第3页
文献翻译——防盗钥匙扣的设计_第4页
文献翻译——防盗钥匙扣的设计_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

第1页外文文献资料BurglarKeydesignAbstract:Withtheacceleratingpaceofmodernlife,theimprovementofpeopleslivingstandard,forgettingthekey,cantfindthekey,keystolenthingshaveoccurredfromtimetotime,inordertoavoidthisphenomenon,helppeoplesqualityoflife,securitykeygenerationwillemergeasthetimesrequire.Thispaperdesignsasecuritykeybuckle,hebythetransmittingpartandreceivingpart,transmissionpartinantilostthekey,tookpartiscarriedbytheuser,asensortransmitter,aslongasthereceiverdoesnotreceivethesignalfromthetransmitter,itwillbeepalarm,toremindthemaster.ThecircuitconsistsofSTC89C52integratedchip,twowirelessmoduleandthebuzzeralarm,bydesign,lowpowerconsumption,easytocarry,safetouse.Keywords:STC89C52;wirelessmodulealarm;buzzerlow1.INTRODUCTION1.1ThepurposeofthestudysubjectsWiththedevelopmentofscienceandtechnology,socialprogress,peopleincreasinglyfastpaceoflife,standardoflivingisgettingbetter,peoplehavemoresparecashtobuythingspeoplebuyhigh-value,inordertoavoidthelossoftheseimportantthings,reduceunnecessarylosses,theftkeychainwillbringyoumoreconvenience.1.2KeyoftheftIntroductionAntilostkeychainisaclose-inanti-theftelectronicdevices,youcanavoidlosingpreciouskeysduetonegligence,theftunnecessaryloss,giveyouacomfortablelife.Itusesradiowavesemittedsuppressionprinciple,sub-machinewhileworkingasteadyradiowaves,thehostafterthehostoftheradiosignalreceivednowarningwhenthedistancebetweenthemasterandslaveoverapredetermineddistancefromthehostmachinedoesnotreceivechildradiosignal,immediatelysoundanalarmtoalerttheuser第2页sattention.1.3KeyfeaturesoftheftOne,aneasytouseSecurityKeyisamotherboard(receivermodule)andadaughterboard(transmittermodule)twocomponents,smallsize,easytocarry,willnotbringmuchofaburden,andeasytouse.Second,theperformancestableHisanti-theftfeatures,easytousewayofusingitsalarmbuzzeralarm,aslongasanalarmbuzzer,peoplewillbeabletofindthefirsttime,thedesignusingalow-powerdesign,itisdoneshiningdiodevoltagealertwheninsufficientvoltage,light-emittingdiodesreminder.Third,theappearanceofnewThedesignofthemachineisverysmallfine,andthegreen,noradiation,poweredbylithiumbatteries,rechargeablecontinueduse.Keylookslikeaburglarcarrydecorations,smallandexquisite.2.1STC89C52IntroductionTheSTC89C52isalow-power,high-performanceCMOS8bitmicrocontroller,with8KinsystemprogrammableFlashmemory.STC89C52usingclassicMCS-51kernel,butmadealotofimprovementsmakethechipwithtraditional51SCMfeaturesnotavailable.Inasinglechip,with8CPUdexterousandin-systemprogrammableFlash,theSTC89C52offerssolutionsforhighflexibility,superefficientformanyembeddedcontrolapplications.Hasthestandardfeatures:8KbytesofFlash,512bytesofRAM,32I/Olines,thewatchdogtimer,built-in4KBEEPROM,MAX810resetcircuit,316timer/counter,4externalinterrupts,a7vectorlevel4interruptstructure(compatiblewiththetraditional515vectorlevel2interruptstructure),fullduplexserialport.InadditionSTC89X52canbereducedto0Hzstaticlogicoperation,support2softwareselectablepowersavingmode.Theidlemode,theCPUstopsworking,RAM,timer/counter,serialportinterrupt,continuetoworkpermit.Thepower-downmode,theRAMcontentbeingsaved,hasbeenfrozen,disablingallotherchipfunctions,untilthenextinterruptorhardwarereset.Maximumoperatingfrequencyof35MHz,6T12Toptional.Characteristic.第3页STC89C52RCmicrocontroller:8Kbytesofprogrammemoryspace;512bytesofdatastoragespace;With2KbytesofEEPROMmemoryspace;Candirectlyusetheserialdownload;AT89S52microcontroller:8Kbytesofprogrammemoryspace;256bytesofdatastoragespace;NotwithEEPROMofstoragespace;Parameters:1enhanced8051MCUclock,6/12clock/machinecycleandthemachinecyclecanbechosenarbitrarily,instructioncodeisfullycompatiblewithconventional8051.22workingvoltage:5.5V3.3V(5V)/3.8V2.0V(3V)3theoperatingfrequencyrange:040MHz,equivalenttoanordinary8051080MHz,theactualoperatingfrequencyupto48MHz4userapplicationspacefor8Kbytes5on-chipintegrationof512byteRAM6generalI/Oport(32),afterthereset:P0/P1/P2/P3isaquasitwo-waymouth/weakpull-up,P0isanopendrainoutput,asthebusexpansion,notwithapull-upresistor,astheI/Oport,andapull-upresistor.7ISP(insystemprogrammable)/IAP(In-Applicationprogramming),withoutspecialprogramming,withoutspecialemulator,throughtheserialport(RxD/P3.0,TxD/P3.1)directdownloaduserprogram,afewsecondstocompleteapieceof8withEEPROMfunction9hasthewatchdogfunction10316timer/counter.ThetimerT0,T1,T211externalinterrupt4road,fallingedgeinterruptorlowleveltriggercircuit,PowerDowncanbeprovidedbyanexternalinterruptactivelowinterruptwakeup12universalasynchronousserialport(UART),canalsobeusedformultipleUARTtimersoftwareimplementation第4页13operatingtemperaturerange:-40+85(industrialgrade)/075(businessclass)14PDIPpackage2.2PinFunctionDescription:VCC(40):+5vGND(20):GroundP0port(39-32):P0portiseightopen-drainbidirectionalI/Oport,eachpintoabsorbeightTTLgatecurrent.P1port(1-8):P1portisprovidedfromtheinternalpull-upresistor8-bitbidirectionalportP1,P1portandanoutputbuffertoreceivefourTTLgates.P2port(21-28):P2portisinternalpull-upresistortoprovide8-bitbidirectionalI/Oport,P2portoutputbuffercapableofreceivingand4TTLgates.P3mouth(10-17):P3portis8withinternalpull-upresistortoprovidebi-directionalI/OportcanreceiveandoutputfourTTLgates,P3portisalsoavailableasaspecialfeatureofthemouthAT89C51.RST(9):resetinput.Whentheoscillatorisreset,theRSTpinhightimetomaintaintwomachinecycles.ALE/PROG(30):Whenaccessingexternalmemory,theaddresslatchenableoutputlevelforthestatusbytelatchedaddressduringFLASHprogramming,thispinisusedtoentertheprogrammingpulse.Inusual,ALEclienttoconstantpositivepulseperiodoftheoutputfrequencysignal,theoscillatorfrequencyis1/6,itcanbeusedforexternaloutputpulsesfortimingpurposesortobenotedthat,whentheexternaldataaccesswhenmemory,willskiponeALEpulse.PSEN(29):externalprogrammemorystrobes.Intheperiodfromexternalprogrammemoryfetches,PSENtwiceeachmachinecycleisvalid,butwhenaccessingexternaldatamemory,whichistwiceeffectivePSENsignalwillnotappear.EA/VPP(31):WhenEAisheldlow,theexternalprogrammemoryaddress(0000H-FFFFH)regardlessofwhetherthereisaninternalprogrammemory.FLASHprogrammingperiod,thispinisalsousedtoapply12Vprogramming第5页supply(VPP).XTAL1(19):Enterthereverseoscillatoramplifierinputandinternalclockoperatingcircuit.XTAL2(18):fromreverseoscillatoroutput.2.3nRF24L01introductionnRF24L01isanewsingle-chipRFtransceiverdeviceoperatingin2.4GHz-2.5GHzISMband.Built-infrequencysynthesizer,poweramplifier,crystaloscillator,amodulatorfunctionmodules,andtheintegrationofenhancedShockBursttechnology,inwhichtheoutputpowerandcommunicationchannelscanbeconfiguredbytheprogram.nRF24L01lowpowerconsumption,whento-6dBmtransmitpower,operatingcurrentisonly9mA;receive,theoperatingcurrentofonly12.3mA,multiplelow-poweroperatingmodes(power-downmodeandidlemode)energy-savingdesignmakesiteasier.2.4nRF24L01worksWhentransmittingdata,firstnRF24L01configuredtotransmitmode:theaddressandthedataisthenwrittentotheSPIportinaccordancewiththetimingnRF24L01bufferzone,thenCEissethighforatleast10s,transmitdataafteradelayof130s;Ifauto-answeropen,thenthenRF24L01dataafterlaunchimmediatelyintoreceivemode,receivetheresponsesignal.Ifthereplyisreceived,itisconsideredthecommunicationwassuccessful,TX_DSsethighwhilesendingTX_PLDremovedfromthestack;Ifnoresponseisreceived,itisautomaticallyre-transmitthedata(automaticretransmissionisturnedon),ifthenumberofretransmissions(ARC_CNT)limitisreached,MAX_RTsethigh,TX_PLDnotcleared;MAX_RTorTX_DSsethigh,soIRQlow,inordertoinformMCU.Thelastsuccessfullaunch,ifCEislowthenthenRF24L01entersidlemode1;IfthereisdatainthestackandsendingCEishigh,thenenterthefirstlaunchunder;IfnodataandsendthestackCEishigh,thenenteridlemode2.Whenreceivingdata,firstnRF24L01configuredtoreceivemode,andthenenterthereceivingstate130sdelaywaitingforthearrivalofthedata.WhenthereceiverdetectsavalidaddressandCRC,thepacketwillbestoredinthereceiverstack,whileRX_DRinterruptflagissethigh,IRQgoeslow,inordertoinformMCUtofetchdata.Ifauto-answeronthispoint,thereceiverenters第6页simultaneouslytransmitstatereturnstheresponsesignal.Finally,whenthereceptionissuccessful,iftheCEgoeslow,thenRF24L01entersidlemode1.2.5SecurityKeyworksBurglarKeyusingSTC89C52asthemaincontroller,usetwowirelessmodules,respectively,asnRF24l01transmittermoduleandreceivermodule(safetyrangeisopento=10m),bydetectingwhetherthewirelesstransceivermodulenRF24l01normaltransmitterandreceiversignaldeterminewhethertheanti-theftKeyinasaferange.Whenthedistancebetweenthetwotransceivermodulesinthesaferange(lessthanorequal10m),thesystemisworkingproperly,thedatatransmissionisnormal;normaldatatransferinexcessofthesaferange,thesystemcannot,inwhichcasethereceiverwillalarmsignaltoalerttheownerattention.WorkflowThecircuitis:firstthepowerreceivingcircuit,sothatthereceivermoduleinthereceivingstate,waitingforthearrivalofdata;thenruntheprogramonasinglechip,willbepre-storedinthechipregisterdataemitted.Ifthetransmitterandreceivermodulesfromthemodulewithinthesaferange,thereceivermodulereceivessignalswithin1ms,notalarm.Ifyouexceedsaferange,thereceivermodulewillbebuzzeralarm.第7页中文翻译稿防盗钥匙扣的设计【摘要】:随着现代生活节奏的加快,人们生活水平的提高,出门忘带钥匙,找不着钥匙,重要钥匙被偷的事也时有发生,为了避免这种现象,帮助人们挺高生活质量,防盗钥匙扣的产生也就应运而生。本文设计了一种防盗钥匙扣,他由发射部分和接收部分组成,发射部分分置于防丢钥匙上,就收部分由主人随身携带,发射器里有传感器,只要接收器收不到发射器的信号,就会蜂鸣报警,提醒主人。电路主要有STC89C52集成芯片,两个无线模块和蜂鸣报警器组成,采用低功耗的设计,携带方便,使用安全。【关键词】:STC89C52;无线模块;蜂鸣报警绪论11课题研究的目的随着科技的发展,社会的进步,人们的生活节奏越来越快,生活水平也越来越好,人们又更多的闲钱去买人们买高价值的东西,为了避免这些重要的东西丢失,减少不必要的损失,防盗钥匙扣会给大家带来更多方便。12防盗钥匙扣的介绍防丢钥匙扣是一种在近距离内的防盗电子装置,它能避免你的贵重钥匙由于疏忽丢失、被盗带来不必要的损失,给您一个舒适的生活。它采用无线电波的发射抑制原理,工作时子机发出稳定的无线电波,主机接收到主机的无线电信号后不报警,当主机和子机之间的距离超过预定的距离时主机接收不到子机的无线电信号,立即发出报警声,提醒使用者的注意。13防盗钥匙扣的特点一、使用方便防盗钥匙扣是由母板(接收模块)和子板(发射模块)两个部分组成,体积小,便于携带,不会给人带来太大的负担,使用方便。二、性能稳定第8页他的防盗功能,使用方便,其报警方式采用蜂鸣报警,只要蜂鸣器一报警,人们就能在第一时间内发现,设计中用了低功耗设计,更是放光二极管做电压提醒,电压不足时,二极管发光提醒。三、外观新颖机器的外观设计十分小巧精美,且绿色环保、无辐射,采用锂电池供电,可充电持续使用。防盗钥匙扣的外表像随身携带的装饰品,小巧玲珑。21STC89C52的介绍STC89C52是一种低功耗、高性能CMOS8位微控制器,具有8K在系统可编程Flash存储器。STC89C52使用经典的MCS-51内核,但做了很多的改进使得芯片具有传统51单片机不具备的功能。在单芯片上,拥有灵巧的8位CPU和在系统可编程Flash,使得STC89C52为众多嵌入式控制应用系统提供高灵活、超有效的解决方案。具有以下标准功能:8k字节Flash,512字节RAM,32位I/O口线,看门狗定时器,内置4KBEEPROM,MAX810复位电路,3个16位定时器/计数器,4个外部中断,一个7向量4级中断结构(兼容传统51的5向量2级中断结构),全双工串行口。另外STC89X52可降至0Hz静态逻辑操作,支持2种软件可选择节电模式。空闲模式下,CPU停止工作,允许RAM、定时器/计数器、串口、中断继续工作。掉电保护方式下,RAM内容被保存,振荡器被冻结,单片机一切工作停止,直到下一个中断或硬件复位为止。最高运作频率35MHz,6T/12T可选。特性:STC89C52RC单片机:8K字节程序存储空间;512字节数据存储空间;内带2K字节EEPROM存储空间;可直接使用串口下载;AT89S52单片机:8K字节程序存储空间;256字节数据存储空间;没有内带EEPROM存储空间;参数:1.增强型8051单片机,6时钟/机器周期和12时钟/机器周期可以任意选择,指令代码完全兼容传统8051。2.工作电压:5.5V3.3V(5V单片机)/3.8V2.0V(3V单片机);3.工作频率范围:040MHz,相当于普通8051的080MHz,实际工作频率可达第9页48MHz;4.用户应用程序空间为8K字节;5.片上集成512字节RAM;6.通用I/O口(32个),复位后为:P0/P1/P2/P3是准双向口/弱上拉,P0口是漏极开路输出,作为总线扩展用时,不用加上拉电阻,作为I/O口用时,需加上拉电阻;7.ISP(在系统可编程)/IAP(在应用可编程),无需专用编程器,无需专用仿真器,可通过串口(RxD/P3.0,TxD/P3.1)直接下载用户程序,数秒即可完成一片;8.具有EEPROM功能;9.具有看门狗功能;10.共3个16位定时器/计数器。即定时器T0、T1、T2;11.外部中断4路,下降沿中断或低电平触发电路,PowerDown模式可由外部中断低电平触发中断方式唤醒;12.通用异步串行口(UART),还可用定时器软件实现多个UART;13.工作温度范围:-40+85(工业级)/075(商业级);14.PDIP封装;2.2引脚功能说明VCC(40):+5v。GND(20):接地。P0口(39-32):P0口为8位漏极开路双向I/O口,每引脚吸收8个TTL门电流。P1口(1-8):P1口是从内部提供上拉电阻的8位双向P1口,P1口缓冲器能接收和输出4个TTL门电路。P2口(21-28):P2口为内部提供上拉电阻的8位双向I/O口,P2口缓冲器能接收和输出4个TTL门电路。P3口(10-17):P3口是8个带内部提供上拉电阻的双向I/O口,可接收和输出4个TTL门电路,P3口也可作为AT89C51的特殊功能口。RST(9):复位输入。当振荡器复位时,要保持RST引脚2个机器周期的高电平时间。ALE/PROG(30):当访问外部存储器时,地址锁存允许的输出电平用于锁存地址的地位字节,在FLASH编程期间,此引脚用于输入编程脉冲。在平时,ALE端以不变的频率周期输出正脉冲信号,此频率为振荡器的1/6,它可用作对外部输出的脉冲或用于定时的目的,要注意的是,每当访问外部数据存储器时,将跳过1个ALE脉冲。PSEN(29):外部程序存储器的选通信号。在由外部程序存储器取指期间,每个机器周期2次PSEN有效,但在访问外部数据存储器时,这2次有效的PSEN信号将不

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论