【正文】
超聲波模塊介紹 .......................................................................................... 4 超聲波發(fā)射和接收電路 .............................................................................. 6 超聲波模塊電路 .......................................................................................... 6 顯示模塊 ............................................................................................................. 7 顯示模塊介紹 .............................................................................................. 7 LCD1602 電路 .............................................................................................. 8 語音模塊 ............................................................................................................. 9 YF017 語音芯片介紹 ................................................................................... 9 語音模塊電路 ............................................................................................ 10 按鍵模塊 ........................................................................................................... 10 4 系統(tǒng)軟件設(shè)計 .......................................................................................................... 10 主程序 ............................................................................................................... 10 超聲波發(fā)射子程序 ........................................................................................... 12 超聲波接收子程序 ........................................................................................... 12 LCD1602 顯示子程序 ....................................................................................... 13 語音播報子程序 ............................................................................................... 13 按鍵子程序 ....................................................................................................... 14 5 系統(tǒng)調(diào)試 .................................................................................................................. 14 硬件調(diào)試 ........................................................................................................... 15 軟件調(diào)試 ........................................................................................................... 15 軟硬件聯(lián)調(diào) ....................................................................................................... 16 實驗結(jié)果 ........................................................................................................... 16 6 結(jié)束語 ...................................................................................................................... 19 致 謝 ...................................................................................................................... 20 參考文獻 ...................................................................................................................... 21 附 錄 ...................................................................................................................... 22 附錄 1 基于單片機的超聲波倒車?yán)走_系統(tǒng)原 理圖 ...........................................23 附錄 2 基于單片機的超聲波倒車?yán)走_系統(tǒng)元器件清單 ...................................24 附錄 3 基于單片機的超聲波倒車?yán)走_系統(tǒng)程序清單 .......................................25基于單片機的超聲波倒車?yán)走_系統(tǒng)設(shè)計 1 基于單片機的超聲波倒車?yán)走_系統(tǒng)設(shè)計 1 概述 課題研究背景與意義 現(xiàn)在使用汽車的人越來越多了,但是車子一多,也會造成交通擁擠,隨之帶來的安全 隱患也就越來越多了。 Single chip microputer。 set alarm values button module. Software uses a modular design, divided into the main program, subprogram ultrasonic transmitter, ultrasonic reception subroutine, LCD1602 display routines,voice broadcast subroutine and button subroutine six parts. Joint debug system’s software and hardware . After the success of the software and hardware’s debugging realized transmit and receive pulses of ultrasonic module, the calculated distance is displayed on a display, speakers broadcast distance. When the distance is less than the set value, the horn alarm. Key words: reversing radar。 LCD1602 display with distance, and pared with alarm。 關(guān)鍵詞 :倒車?yán)走_;超聲波;單片機;語音播報;顯示器 The design of Ultrasonic reversing radar system based on Single chip Abstract: STC89C52 microcontroller core with an ultrasonic reversing radar system design. The functions of the system has an ultrasonic transmitter emits a series of successive pulses, when they hit an obstruction return, the ultrasonic pulse received by the receiver, the supplied single chip microputer, the single chip microputer calculates the distance, showing distance on the display and informs the driver via voice broadcast, when it reaches the danger from issue hazard warnings. According to the main function of the ultrasonic reversing radar system design scheme is proposed and demonstrated. Design, including hardware design and software design two parts. Minimum system hardware consists of a microcontroller, ultrasonic module, display module, voice module, a key module of five parts. The STC89C52 singlechip choose macrocrystalline on STC pany。軟硬件聯(lián)調(diào)成功后,實現(xiàn)了超聲波模塊發(fā)射和接收脈沖,將計算出的距離顯示在顯示器上,喇叭播報距離。軟件采用了模塊化的設(shè)計方法,主要分為主程序、超聲波發(fā)射子程序、超聲波接收子程序、 LCD1602 顯示子程序、語音播報子程序和按鍵子程序六部分。硬件部分包括單片機最小系統(tǒng)、超聲波模塊、顯示模塊、語音模塊和按鍵模塊五個部分。 根據(jù)超聲波倒車?yán)走_系統(tǒng)的主要功能,提出了設(shè)計方案并進 行了論證。圖表整潔,布局合理,文字注釋必須使用工程字書寫,不準(zhǔn)用徒手畫 3)畢業(yè)論文須用 A4 單面打印,論文 50 頁以上的雙面打印 4)圖表應(yīng)繪制于無格子的頁面上 5)軟件工程類課題應(yīng)有程序清單,并提供電子文檔 1)設(shè)計(論文) 2)附件:按照任務(wù)書、開題報告、外文譯文、譯文原文(復(fù)印件)次序裝訂 3)其它 指導(dǎo)教師評閱書 指導(dǎo)教師評價: 一、撰寫(設(shè)計)過程 學(xué)生在論文(設(shè)計)過程中的治學(xué)態(tài)度、工作精神 □ 優(yōu) □ 良 □ 中 □ 及格 □ 不及格 學(xué) 生掌握專業(yè)知識、技能的扎實程度 □ 優(yōu) □ 良 □ 中 □ 及格 □ 不及格 學(xué)生綜合運用所學(xué)知識和專業(yè)技能分析和解決問題的能力 □ 優(yōu) □ 良 □ 中 □ 及格 □ 不及格 研究方法的科學(xué)性;技術(shù)線路的可行性;設(shè)計方案的合理性 □ 優(yōu) □ 良 □ 中 □ 及格 □ 不及格 完成畢業(yè)論文(設(shè)計)期間的出勤情況 □ 優(yōu) □ 良 □ 中 □ 及格 □ 不及格 二、論文(設(shè)計 )質(zhì)量 論文(設(shè)計)的整體結(jié)構(gòu)是否符合撰寫規(guī)范? □ 優(yōu) □ 良 □ 中 □ 及格 □ 不及格 是否完成指定的論文(設(shè)計)任務(wù)(包括裝訂及附件)? □ 優(yōu) □ 良 □ 中