1、论文编码:TP39 毕业设计论文毕业设计论文 基于行为设计的移动机器人设计与实现基于行为设计的移动机器人设计与实现 机器人机械设计模块机器人机械设计模块 Design and Implementation of Mobile Robot Based on Behavior Design Robot Mechanical Solutions I 摘要摘要 本文简要介绍了基于行为设计的移动机器人设计与实现-一种基于 Arduino 新型 集成开发环境的超声波避障小车的工作原理。其中包括对小车的执行组件、搭建结构、 传感器、Arduino 单片机软件编程及试验结果的介绍。 本方案以 Arduino
2、单片机为控制核心,基于蝙蝠超声波测距的原理,利用超声波传感 器,检测小车前方障碍物的距离,然后把数据传送给单片机。当超声波检测到距离小车前 方 25CM 有障碍物时单片机就发出指令让小车左转一定角度,然后停止行进继续探测.如 果前方 25CM 没有障碍物则直行,否则继续左转一定角度。如此通过超声波不断的循环检 测周边环境的情况进行自动避障。 本系统在硬件设计方面,以 Arduino 单片机为控制核心,以超声波传感器检测前方 障碍物,从而自动避障。在软件方面,利用 Arduino 语言进行编程,通过软件编程来控 制小车运转。该系统在驱动方面采用 L298N 驱动 2 个直流电机带动小车运行。并且
3、,用 PWM 系统调速,控制小车前进的速度。实现小车根据外部环境,做出前进、后退和转向等动 作,从而完成避障的功能,本设计具有有一定的实用价值。 关键词:关键词:Arduino 单片机;超声波传感器;避障 基于行为设计的移动机器人设计与实现 II ABSTRACT This paper describes the design of mobile robot behavior-based design and implement - A new ultrasound-based integrated development environment Arduino obstacle avoida
4、nce car works. These include the implementation of car components, building structures, sensors, Arduino microcontroller software programming and test results presentation. The program to Arduino microcontroller core, based on the principle of ultrasonic distance measurement bats using ultrasonic se
5、nsors to detect obstacles in front from the car, and then transmits the data to the microcontroller. When the ultrasonic distance in front of the car detects obstacles 25CM SCM issued a directive to make the car turn left on an angle, then continue probing stop traveling. If there is no obstacle in
6、front of the 25CM straight, turn left or continue certain angle. So the case of the ultrasonic continuous loop through the surrounding environment to automatically detect avoidance. The system hardware design to Arduino microcontroller core, with ultrasonic sensors detect obstacles in front, so that automatic obstacle avoidance. On the software side, the use of Arduino programming language to control the car running through software programming. The system uses the driver side L2