【正文】
畢業(yè)設計 (論文 ) 題 目 : 基于單片機的紅外避障小車 學 院 : 浦江學院 專 業(yè) : 電子信息工程 2021 年 06 月 I 摘要 隨著科學技術的進步,智能化和自動化技術越來越普及,各種高科技技術也廣泛應用于智能小車河機器人玩具制造領域,使智能機器人越來越多樣化。智能小車是一個多種高新技術的集成體,融合了機械,計算機硬件,軟件,電子 ,人工智能等多種科學技術的知識,可以涉及到當今許多前言領域的技術。 本設計主要由單片機控制系統(tǒng)模塊、電機驅動模塊、紅外避障模塊、聲控模塊組成,系統(tǒng)以 STC89C52RC 單片機為核心,通過避障模塊和聲控模塊接受到的信息來控制電機運行。系統(tǒng)通過 7節(jié) 干電池通過降壓電路降成 5V 穩(wěn)定直流電對單片機和發(fā)動機進行供電。本文介紹了紅外避障的原理、系統(tǒng)整體設計及相關軟件的介紹。軟件部分采用模塊化設計思路,整個程序包括主程序,電機驅動程序,信號檢測程序,通過小車運行時檢測到的運行信息來調用左轉、直行或停止函數(shù)來控制小車 。 測試結果表明,本文的各項功能基本正常,除發(fā)動機轉速不匹配外能實現(xiàn)本設計的所有要求。 關鍵字: STC89C52RC 小車 避障 單片機 II Abstract With the progress of science and technology, intelligent and automation technology is more and more popular, Hightech technology is also widely used in intelligent car river robot toy manufacturing, intelligent robot is more and more diversified. Intelligent car is a variety of high and new technology integration, integration of mechanical, puter hardware, software, electronics, artificial intelligence and so on the many kinds of knowledge, science and technology can be involved in many of today39。s introduction in the field of technology. This design is mainly posed of singlechip microputer control system module, motor drive module, the infrared obstacle avoidance module, voice control module, system with STC89C52RC singlechip microputer as the core, through the obstacle avoidance module and voice control module receives information to control the motor running. System by 7 V dry cell by stepdown circuit down into a stable dc 5 V for single chip microputer and engine power. This paper introduces the principle of infrared obstacle avoidance, the introduction of overall system design and related software. Software part adopts the modular design thinking, the process includes the main program, motor driver, signal detection procedures, through the car runs the operation of the detected information call to turn left, go straight, or stop function to control the car. Test results show that the various functions of the basic normal, in addition to the engine speed does not match to achieve all the requirements of the design. Key words: obstacle avoidance SCM STC89C52RC cars III IV 目錄 摘要 ........................................................ 錯誤 !未定義書簽。 Abstract.................................................... 錯誤 !未定義書簽。 第一章 緒論 ............................................................................. 錯誤 !未定義書簽。 課題背景 ........................................................................................... 錯誤 !未定義書簽。 課題研究的目的和意義 .................................................................... 錯誤 !未定義書簽。 本設計的內容及結構 ........................................................................ 錯誤 !未定義書簽。 本設計的內容 ........................................................................... 錯誤 !未定義書簽。 本設計的結構 ........................................................................... 錯誤 !未定義書簽。 第二章 系統(tǒng)硬件選擇 ................................................................ 錯誤 !未定義書簽。 車體結構 ........................................................................................... 錯誤 !未定義書簽。 紅外避障傳感器原則 ........................................................................ 錯誤 !未定義書簽。 STC89C52 單片機介紹 ..................................................................... 錯誤 !未定義書簽。 第三章 系統(tǒng)硬件設計 ................................................................ 錯誤 !未定義書簽。 系統(tǒng)設計框 圖 ................................................................................... 錯誤 !未定義書簽。 系統(tǒng)電路設計 .................................................................................... 錯誤 !未定義書簽。 供電電路 ........................................................................................... 錯誤 !未定義書簽。 聲音檢測電路 ................................................................................... 錯誤 !未定義書簽。 紅外避障基本原理 ........................................................................... 錯誤 !未定義書簽。 電機驅動電路 ................................................................................... 錯誤 !未定義書簽。 單片機最小系統(tǒng) ............................................................................... 錯誤 !未定義書簽。 第四章 程序設計 ....................................................................... 錯誤 !未定義書簽。 軟件調試平臺 ................................................................................... 錯誤 !未定義書簽。 程序邏輯流程圖 ..................................................................