预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共36页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

提供全套毕业设计,各专业都有届毕业生毕业论文题目:主从遥控机器人通讯系统的设计院系名称:电气工程学院专业班级:学生姓名:学号:指导教师:教师职称:年06月10日III摘要当今主从遥控机器人通讯正朝着快速化、精密化的方向发展。遥控机器人通讯分为有线通讯和无线通讯方式。随着处理信息日益复杂,并且考虑到工作环境的需要,有线遥控机器人广泛地运用在各个领域。本文设计的主从遥控通讯机器人系统正是由于以上原因而设计的。本文设计了一套机器人主从遥控通讯系统,该系统基于AT89S52单片机,采用RS485总线接口方式。通过主机每隔一定时间发送数据,当从机接收到主机发送过来的数据以后,通过按键计数从机变成发送,主机变成接收,从机发送给主机数据。在此设计中,只有收到主机发送过来的数据以后从机才可发送数据,不可以主动发数据。本设计采用RS485串行接口标准及两级单片机主从式结构,实现了成本低、传输距离远、抗干扰能力强的通信。实践证明,该系统是一种结构简单、灵活、可靠性高的价格低廉的实用型主从遥控机器人通讯系统,非常适用于远距离传送信息,具有较高推广应用价值。关键词:单片机;RS485;主从遥控TitleCommunicationSystemDesignofMaster-SlaveRemoteRobotAbstractAtpresent,robotcommunicationisbeingfasterandmoreprecise.Robotcommunicationincludeswiretypeandwirelesstype.Consideringthattheinformationwhichneedstobedealwithisbeingcomplexandtheneedsofworkingenvironment,moreandmorewirelessremotecontrolrobotisusedinvariousfields.Thisthesisfocusonthedesignofmaster-slaveremoterobotsystemforcommunication,thissystemisamaster-slaveremotesystem,witchisbasedonsinglechipcomputer(AT89s52)andusesRS485businterface..Itcommunicatesbyaskingcyclefrommastertoslave.Datasuchas0~9issendingfrommastertoslave.Ifthedatareceivedbyslavemeetthesendingrequirementofthemaster,therewillbeadatawhichissametothedatareceivedbyslavesenttothemaster.Ifnot,anotherdatawillbesenttothemaster.PleasenotethattheslavecannotsenddataunlessthatthemastersentdatatotheslaveWiththeusingoftheRS485serialinterfacestandardandtwolevelsSCMmaster-slavestructure,thesystemprovideslowcost,transmissiondistance,andstronganti-jammingcommunications.Practicehasprovedthatthesystemisasimple,flexible,highreliabilityandlowprices,practicalcommunicationsystem,whichisapplicabletolong-distancetransmissionofinformationandhasimportantvalue.Keywords:MCU(MicorControllerUnit);RS485;SerialCommunication目次1绪论11.1主从机器人11.2单片机和通信技术的国内外研究现状11.3本课题研究的意义31.4本课题研究的背景及内容31.5系统总体设计思想42系统方案的选择52.1单片机的选择52.2驱动的选择52.3串行通讯的选择63硬件电路设计83.1系统总体设计83.2单片机最小系统电路设计83.3驱动的设计123.4通讯的设计134软件设计164.1软件语言的选择164.2通讯的协议174.3模拟串行发送程序194.4模拟串行接收程序204.5系统显示子程序设计214.6系统的仿真与调试23结论24致谢25参考文献26附录A总电路图28附