freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于mcs51的兩片單片機(jī)之間的串行通信接口設(shè)計(jì)(已修改)

2025-09-11 18:08 本頁(yè)面
 

【正文】 昆 明 學(xué) 院 2020 屆畢業(yè)論文(設(shè)計(jì)) 論文(設(shè)計(jì))題目 基于 MCS51 的兩片單片機(jī)之間的 串行通信接口設(shè)計(jì) 子課題題目 姓 名 學(xué) 號(hào) 所屬院系 自動(dòng)控制與機(jī)械工程學(xué)院 專業(yè)年級(jí) 10 級(jí)通信技術(shù)專業(yè) 指導(dǎo)教師 任 杰 2020 年 5 月 基于 MCS51的兩片單片機(jī)之間的串行通信接口設(shè)計(jì) 摘 要 隨著電子技術(shù)的發(fā)展,單片機(jī)的應(yīng)用也越來(lái)越多及越來(lái)越重要,而串行通信理論和單片機(jī)的開(kāi)發(fā)相結(jié)合使電路板的線路少,成本低了,而且在遠(yuǎn)距離傳輸時(shí),避免了很多條的線路特性不同而被廣泛地使用。而 RS232 是一種比較成熟的串口,所以本次設(shè)計(jì)使用 RS232 串口, 用串口通信時(shí)發(fā)送和接收到的每一個(gè)字符實(shí)際上都是一次一位的傳送的,每一位為 1或者為 0。 本次設(shè)計(jì)就是要利用單片機(jī)來(lái)完成一個(gè)系統(tǒng),實(shí)現(xiàn)兩單片機(jī)之間的串行通信。并且使用 DS18B20 溫度傳感器,由一臺(tái)單片機(jī)測(cè)量溫度后傳到另外一臺(tái)單片機(jī)上顯示。 串口通訊 是 單片機(jī) 的一個(gè)重要應(yīng)用 , 它既可以實(shí)現(xiàn)單片機(jī)對(duì)計(jì)算機(jī)的數(shù)據(jù)傳輸 , 同時(shí)計(jì)算機(jī)也可以對(duì)單片機(jī)進(jìn)行控制 。 在本次設(shè)計(jì)中 ,我需要克服的問(wèn)題有怎樣把兩串口與單片機(jī)連接和設(shè)置傳輸?shù)母袷?,和怎樣采集溫度,怎樣顯示等問(wèn)題,總之,在 本次設(shè)計(jì)中我需要對(duì)單片機(jī)有一定的基礎(chǔ),同時(shí)數(shù)電和模電也需要好好溫習(xí)下。對(duì)于畫設(shè)計(jì)的系統(tǒng)電路圖有很大的幫助。而且我希望通過(guò)本次設(shè)計(jì),可以很好的學(xué)習(xí)單片機(jī),同時(shí)喜歡上單片機(jī)的設(shè)計(jì)。其中單片機(jī)中, MCS51 單片機(jī)上 的 通用異步接收 /發(fā)送器 UART,通過(guò) RXD和 TXD 可與 部 電路進(jìn)行串行異步通信, 數(shù)據(jù)的發(fā)送 由 TXD 端送出, 數(shù)據(jù)的接收 由 RXD端輸入。 關(guān)鍵詞 :串行通信 RS232 串口 波特率 基于 MCS51的兩片單片機(jī)之間的串行通信接口設(shè)計(jì) Abstract MCU serial munication is a important application. In munication field, there are two types of data munication mode: parallel munication and serial munication. With the development of puter work and hierarchical distributed microputer application system, the function of the munication is more and more important. Communication refers to puter information transmission to the outside world, both transmission between the puter and the puter,Also includes the puter and external device, such as terminals, printers, and transmission between devices such as disk. Serial munication refers to using a data line, to transmit data a bit a ground in turn, each data holds a fixed length of time. Its just a few lines can exchange information between the systems, especially used in puter and puter, puter and remote munication between the peripherals. When using a serial port munication sending and receiving to each and every one of the characters are in fact a a delivery, each one is or is zero. This design is to use single chip microputer to plete a system, realize the serial munication between the two MCU. And USES DS18B20 temperature sensor, temperature is measured by a singlechip puter and send to other displayed on a single chip microputer. For single chip microputer serial port munication is of great significance, not only can realize the MCU data transmission to the puter side, but also can realize the puter control of the microcontroller. Due to its less cable, wiring simple, so in the long distance transmission, has been widely used, MCS 51 series microcontroller with a universal asynchronous receiver/transmitter UART, RXD by pin [P3. O] and TXD [] with external sound circuit B full duplex serial asynchronous munication, send data sent by the TXD end, when receiving data from the RXD input. Keywords: serial munications RS 232 serial port baud rate 基于 MCS51的兩片單片機(jī)之間的串行通信接口設(shè)計(jì) 目 錄 第一章 緒論 ............................................................. 1 單片機(jī)的應(yīng)用 ......................................................... 1 MCS51 單片機(jī)的基本組成 ............................................. 2 本課題要實(shí)現(xiàn)的內(nèi)容 ................................................... 2 第二章 串行通信介紹 ..................................................... 3 串行通信與并行通信 ................................................... 3 同步通信與異步通信 ................................................... 3 全雙工方式與半雙工方式 .............................................. 4 串行異步通信 ........................................................ 5 串行同步通信 ......................................................... 5 串口通信參數(shù)設(shè)置 .................................................... 6 51 單片機(jī)串行通信格式及波特率 ........................................ 7 第三章 系統(tǒng)設(shè)計(jì) ......................................................... 8 系統(tǒng)整體框圖 ......................................................... 8 兩個(gè) RS232 串口服務(wù)器之間的連接 ....................................... 9 MAX232 芯片 ........................................................ 9 RS232 連接方式 .................................................... 9 時(shí)鐘電路的作用 ...................................................... 12 LED 的接入 .......................................................... 13 溫度采集與顯示 ...................................................... 13 DS18B20 溫度傳感器 ................................................ 13 溫度傳感器與單片機(jī)的連接 .......................................... 14 LCD 和數(shù)碼管與單片機(jī)的連接和排阻的接入 ............................ 15 排阻的選擇 ..................................................... 15 LCD、數(shù)碼管接入 ................................................ 16 整體電路 ............................................................ 16 第四章 軟件調(diào)試 ........................................................ 18 程序流程圖 .......................................................... 18 串行接口流程圖 .................................................... 18 基于 MCS51的兩片單片機(jī)之間的串行通信接口設(shè)計(jì) K K2 鍵程序流程 圖 ............................................... 19 溫度采集與顯示子程序流程圖 ........................................ 20
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號(hào)-1