资源描述:
《单片机串行多机通信》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、本科毕业设计题目单片机串行多机通信学院管理科学与工程学院专业电子信息工程班级08信工(2)班学号200883101姓名孙贺同指导老师谢道平老师2012年6月otherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasrecorderoftheWestNort
2、hOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCountypartyCommitteeSecr
3、etary,Ministersand摘要随着电子技术的发展和微处理器技术的应用,带有单片机的智能型测控系统的应用越来越广泛,多个单片机系统之间数据传输已经应用于工业、科研、农业等领域,而单片机之间的数据通信最常用的就是串口通信方式,串口通信可以在使用一根线发送数据的同时利用另一根线接收数据,使用简单且能实现远距离通信。本文介绍了一种单片机多机通信的设计方法,主机与从机之间通过串口实现通信,主机通过按键来选择要进行通信的从机,然后通过数字矩阵键盘控制从机的数码管显示数字0-9,同时该从机可以通过按键
4、控制主机连接的LED灯亮灭,实现全双工通信。本文介绍的方法简单易懂,通过仿真基本上实现了上述功能,操作简单,性能稳定,可广泛应用于各种多机通信系统中。关键字:单片机;多机通信;串口;数码管;LEDotherstaffoftheCentre.Duringthewar,ZhuwastransferredbacktoJiangxi,andDirectorofthenewOfficeinJingdezhen,JiangxiCommitteeSecretary.Startingin1939servedasr
5、ecorderoftheWestNorthOrganization,SecretaryoftheSpecialCommitteeAfterthevictoryofthelongMarch,hehasbeentheNorthwestOfficeoftheFederationofStateenterprisesMinister,ShenmufuguSARmissions,DirectorofNingxiaCountypartyCommitteeSecretaryandrecorderoftheCoun
6、typartyCommitteeSecretary,MinistersandAbstractWiththedevelopmentofelectronictechnologyandtheapplicationofmicroprocessortechnology,intelligentmeasurementandcontrolsystemwithamicrocontrollerapplicationismoreextensive,datatransferbetweenmultipleMCUsystem
7、hasbeenusedinindustrial,research,agricultureandotherfields,whilethemicrocontrollerthemostcommonlyusedfordatacommunicationsbetweentheserialcommunication,serialcommunicationcanusealinetosenddataatthesametimeuseanotherlinetoreceivedata,usingsimpleandcana
8、chievelong-distancecommunications.Thisarticledescribesthedesignmethodofasingle-chipmulti-machinecommunicationviatheserialcommunicationbetweenthehostandslave,tocommunicatefrommachinehostkeystoselect,fromthemachine'sdigitaltubedisplaydigitalandd