资源描述:
《电子存包柜-英文》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、.-DesignofelectronicstoragecabinetbasedonRTOSSmallDepartmentofelectronicsandmunicationengineering,PSGcollege,CoimbatoreIndiaAbstract:ThispaperintroducesthedesignprincipleoftheelectronicstoragecontrolsystembasedonRTOSSmall,andintroducesthesystemusedinthissystem
2、tomakethecontroller,whichcanmanagetheNstoragecabinetatthesametime.Thedoorlockiscontrolledbytheelectromagneticvalve,whencustomersneedtosavethepackage,cangotothelockersbeforepressthe"open"button,themicrocontrollerreceivesapulsesignal,andthesystemI/Oporttosendcor
3、respondingsignalstocontroltheelectromagneticvalvelockdoorwillbeanemptyboxisopened,thecustomercansavethepackageandthedoorshut.Whenthecustomerneedstotakethepackage,willaslongasthebarcodeplacedinfrontofthebarcodereader,barcodereaderbarcodeinformationcollectedbyth
4、eoutputvoltagesignalcorrespondingtothemicrocontroller,thepasswordsystemisrelativelyconsistent,sendoutsignalstothesolenoidvalveisopen,thecustomercanremovethepackage.Keywords:SmallRTOS;electronicstoragecabinet;savepackage..word.zl-.-1、IntroductionRTOSRAMSmalldem
5、andforsmall,verysuitableforsucharelativelysmallresourcesofthesystem.RTOShasamultitasking,strongreal-time,andcanbereducedtothekernel,makingthedesignofreal-timeapplications,expansionandmaintenanceeasier.TheintroductionoftheideaofRTOS,insteadofthetraditionalsoftw
6、aredesignmethod,sothatitisnolongerasinglethreadstructure,throughtheapplicationisdividedintoseveralindependenttasks,RTOSmakesthedesignprocessofapplicationsystemissimplified.Inthispaper,thesoftwaredesignofelectronicstoragecabinetbasedonsinglechipmicroputerisbine
7、d,thedesignideaofRTOSSmallandtheapplicationofmessagequeuemunicationmechanismarebrieflyanalyzed.1.1basicprinciplesofRTOS51SmallRTOS51Smallisaverysmallkernel,fullyintegratedintheC51KEILpiler,onlytakelessmemoryspace,youcanruninthe51singlechipmicroputersystemwitho
8、utexternaldatamemory.Thekernelisresponsibleforinitializingandopen,othertasksschedulingsystem,accordingtothepriorityoftasks,areasonabledistributionofCPUindifferenttimebetweentasks,t