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

正文內(nèi)容

基于mcs51的兩片單片機之間的串行通信接口設計-展示頁

2024-09-12 18:08本頁面
  

【正文】 間的 串行通信接口設計 子課題題目 姓 名 學 號 所屬院系 自動控制與機械工程學院 專業(yè)年級 10 級通信技術(shù)專業(yè) 指導教師 任 杰 2020 年 5 月 基于 MCS51的兩片單片機之間的串行通信接口設計 摘 要 隨著電子技術(shù)的發(fā)展,單片機的應用也越來越多及越來越重要,而串行通信理論和單片機的開發(fā)相結(jié)合使電路板的線路少,成本低了,而且在遠距離傳輸時,避免了很多條的線路特性不同而被廣泛地使用。而 RS232 是一種比較成熟的串口,所以本次設計使用 RS232 串口, 用串口通信時發(fā)送和接收到的每一個字符實際上都是一次一位的傳送的,每一位為 1或者為 0。并且使用 DS18B20 溫度傳感器,由一臺單片機測量溫度后傳到另外一臺單片機上顯示。 在本次設計中 ,我需要克服的問題有怎樣把兩串口與單片機連接和設置傳輸?shù)母袷?,和怎樣采集溫度,怎樣顯示等問題,總之,在 本次設計中我需要對單片機有一定的基礎(chǔ),同時數(shù)電和模電也需要好好溫習下。而且我希望通過本次設計,可以很好的學習單片機,同時喜歡上單片機的設計。 關(guān)鍵詞 :串行通信 RS232 串口 波特率 基于 MCS51的兩片單片機之間的串行通信接口設計 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的兩片單片機之間的串行通信接口設計 目 錄 第一章 緒論 ............................................................. 1 單片機的應用 ......................................................... 1 MCS51 單片機的基本組成 ............................................. 2 本課題要實現(xiàn)的內(nèi)容 ................................................... 2 第二章 串行通信介紹 ..................................................... 3 串行通信與并行通信 ................................................... 3 同步通信與異步通信 ................................................... 3 全雙工方式與半雙工方式 .............................................. 4 串行異步通信 ........................................................ 5 串行同步通信 ......................................................... 5 串口通信參數(shù)設置 .................................................... 6 51 單片機串行通信格式及波特率 ........................................ 7 第三章 系統(tǒng)設計 ......................................................... 8 系統(tǒng)整體框圖 ......................................................... 8 兩個 RS232 串口服務器之間的連接 ....................................... 9 MAX232 芯片 ........................................................ 9 RS232 連接方式 .................................................... 9 時鐘電路的作用 ...................................................... 12 LED 的接入 .......................................................... 13 溫度采集與顯示 ...................................................... 13 DS18B20 溫度傳感器 ................................................ 13 溫度傳感器與單片機的連接 .......................................... 14 LCD 和數(shù)碼管與單片機的連接和排阻的接入 ............................ 15 排阻的選擇 ..................................................... 15 LCD、數(shù)碼管接入 ................................................ 16 整體電路 ............................................................ 16 第四章 軟件調(diào)試 ........................................................ 18 程序流程圖 .......................................................... 18 串行接口流程圖 .................................................... 18 基于 MCS51的兩片單片機之間的串行通信接口設計 K K2 鍵程序流程 圖 ............................................... 19 溫度采集與顯示子程序流程圖 ........................................ 20 主程序流程圖 ..................................................... 21 程序的調(diào)入與仿真結(jié)果 ................................................ 22 第五 章 論文總結(jié) ........................................................ 25 參考文獻 ............................................................... 26 謝辭 ................................................................... 27 附
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1