国产精品婷婷久久久久久,日本中文字幕平台,天天躁夜夜躁av天天爽,国内极度色诱视频网站

單片機(jī)串口通信畢業(yè)論文.doc

約48頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)

單片機(jī)串口通信畢業(yè)論文,目錄摘要iabstractii1 緒論11.1本課題選取的目的及意義11.2 目前國(guó)內(nèi)外本課題研究狀況21.3 本文的主要工作32串行通信理論的有關(guān)概念52.1 通信52.2 通信參數(shù)62.3工作模式62.4 同步通信與異步通信73 幾種常用串行總線協(xié)議及方案選取83.1 iic總線傳輸協(xié)議83....
編號(hào):36-111631大小:454.50K
分類: 論文>通信/電子論文

內(nèi)容介紹

此文檔由會(huì)員 huangbinbest 發(fā)布

單片機(jī)串口通信畢業(yè)論文


目錄
摘要 I
Abstract II
1 緒論 1
1.1本課題選取的目的及意義 1
1.2 目前國(guó)內(nèi)外本課題研究狀況 2
1.3 本文的主要工作 3
2串行通信理論的有關(guān)概念 5
2.1 通信 5
2.2 通信參數(shù) 6
2.3工作模式 6
2.4 同步通信與異步通信 7
3 幾種常用串行總線協(xié)議及方案選取 8
3.1 IIC總線傳輸協(xié)議 8
3.2 SPI總線傳輸協(xié)議 11
3.3 串口通信傳輸協(xié)議 13
3.3.1 80C51單片機(jī)的串行口的結(jié)構(gòu) 13
3.3.2 80C51串行口的控制寄存器 13
3.3.3 80C51單片機(jī)串行口的工作方式 14
3.4 方案選取 17
4 主從通信系統(tǒng)設(shè)計(jì) 18
4.1 硬件原理圖設(shè)計(jì) 18
4.2 軟件的編寫(xiě) 19
5主從式總線通信系統(tǒng)仿真 22
6 論文總結(jié) 24
致謝 25
參考文獻(xiàn) 26
附錄 27

 

 
摘要
在要監(jiān)控的范圍較大或監(jiān)控點(diǎn)數(shù)較多的情況下,就需要把監(jiān)控工作分散進(jìn)行,而把監(jiān)控結(jié)果集中管理。這就是所謂的分布式監(jiān)控。而分布式監(jiān)控比較常用的一種通信方式就是主從式通信了。本文介紹了一個(gè)單片機(jī)做主機(jī),兩個(gè)單片機(jī)做從機(jī)的小型主從式總線通信系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)。系統(tǒng)不僅實(shí)現(xiàn)了主從機(jī)之間的通信,而且實(shí)現(xiàn)了從機(jī)之間的通信。
本文以主從式通信系統(tǒng)的分析與設(shè)計(jì)為主線,首先了解串行通信理論的有關(guān)概念,由此引出了多臺(tái)設(shè)備間的串行通信模式,并提出了一個(gè)按總線方式將多個(gè)RS-232的發(fā)送端并聯(lián)的可行方案。同時(shí)也介紹了單片機(jī)之間的串行通信設(shè)計(jì)。主從式通信的程序由兩部分組成,一部分是主機(jī)的串行通信程序,別一部分是從機(jī)的串行通信程序。因此要設(shè)計(jì)一個(gè)協(xié)議管理主從機(jī)之間的通信。
通信協(xié)議的設(shè)計(jì)主要解決了以下幾個(gè)問(wèn)題:1.對(duì)于主從式通信系統(tǒng)的設(shè)計(jì)通過(guò)通信協(xié)議進(jìn)行管理,可以對(duì)主從機(jī)之間的通信進(jìn)行規(guī)范化管理,使整個(gè)系統(tǒng)不會(huì)陷入混亂通信之中。2.設(shè)計(jì)了主機(jī)向從機(jī)發(fā)送通信方式的命令格式,從機(jī)向主機(jī)發(fā)送反饋命令的格式,以及通訊握手和發(fā)送/接收的具體處理流程

關(guān)鍵字:主從式,多機(jī)通信,RS-232串行數(shù)據(jù)通信

 


Abstract
As large number of observation points are monitored simultaneously,each of the tasks can be controlled through a distributed control system in order to focus on the result of observation. This is called the Distributed Monitoring. The distributed control is commonly used as a way of master-slave communication. This article describes a microcontroller to be the host and two small microcontroller to be the slave and by this way to design a master-slave bus communication system. System not only realizes the communication between master and slave, but also realizes the communication between the slaves.
This thesis focused on analysis and design of a communications plan for a distributed monitored control system.In the beginning the application background and the layout of the devices are introduced,this leads to the serial communication mode between multiple-device.After the introduction a feasible way to let several RS-232’s TXDbe in parallel via bus is described. Also introduced the design of serial communication between MCU.
Communication protocol designed mainly to solve the following problems:first,for the master-slave communication system design management through communication protocols can be standardized management the master slave communications.By this way, the whole system will not into chaos communications.second, Design of the host machine to send a communication from the command format, feedback from the machine to send commands to the format of the host ,Communication handshake and send / receive the specific processes
Key Words: Master-slave mode, Muliple-computer communication, RS-232 serial date communication