PAGE V
MACROBUTTON MTEditEquationSection2 SEQ MTEqn \r \h SEQ MTSec \r 1 \h SEQ MTChap \r 1 \h 中文摘要
本文介绍了基于Arduino和Labview的无线遥控智能小车的设计与实现一种基于Arduino新型集成开发环境与labview图像化编程的无线智能小车的工作原理。其中包括对小车的总体方案、传感器介绍、小车的软件及硬件的介绍。
本设计方案采用arduino作为控制系统核心,主要由两个部分构成,上位机和智能小车部分。其中智能小车部分主要由以下子模块构成:arduino单片机、电源模块、电机驱动模块、循迹避障模块、蓝牙传输组成;上位机主要由labview编写,控制的相应功能。上位机labview与智能小车通过蓝牙进行通信。
采用直流电机作为后轮驱动,用脉宽调制技术(PWM)对直流电机进行控制以达到控制小车行驶速度的目的,用L298N驱动模块控制直流电机的旋转方向进而控制小车的前进和后退;用后部两轮的转动方向来控制小车灵活的向左或向右转向。
小车总共拥有两个模式。自主模式与遥控模式。自主模式下,小车利用所带的超声波模块与四路循迹模块实现自动避障以及循迹的功能。遥控模式下,可利用labview上位机控制小车的前进、后退、左转、右转以及调速的功能。
关键词:Arduino单片机Labview蓝牙 循迹
ABSTRACT
This paper introduces the design and implementation of wireless remote control intelligent car based on Arduino and Labview - a working principle of wireless intelligent car based on Arduino new integrated development environment and labview image programming. The project includes the car's overall program, sensor introductions, car software and hardware.
The design of the program which uses arduino as the core of the control system, is mainly composed of two parts, the host computer and intelligent car part. The intelligent car part is mainly composed of the following sub-modules: arduino single-chip, power module, motor drive module, tracking obstacle module, Bluetooth transmission composition; host computer is mainly prepared by the labview to control the corresponding function. The host computer labview communicates with the smart car via Bluetooth.
The DC motor is used as the rear wheel drive, and the DC motor is controlled by the pulse width modulation technology (PWM) to control the driving speed of the car. The driving mode of the DC motor is controlled by the L298N drive module to control the advance and backward of the car. The direction of the two rounds of rotation to control the car to the left or right flexible.
The car has a total of two modes. Autonomous mode and remote control mode. In the autonomous mode, the car use