资源描述:
《电子存包柜-英文》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、..-DesignofelectronicstoragecabinetbasedonRTOSSmallDepartmentofelectronicsandmunicationengineering,PSGcollege,CoimbatoreIndiaAbstract:ThispaperintroducesthedesignprincipleoftheelectronicstoragecontrolsystembasedonRTOSSmall,andintroducesthesystemusedinthissystemtomakethecontro
2、ller,whichcanmanagetheNstoragecabinetatthesametime.Thedoorlockiscontrolledbytheelectromagneticvalve,whencustomersneedtosavethepackage,cangotothelockersbeforepressthe"open"button,themicrocontrollerreceivesapulsesignal,andthesystemI/Oporttosendcorrespondingsignalstocontroltheel
3、ectromagneticvalvelockdoorwillbeanemptyboxisopened,thecustomercansavethepackageandthedoorshut.Whenthecustomerneedstotakethepackage,willaslongasthebarcodeplacedinfrontofthebarcodereader,barcodereaderbarcodeinformationcollectedbytheoutputvoltagesignalcorrespondingtothemicrocont
4、roller,thepasswordsystemisrelativelyconsistent,sendoutsignalstothesolenoidvalveisopen,thecustomercanremovethepackage.Keywords:SmallRTOS;electronicstoragecabinet;savepackage-.word.zl-..-1、IntroductionRTOSRAMSmalldemandforsmall,verysuitableforsucharelativelysmallresourcesofthes
5、ystem.RTOShasamultitasking,strongreal-time,andcanbereducedtothekernel,makingthedesignofreal-timeapplications,expansionandmaintenanceeasier.TheintroductionoftheideaofRTOS,insteadofthetraditionalsoftwaredesignmethod,sothatitisnolongerasinglethreadstructure,throughtheapplication
6、isdividedintoseveralindependenttasks,RTOSmakesthedesignprocessofapplicationsystemissimplified.Inthispaper,thesoftwaredesignofelectronicstoragecabinetbasedonsinglechipmicroputerisbined,thedesignideaofRTOSSmallandtheapplicationofmessagequeuemunicationmechanismarebrieflyanalyzed
7、.1.1basicprinciplesofRTOS51SmallRTOS51Smallisaverysmallkernel,fullyintegratedintheC51KEILpiler,onlytakelessmemoryspace,youcanruninthe51singlechipmicroputersystemwithoutexternaldatamemory.Thekernelisresponsibleforinitializingandopen,othertasksschedulingsystem,accordingtothepri
8、orityoftasks,areasonabledistributionofCPUindifferenttimebetweentasks