资源描述:
《串行通信设计外文翻译》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、外文文献翻译:TheDesigningofSerialCommunicationBasedonRS232TheDesigningofSerialCommunicationBasedonRS232AbstractThispaperdiscussedtheprincipleofserialcommunicationmainly,proposedthedesignmethodbasedonRS232,designedthehardcircuitofserialcommunication,andrealizedtheprogr
2、ammingtoPCMicrocomputerandsinglechipmicrocomputerbyusingassemblylanguageandC++Builderseparately.Keywords:serialcommunication;singlechipmicrocomputer;programdesign.I.INTRODUCTIONDuringworkinginthecontrolsystem,thePCmicrocomputersendsinstructionsforstep-by-stepmot
3、ortocollecttheimageinformation.ThereforethecommunicationbetweenthePCmicrocomputerandthedrivingsystemisneededforthecommunicationsystem.Ingeneral,acompletecommunicationsystemconsistsoftransmitter,receiver,convertingthedatainterfaceandtransmittingdatachannel.Thecon
4、trolofthestep-by-stepmotorisrealizedthroughthepulsedistributionbysinglechipmicrocomputer.Onthemotorcontrolsystem,thePCmicrocomputeriscalledasuppercomputer,andthesinglechipmicrocomputerfordrivingstep-by-stepmotoriscalledaslowercomputer.Thecommunicationbetweentheu
5、ppercomputerandthelowercomputerhastwomethods,thatistosaytheparallelcommunicationandserialcommunication.Parallelinterfacecantransmitmuchdataatthesametimeandhasthefastspeed,butwhenthetransmissiondistanceisfarandthenumberofdataismuch,itneedsmorethenumberoftransmiss
6、ionlines.Inaddition,thevoltagelevelmaybechangedbythetransmissionlinefactorandelectromagneticinterference.Serialcommunicationisaonewaythatthedataistransmittedbyabitinorder,inwhichtwotransitionlinesisneededtorealizebidirectionalcommunication.Itistakenintoconsidera
7、tionthatthedataismuchandthetransmutationnumberislittle,theserialcommunicationisutilizedinthecontrolsystemsoastosimplifythehardwareandsavethecost.Serialcommunicationisoneoftheoldestmechanismsfordevicestocommunicatewitheachother.StartingwiththeIBMPCandcompatibleco
8、mputers,almostallcomputersareequippedwithoneormoreserialportsandoneparallelport.Asthenameimplies,aserialportsendsandreceivesdataserially,onebitatatime.Incontrast,apar