菜单
  
    摘要:    目前,单片机在多机通信领域应用很广。本文重点研究了多单片机构成的主从式多机通信系统,其中从机具有相同权限。
    本文从主从式多机通信协议入手,首先设计了主从式多机通信协议;主机通信用固定比特率控制,模拟实际应用中的连续信号输入。对于1号单片机,可通过虚拟终端和数码管显示器实时显示工作状态,设置为主机。从机通信模式通过串口中断触发启动,通信结束即恢复之前的从机状态。通信过程中,主机先发送寻址的从机号,待从机响应后开始通信。通信结束后,从机发给主机校验字节数据,主机检验错误,检验无误后,作出响应,1号单片机数码管显示器会显示,2号、3号单片机和4号单片机收发数据无误后会使各自的数码管显示器指显示。19963
    本研究已经仿真通过,真实可行。具有一定的检错能力,串行通信的比特率是9600bit/s,通信速度较快,且可靠性高。本研究通过硬件电路解决了通信过程中多单片机争用主机权的问题。
    关键词:    单片机;多机通信;主从式;
    Multi machine communication based on 80C51 MCU
    Abstract:     At present, the single chip multi-machine communication in a wide field of applications. This paper focuses on the research of communication system of master-slave multi machine multi chip microprocessor, which has the same permissions from the machine.
    This article from the master-slave multi machine communication protocol to start with, the first design of master-slave multi machine is the communication protocol; the communication of host machine control with fixed bit rate, the practical application of simulation in the continuous signal input. The 1 single chip computer, it can display real-time working state through the virtual terminal and digital tube, is set to the host. Communication mode from the machine through the serial port interrupts triggering, communication before the end of the recovery from the machine state. For the process of communication, the host sends the number from the machine, the response from the plane after communication. After the communication, distributed to the host from the machine check bytes of data, the host test error, check and correct, if there is no error,  it will response.1 single chip digital tube  will show. If No. 2, No. 3 and No. 4 single chip computer send and receive data correctly, they will make their digital tube to display.
    This study has been simulated by the real feasible. Have some error detection capability, the bit rate of serial communication 9600bit / s, communication speed, and reliability. In this study, the hardware circuit through the communication process to resolve the contention over the host microcontroller over the issue.
    Keywords:    MCU; Multi machine communication; master-slave mode
    目录
    摘要    i
    Abstract    ii
    目录    iii
    1    绪论    1
    1.1    本课题的目的意义、发展趋势    1
    1.2    编程软件说明    2
    2    分析    4
    2.1    主从式多机通信原理    4
    2.2    主从式多机通信示意图    4
    2.3    单片机多机通信系统流程图    5
    2.3.1    系统流程图    5
    2.3.2    主机流程图    5
    2.3.3    从机流程图    7
    3    设计    8
    3.1    硬件设计部分    8
    3.1.1    主从式通信系统硬件介绍    8
  1. 上一篇:恒压供水系统PLC程序设计+梯形图
  2. 下一篇:SVPWM矿山牵引电机车控制系统的研究与仿真
  1. 单片机无线通信的恒压供水系统设计+程序

  2. 基于中频信号的家用治疗...

  3. 基于嵌入式技术的智能家...

  4. 基于FPGA竞赛系统设计+程序

  5. 单片机的火灾报警系统设计+电路图+程序

  6. AT89S51单片机储藏室温湿度...

  7. MSP430单片机多功能电能表设计+电路图

  8. 酸性水汽提装置总汽提塔设计+CAD图纸

  9. 大众媒体对公共政策制定的影响

  10. 中考体育项目与体育教学合理结合的研究

  11. 十二层带中心支撑钢结构...

  12. 乳业同业并购式全产业链...

  13. 杂拟谷盗体内共生菌沃尔...

  14. java+mysql车辆管理系统的设计+源代码

  15. 河岸冲刷和泥沙淤积的监测国内外研究现状

  16. 当代大学生慈善意识研究+文献综述

  17. 电站锅炉暖风器设计任务书

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回