【正文】
1 基于單片機(jī)的超聲波避障系統(tǒng) 摘 要 STC89C51 單片機(jī)是一款八位單片機(jī),他的易用性和多功能性受到了廣大使用者的好評(píng)。本系統(tǒng)以設(shè)計(jì)題目的要求為目的,采用 STC89C51 單片機(jī)為控制核心,利用超聲波傳感器檢測(cè)空間中的障礙,達(dá)到指定距離報(bào)警,顯示實(shí)時(shí)距離功能。 關(guān)鍵詞: STC89C51 單片機(jī) ; 超聲波避障 ; 傳感器 ; 報(bào)警 2 Ultrasonic obstacle avoidance system based on single chip Abstract The SCM STC89C51 an eight microcontroller, ease of use and versatility by the majority of users. The system design subject requirements for the purpose of using the SCM STC89C51 core control, the use of ultrasonic sensors to detect space obstacles to reach a specified distance alarm, display realtime distance function. The whole system is a simple circuit structure, high reliability, to meet the requirements of the experimental test results.. Keywords : STC89C51 single chip puter; Ultrasonic obstacle avoidance;Sensor; Alarm 3 目錄 第一章 緒 論 .............................................................5 設(shè)計(jì)目的及意義 .....................................................5 ....................................................5 ....................................................5 第二章 超聲波測(cè)距儀的設(shè)計(jì)思路 .................................. 6 超聲波測(cè)距原理 .....................................................6 超聲波測(cè)距 工作過(guò)程 .................................................7 超聲波測(cè)距儀原理框圖 ...............................................8 超聲波測(cè)距 設(shè)計(jì)的任務(wù)和要求 ..........................................8 超聲波測(cè)距 方案設(shè)計(jì)與論證 ...........................................9 方 案的論證 ..........................................9 的技術(shù)方案分析 .................................9 聲波傳感器 .........................................10 第三章 超聲波避障系統(tǒng)硬件設(shè)計(jì) .........................................10 ...........................................10 .....................................................10 ..........................................................12 RS232總線接口芯片 MAX232 .....................................12 .....................................................13 ...............................................14 .....................................................14 .................................................15 .....................................................16 避障報(bào)警電路 及電路圖和 實(shí)物圖 .......................................17 4 第四章 軟件設(shè)計(jì) .........................................................19 ...................................................19 .................................................19 ...................................................19 .................................................20 .....................................................20 .................................................20 .................................................21 .................................................22 第五章 系統(tǒng)設(shè)計(jì)與制