资源描述:
《电子存包柜-英文》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、DesignofelectronicstoragecabinetbasedonRTOSSmallDepartmentofelectronicsandcommunicationengineering,PSGcollege,CoimbatoreIndiaAbstract:ThispaperintroducesthedesignprincipleoftheelectronicstoragecontrolsystembasedonRTOSSmall,andintroducesthesystemusedinthissystemtomak
2、ethecontroller,whichcanmanagetheNstoragecabinetatthesametime.Thedoorlockiscontrolledbytheelectromagneticvalve,whencustomersneedtosavethepackage,cangotothelockersbeforepressthe"open"button,themicrocontrollerreceivesapulsesignal,andthesystemI/Oporttosendcorrespondings
3、ignalstocontroltheelectromagneticvalvelockdoorwillbeanemptyboxisopened,thecustomercansavethepackageandthedoorshut.Whenthecustomerneedstotakethepackage,willaslongasthebarcodeplacedinfrontofthebarcodereader,barcodereaderbarcodeinformationcollectedbytheoutputvoltagesig
4、nalcorrespondingtothemicrocontroller,thepasswordsystemisrelativelyconsistent,sendoutsignalstothesolenoidvalveisopen,thecustomercanremovethepackage.Keywords:SmallRTOS;electronicstoragecabinet;savepackage1、IntroductionRTOSRAMSmalldemandforsmall,verysuitableforsucharel
5、ativelysmallresourcesofthesystem.RTOShasamultitasking,strongreal-time,andcanbereducedtothekernel,makingthedesignofreal-timeapplications,expansionandmaintenanceeasier.TheintroductionoftheideaofRTOS,insteadofthetraditionalsoftwaredesignmethod,sothatitisnoIongerasingle
6、threadstructure,throughtheapplicationisdividedintoseveralindependenttasks,RTOSmakesthedesignprocessofapplicationsystemissimplified.Inthispaper,thesoftwaredesignofelectronicstoragecabinetbasedonsinglechipmicrocomputeriscombined,thedesignideaofRTOSSmallandtheapplicati
7、onofmessagequeuecommunicationmechanismarebrieflyanalyzed.1.1basicprinciplesofRTOS51SmallRTOS51Smallisaverysmallkernel,fullyintegratedintheC51KEILcompiler,onlytakelessmemoryspace,youcanruninthe51singlechipmicrocomputersystemwithoutexternaldatamemory.Thekernelisrespon
8、sibleforinitializingandopen,othertasksschedulingsystem,accordingtothepriorityoftasks,areasonabledistributionofCPUindifferenttimebetweentas