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

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

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

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

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

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

单片机双机通信系统设计摘要本单片机系统采用AT89C51控制LED显示、键盘、串行通信等模块组成。本设计只完成了单片机部分的开发设计没有设计外部的采集和控制电路。因为没有外部采集电路所以不能完成具体的测量功能要完成具体的测量功能(如测量压力、温度、湿度)还要配上外部的各种传感器采集电路和相应的软件。单片机双机通信是指由两台单片机组成的网络结构可以通过串行通信方式实现对某一过程的最终控制。随着计算机技术的发展双机通信技术也在不断地发展现在发展比较成熟的还有光纤通信等。由于计算机的飞速发展和控制系统的复杂化双机通信已经越来越为人们热门的话题之一。目前单片机多机通信的形式比较多但通常可以分为星型、环型、串行总线型和主从式多机型四种。若配上采集电路和相应的软件就能将测量结果用LED数码管十进制显示出来还可以用按键来控制进行人机对话;系统中设置了2个按键1个控制A机另外一个控制B机双机之间可以实现简单的通信。之所以没有设计外部采集电路是因为设计了外部采集电路系统的功能就比较单一不方便系统功能的外部扩展。关键词:单片机AT89C51;串行通信;LED数码管显示SCMDoubleCommunicationSystemDesignAbstractItadoptsAT89C51tocontroltheSingleChipmicrocomputersystemthewholehardwaresystemiscomposedofLEDdisplaykeyboardserialcommunication.Thedesignhasonlycompletedpartoftheexploitationdesignandhasnotdesignedthecircuitofexternalcollectionandcontrol.Becauseofhavingnotfinishedtheexternalcollectioncircuitthematerialfunctionofmeasuringhasnotbeenfinishedinordertofinishthematerialfunctionofmeasuringsuchasmeasuringthepressuretemperatureorthemoistureanditshouldbeequipedwithexternalsensorcollectioncircuitandtherelevantsoftware.SCMdoublecommunicationreferstothenetworkstructureiscomposedoftwosinglechipmicrocomputercanrealizeserialcommunicationoftheultimatecontrolofaprocess.Withthedevelopmentofcomputertechnologycommunicationtechnologyoftwoisinconstantdevelopmentthedevelopmentofmorematurenowandopticalfibercommunicationetc.Duetotherapiddevelopmentofcomputerandthecomplicatedcontrolsystemdoublemachinecommunicationhasbeenoneofthemoreandmorepopulartopicforpeople.AtpresenttheSCMmultimachinecommunicationintheformofmorebutusuallycanbedividedintoserialmainlinestarringandthemaster-slavemodelfourmore.IfcollectioncircuitandtherelevantsoftwareareequipeditcanrealizethatthemetricalresultsaredisplayedbynumeraltubeLEDintermofdecimalsystemitalsocanbecontrolledb