【正文】
江蘇理工學(xué)院畢業(yè)設(shè)計論文 基于藍牙遙控的多功能智能小車設(shè)計與制作學(xué)院名稱: 機械工程學(xué)院 專 業(yè): 機械電子工程 班 級: 09 機電 2Z 學(xué) 號: 09324234 姓 名: 祁星 指導(dǎo)教師姓名: 李尚榮 指導(dǎo)教師職稱: 講師 二零一三年六月一日JIANGSU UNIVERSITY OF TECHNOLOGY 本 科 畢 業(yè) 設(shè) 計 ( 論 文 )江蘇理工學(xué)院畢業(yè)設(shè)計論文I基于藍牙遙控的多功能智能小車設(shè)計與制作摘要:無線遙控的機器人小車在危險環(huán)境作業(yè)、人員搜集等應(yīng)用中可發(fā)揮特殊的作用。本次畢業(yè)設(shè)計選擇基于藍牙遙控的多功能智能小車為對象。設(shè)計了該系統(tǒng)的硬件電路原理圖和 PCB 圖,控制系統(tǒng)以 STC12C5A60S2 單片機為主控芯片,采用 L293D為電機驅(qū)動芯片、藍牙無線遙控模塊、紅外光電傳感器模塊、超聲波發(fā)射與接收模塊等構(gòu)成外圍擴展電路。將自制的控制電路、控制程序和四輪小車機械結(jié)構(gòu)相結(jié)合,制作多功能機器人小車。實驗調(diào)試實現(xiàn)了智能小車的藍牙無線遙控、自動避障、自動循跡、自動測速、自動測距等功能。關(guān)鍵詞:單片機 ;藍牙遙控 ;PWM 調(diào)速;光電傳感器江蘇理工學(xué)院畢業(yè)設(shè)計論文IIDevelopment of a smart remote control vehicle based on bluetooth municationAbstract: Wireless remote control robot car could play a special role in the hazardous environment operations and search amp。 rescue personnel. A multifunction smart car with bluetooth remote control is selected as my graduation thesis subject. The design of the system hardware circuit schematic and PCB diagram is present in paper. The control system circuit is mainly consist of a STC12C5A60S2 MCU as the main chip, as well as a L293D chip for motor driving, a bluetooth wireless munication module for remote control, a infrared photoelectric sensor module for object detection, a ultrasonic transmitter and receiver module for distance measurement. The smart car is implemented by the bination of the selfcontrol circuit, the control program code and fourwheel car mechanical structure. Experimental tests showed that some functions such as Bluetooth wireless remote control, automatic obstacle avoidance, automatic tracking route, autosensing objects and autodetecting distance were pletely achieved in the smart car.Keywords: Single Chip Microputer。 BlueTooth Remote control。 PWM Speed Regulation。 Optical Electronic Sensor江蘇理工學(xué)院畢業(yè)設(shè)計論文Ⅳ目錄第一章 前言 ..................................................1第二章 方案比較與論證 .........................................2 總體方案設(shè)計 ...............................................................................................................................................2 無線模塊設(shè)計 ...............................................................................................................................................3 顯示模塊設(shè)計 ...............................................................................................................................................3 測速模塊設(shè)計 ...............................................................................................................................................4 調(diào)速模塊設(shè)計 ...............................................................................................................................................6 循跡模塊設(shè)計 ...............................................................................................................................................7 避障模塊設(shè)計 ...............................................................................................................................................8第二章 智能車機結(jié)構(gòu)分析 ......................................9 底板設(shè)計 .......................................................................................................................................................9 電機與底板的連接支架設(shè)計 .....................................................................................................................10 整體裝配圖 .................................................................................................................................................11第四章 控制系統(tǒng)電路設(shè)計 .......................................12 MCU 的選型 ................................................................................................................................................12 電機驅(qū)動電路設(shè)計 .....................................................................................................................................14 顯示電路設(shè)計 ...........................................................................................................................................16 藍牙模塊設(shè)計 ...........................................................................................................................................18 電源電路設(shè)計 ...........................................................................................................................................20 PCB 圖設(shè)計 ...............................................................................................................................................21第五章 藍牙遙控小車程序設(shè)計 ...................................24 主程序設(shè)計 .................................................................................................................................................24 電腦端藍牙控制軟件的設(shè)置 .....................................................................................................................26 藍牙模塊參數(shù)設(shè)置 .....................................................................................................................................27江蘇理工學(xué)院畢業(yè)設(shè)計論文Ⅳ 超聲波測距程序設(shè)計 .................................................................................................................................28 超聲波避障程序設(shè)計 .................................................................................................................................29 紅外循跡程序設(shè)計 .....................................................................................................................................30第六章 調(diào)試結(jié)果分析 ...........................................31 各模塊功能調(diào)試 ........................................................................................................................................31 總結(jié) ..............................................................................................................................