欢迎来到天天文库
浏览记录
ID:28052625
大小:456.38 KB
页数:20页
时间:2018-12-07
《基于rs-232的串行通信设计-外文翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheDesigningofSerialCommunicationBasedonRS232AbstractThispaperdiscussedtheprincipleofserialcommunicationmainly,proposedthedesignmethodbasedonRS232,designedthehardcircuitofserialcommunication,andrealizedtheprogrammingtoPCMicrocomputerandsinglechipmicro
2、computerbyusingassemblylanguageandC++Builderseparately.Keywords:serialcommunication;singlechipmicrocomputer;programdesign.I.INTRODUCTIONDuringworkinginthecontrolsystem,thePCmicrocomputersendsinstructionsforstep-by-stepmotortocollecttheimageinformation
3、.ThereforethecommunicationbetweenthePCmicrocomputerandthedrivingsystemisneededforthecommunicationsystem.Ingeneral,acompletecommunicationsystemconsistsoftransmitter,receiver,convertingthedatainterfaceandtransmittingdatachannel.Thecontrolofthestep-by-st
4、epmotorisrealizedthroughthepulsedistributionbysinglechipmicrocomputer.Onthemotorcontrolsystem,thePCmicrocomputeriscalledasuppercomputer,andthesinglechipmicrocomputerfordrivingstep-by-stepmotoriscalledaslowercomputer.Thecommunicationbetweentheuppercomp
5、uterandthelowercomputerhastwomethods,thatistosaytheparallelcommunicationandserialcommunication.Parallelinterfacecantransmitmuchdataatthesametimeandhasthefastspeed,butwhenthetransmissiondistanceisfarandthenumberofdataismuch,itneedsmorethenumberoftransm
6、issionlines.Inaddition,thevoltagelevelmaybechangedbythetransmissionlinefactorandelectromagneticinterference.Serialcommunicationisaonewaythatthedataistransmittedbyabitinorder,inwhichtwotransitionlinesisneededtorealizebidirectionalcommunication.Itistake
7、nintoconsiderationthatthedataismuchandthetransmutationnumberislittle,theserialcommunicationisutilizedinthecontrolsystemsoastosimplifythehardwareandsavethecost.Serialcommunicationisoneoftheoldestmechanismsfordevicestocommunicatewitheachother.Startingwi
8、ththeIBMPCandcompatiblecomputers,almostallcomputersareequippedwithoneormoreserialportsandoneparallelport.Asthenameimplies,aserialportsendsandreceivesdataserially,onebitatatime.Incontrast,aparallelportsendsandTheDesigningofSerialCommunicationBa
此文档下载收益归作者所有