蓝牙智能遥控小车毕业设计论文 - 图文 下载本文

江苏理工学院毕业设计论文

JIANGSU UNIVERSITY OF TECHNOLOGY

本科毕业设计(论文)

基于蓝牙遥控的多功能智能小车设计与制作

学院名称: 机械工程学院 专 业: 机械电子工程 班 级: 09机电2Z 学 号: 09324234 姓 名: 祁星 指导教师姓名: 李尚荣 指导教师职称: 讲师

二零一三年六月一日

江苏理工学院毕业设计论文

基于蓝牙遥控的多功能智能小车设计与制作

摘要:无线遥控的机器人小车在危险环境作业、人员搜集等应用中可发挥特殊的

作用。本次毕业设计选择基于蓝牙遥控的多功能智能小车为对象。设计了该系统的硬件电路原理图和PCB图,控制系统以STC12C5A60S2单片机为主控芯片,采用L293D为电机驱动芯片、蓝牙无线遥控模块、红外光电传感器模块、超声波发射与接收模块等构成外围扩展电路。将自制的控制电路、控制程序和四轮小车机械结构相结合,制作多功能机器人小车。实验调试实现了智能小车的蓝牙无线遥控、自动避障、自动循迹、自动测速、自动测距等功能。

关键词:单片机 ;蓝牙遥控 ;PWM调速;光电传感器

I

江苏理工学院毕业设计论文

Development of a smart remote control vehicle based on blue-tooth

communication

Abstract: Wireless remote control robot car could play a special role in the hazardous

environment operations and search & rescue personnel. A multi-function 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 communication 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 combination of the self-control circuit, the control program code and four-wheel car mechanical structure. Experimental tests showed that some functions such as Bluetooth wireless remote control, automatic obstacle avoidance, automatic tracking route, auto-sensing objects and auto-detecting distance were completely achieved in the smart car.

Keywords: Single Chip Microcomputer; Blue-Tooth Remote control; PWM Speed

Regulation; Optical Electronic Sensor

II

江苏理工学院毕业设计论文

目录

第一章

前言 .................................................. 1

第二章 方案比较与论证 ......................................... 2

2.1总体方案设计 .............................................................................................................................................. 2 2.2无线模块设计 .............................................................................................................................................. 3 2.3显示模块设计 .............................................................................................................................................. 3 2.4测速模块设计 .............................................................................................................................................. 4 2.5调速模块设计 .............................................................................................................................................. 6 2.6循迹模块设计 .............................................................................................................................................. 7 2.7避障模块设计 .............................................................................................................................................. 8

第二章 智能车机结构分析 ...................................... 9

3.1底板设计 ...................................................................................................................................................... 9 3.2 电机与底板的连接支架设计 .................................................................................................................... 10 3.3整体装配图 ................................................................................................................................................ 11

第四章 控制系统电路设计 ....................................... 12

4.1 MCU的选型 ............................................................................................................................................... 12 4.2 电机驱动电路设计 .................................................................................................................................... 14 4.3 显示电路设计 .......................................................................................................................................... 16 4.4 蓝牙模块设计 .......................................................................................................................................... 18 4.5 电源电路设计 .......................................................................................................................................... 20 4.6 PCB图设计 ............................................................................................................................................... 21

第五章 蓝牙遥控小车程序设计 ................................... 24

5.1主程序设计 ................................................................................................................................................ 24 5.2电脑端蓝牙控制软件的设置..................................................................................................................... 26 5.3蓝牙模块参数设置 .....................................................................................................................................27