资源描述:
《毕业论文范文——基于arduino的智能小车的设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、基于arduino的智能避障小车的设计基于arduino的智能小车的设计摘要本文简要介绍了基于智能轮式移动机器人智能避障设计与实现----一种基于Arduino新型集成开发环境的超声波避障小车的工作原理。其中包括对小车的执行组件、搭建结构、传感器、Arduino单片机软件编程及试验结果的介绍。本方案以Arduino单片机为控制核心,基于蝙蝠超声波测距的原理,利用超声波传感器,检测小车前方障碍物的距离,然后把数据传送给单片机。当超声波检测到距离小车前方25CM有障碍物时单片机就发出指令让小车左转一定角度,然后停止行进继续探测.如果前方25CM没有障碍物则直行,否则继续左转一定角度。如
2、此通过超声波不断的循环检测周边环境的情况进行自动避障。本系统在硬件设计方面,以Arduino单片机为控制核心,以超声波传感器检测前方障碍物,从而自动避障。在软件方面,利用Arduino语言进行编程,通过软件编程来控制小车运转。该系统在驱动方面采用L298N驱动2个直流电机带动小车运行。并且,用PWM系统调速,控制小车前进的速度。实现小车根据外部环境,做出前进、后退和转向等动作,从而完成避障的功能,本设计具有有一定的实用价值。关键词:Arduino单片机;超声波传感器;避障55基于arduino的智能小车的设计AbstractThispaperdescribesthedesignof
3、mobilerobotbehavior-baseddesignandimplement----Anewultrasound-basedintegrateddevelopmentenvironmentArduinoobstacleavoidancecarworks.Theseincludetheimplementationofcarcomponents,buildingstructures,sensors,Arduinomicrocontrollersoftwareprogrammingandtestresultspresentation.TheprogramtoArduinomic
4、rocontrollercore,basedontheprincipleofultrasonicdistancemeasurementbatsusingultrasonicsensorstodetectobstaclesinfrontfromthecar,andthentransmitsthedatatothemicrocontroller.Whentheultrasonicdistanceinfrontofthecardetectsobstacles25CMSCMissuedadirectivetomakethecarturnleftonanangle,thencontinuep
5、robingstoptraveling.Ifthereisnoobstacleinfrontofthe25CMstraight,turnleftorcontinuecertainangle.Sothecaseoftheultrasoniccontinuousloopthroughthesurroundingenvironmenttoautomaticallydetectavoidance.ThesystemhardwaredesigntoArduinomicrocontrollercore,withultrasonicsensorsdetectobstaclesinfront,so
6、thatautomaticobstacleavoidance.Onthesoftwareside,theuseofArduinoprogramminglanguagetocontrolthecarrunningthroughsoftwareprogramming.ThesystemusesthedriversideL298NdrivetwoDCmotorsdrivethecarrunning.And,withthePWMsystemspeed,speedcontrolcarforward.Realizethecaraccordingtotheexternalenvironment,
7、madeforward,backward,andsteeringmovements,thuscompletingtheobstacleavoidancefunction,thedesignhasacertainpracticalvalue.Keywords:Arduino;ultrasonicsensors;obstacleavoidance55基于arduino的智能小车的设计目录摘要1Abstract2第一章绪论51.1、论文的选题背景51.2、Arduino单片