菜单
  
    摘要:本论文主要介绍了多片单片机计算机之间的串行数据通信系统。本课题通过使用串口通讯芯片MAX232,来实现单片机与计算机之间的串行数据通信功能。利用RS485接口设计电路,可以得到多片单片机与计算机之间的通信的效果,但是微机不能直接与RS485接口, 因此还须加上RS232C 与RS485的转换电路。通信协议具有以下意义:对于主从式通信系统的设计通过通信协议进行管理,使整个系统不会陷入混乱通信之中。
    本课题在实验过程中,先设计了一片单片机与计算机之间的通信,来实现串行数据通信的功能。至于更加复杂的多片单片机与计算机之间的通信系统系统的设计与实现,则是在此系统的基础上进行扩展实现的。
    关键字: 串行通信;MAX232芯片;RS- 232C标准总线;通信协议
    The control and application of serial data communication
    Abstract:This article describes a multi-chip communication between the MCU and the computer system. This topic through the serial communication chip MAX232, to realize the serial data communication between computer and single chip. Using the RS485 interface circuit design, can get the communication between MCU and the computer system .Microprocessor can’t directly link with the interface of RS485, so it must be added RS232C and RS485 conversion circuit. Communication protocol designed mainly to solve the following problem: for the master-slave communication system design management through communication protocols, the whole system will not into chaos communications.
    This topic in the course of the experiment, the design of the communication between a computer and single chip, achieving the serial data communication function. As for the system design and Realization of communication system between the more complex multiple microcontroller and computer, is based on this system is extended to achieve.
    Key words:  serial communication; MAX232 chip; RS- 232C standard bus; communication protocols

    目录
    1、绪论    1
    1.1 本课题选取的意义    1
    1.2研究状况    1
    1.3 本文的研究思路    2
    1.3.1 研究意义    3
    1.3.2    研究目标    3
    1.3.3    研究思路    3
    1.3.4    研究难点    3
    2、串行数据通信的有关概念    3
    2.1 通信的定义    3
    2.1.1 数据发送    4
    2.1.2 通信的种类    4
    2.2 通信参数    4
    2.2.1 数据的传输速率    4
    2.2.2 数据的发送单位    5
    2.2.3 起始位及停止位    5
    2.2.4 校验位的检查    5
    2.3 通信方式    5
    2.3.1 异步通信方式    5
    2.3.2 同步通信方式    6
    2.4 数据传送方式(单工、半双工、全双工和多工)    6
    2.4.1 单工方式    6
    2.4.2 半双工方式    6
    2.4.3 全双工方式    7
    2.4.4 多工传输方式    7
    2.5 串行通信总线    7
    2.5.1 RS- 232C标准总线    7
    2.5.2 RS-485标准总线    8
    2.5.3 RS232C 与RS485的转换    8
    3、通信协议    9
    3.1 单片机串行口的结构    9
    3.2.1串行接口数据缓冲器SBUF    9
    3.2.2 串行口控制寄存器SCON    10
    3.3 片机串行口的工作方式    11
    3.3.1 方式0    12
    3.3.2 方式1    12
    3.3.3 方式2和方式3    13
  1. 上一篇:话筒放大器国内外研究现状
  2. 下一篇:双向中继协作无线通信系统的波束成形技术研究
  1. FPGA实现以太网MAC控制器数据发送模块

  2. 时延广义网络控制系统的建模与分析

  3. Matlab非线性时延网络控制...

  4. Modbus工业控制嵌入式协议转换器设计+程序

  5. Matlab离散时间网络化控制系统故障检测策略

  6. eMMC存储器的基于FPGA的数据读写控制

  7. HEVC高效视频编码中的码率控制算法研究

  8. 浅析中国古代宗法制度

  9. C++最短路径算法研究和程序设计

  10. g-C3N4光催化剂的制备和光催化性能研究

  11. 高警觉工作人群的元情绪...

  12. 江苏省某高中学生体质现状的调查研究

  13. 现代简约美式风格在室内家装中的运用

  14. 上市公司股权结构对经营绩效的影响研究

  15. 中国传统元素在游戏角色...

  16. 巴金《激流三部曲》高觉新的悲剧命运

  17. NFC协议物理层的软件实现+文献综述

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回