【正文】
mission between peripherals and interface circuit, between CPU and interface is still working in parallel way. Serial data during transmission, due to the interference may cause error information. How to find errors in the transmission, error detection。 第二代 :1958 年 1964 年是晶體管計算機 .其特點是 ,體積減少 ,耗電減少 ,速度提高 ,成本降低 。因此如何實現(xiàn) PC 機與單片機之間的通信具有非常重要的現(xiàn)實意義。由于只有一條信道,所以數(shù)據(jù)不能同時在兩個方向上傳送。線路上在不傳送字符時應保持為“ 1”。 同步通信:同步傳輸?shù)谋忍胤纸M要大得多。它時一種并接式二總線的接口,采用的是半雙工通信總線的差分電平方式進行數(shù)據(jù)傳輸。軟件設計部分運用查詢和中斷方式完成數(shù)據(jù)的接收,并進一步處理。 在接受過程中,串行口的接收與否受制于允許接受位 REN 的狀態(tài),當 REN被軟件置“ 1”后,允許接收器接收。該系統(tǒng)硬件主要包括以下幾個模塊:11 AT89C51 中控模塊、 LED 顯示模塊、串行口通信模塊主要完成單片機和 PC機之間的通信功能。下一個字符起始位的到來又使同步重新校準。 本系統(tǒng)由硬件和軟件兩大部分協(xié)調(diào)完成,硬件部分主要完成信息的顯示;軟件主要完成信號的處理及控制功能等。它也可以將單片機從休眠模式或空閑模式喚醒。接收端收到停止位后,知道上一字符已經(jīng)傳送完畢,同時也為接收下一位字符做好準備(只要再收到“ 0”就是 新的字符的起始位)。起始位之后是數(shù)據(jù)的最低位。 (1) 串行數(shù)據(jù)傳輸方式 1) 雙辦工方式通訊雙方能同時進行發(fā)送和接收操作。隨著計算機技術尤其是單片機技術的發(fā)展,人們已越來越多地采用單片機來對一些工業(yè)控制系統(tǒng)中 如溫度、濕度等參數(shù)進行檢測和控制。個人計算機不需要共享其他計算機的處理、磁盤和打印機等資源也可以獨立工作。 The fifth generation puter will develop to is. . The PC hardware profile Hardware is running software platform, software control hardware work to plete the scheduled tasks. First of all, let us understand the puter hardware. . Central processing unit (CPU) The CPU is the abbreviation of central processing unit (CPU), it is the core puter ponents. CPU chip mainly contain arithmetic unit and controller. 216。中文 3234 字 本科生畢業(yè)設計(論文)專業(yè)外文翻譯 原 文 : PC and single chip microputer serial munication design 譯 文 : 關于 PC 機與單片機串行通信設計的實現(xiàn) 指導教師 : 職稱 : 講師 學生姓名 : 學號 : 專 業(yè) : 電氣工程及其自動化 院(系) : 2020年 3 月 20日 1 PC and single chip microputer serial munication design PC is the abbreviation of the Personal Computer, which can run independently, perform specific functions of the Personal Computer. Personal puter does not need to share other puter resources such as processing, disks and printer can work independently. 1. 1. PC development brief history According to the logic element process change, can be divided into four stages: 216。 216。 Software mainly plete signal processing and control function, etc. Hardware mainly adopts modular design, AT89C51 singlechip microputer as the core, and serial port munication circuit of control system, LED display circuit display modules. The system hardware mainly includes the following several modules: AT89C51 control module, LED display module, serial port munication module is mainly to plete munication between MCU and PC. 7 關于 PC 機與單片機串行通信設計的實現(xiàn) PC 是 Personal Computer 的縮寫 ,能獨立運行、完成特定功能的個人計算機。 單片微型計算機簡稱單片機,它是將中央處理器 (CPU)、存儲器 (RAM, ROM)、定時/計數(shù)器和各種接口電路都集成到一塊集成電路芯片上的微型計算機。如何發(fā)現(xiàn)傳輸中的錯誤,叫檢錯;發(fā)現(xiàn)錯誤后,如何消除錯誤,叫糾錯。幀與幀之間可有任意個空閑位。停止位可以是 1位、 位、 2位。 AT89C2051 單片機在執(zhí)行命令的時候出現(xiàn)故障,就可通過芯片 IMP813 將單片機復位。期間有涉及到串行通信原理的簡述、串行通信的制式、 RS232 接口的電氣標準、電平轉(zhuǎn)換的方式方法和單片機最小系統(tǒng)設計等相 關專業(yè)問題。 每一位的傳輸時間為波特率的倒數(shù): Td=1/1200= 異步通信是按字符傳輸?shù)?,接收設備在收到起到起始信號之后只要在一個字符的傳輸時間內(nèi)能和發(fā)送設備保持同 步就能正確接收。 硬件主要采用模塊式設計,以 AT89C51 單片機為核心,與串行口通信 電路組成控制系統(tǒng)、 LED 顯示模塊構(gòu)成顯示電路。串口的接收器以所選波特率的 16 倍速對RXD 線進行監(jiān)視。 10 并且,實現(xiàn)期間在后面還采用了仿真調(diào)試,即運用 Protues 平臺、虛擬串口軟件創(chuàng)建的一對相通的虛擬 COM 口、基于 MSC0mm 軟件的串口調(diào)試軟件等工具來仿真實現(xiàn) PC機與單片機串口通信系統(tǒng)。微機要實現(xiàn) RS485 協(xié)議通信總體上概括可以采用兩種方法:第一種采用