- 1、本文档共42页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要
随着人工智能和机器人工业的不断发展,人们对机器人的安全性及其所能实
现的功能提出了更高的要求。而超声波结合左右两侧红外避障机器人对上述的要
求提供了方法,由超声波结合红外自动识别前方和左右两侧的障碍物,通过反馈
回来的信息帮助机器人减速或者刹停,极大的提高了机器人的安全性。
本文研究了超声波以及红外避障的方法,介绍了超声波和红外在避障方面的
主要应用。这次设计主要是通过 STC89C52RC 单片机作为控制核心,单片机通过
接收超声波和红外反馈回来的信号来控制 L298N,通过 L298N 来间接改变直流电
机的转速从而达到控制机器人改变运动路线的目的,以此来实现智能避障功能的
实现。
本文着重介绍 STC89C52RC 的工作原理,以及超声波模块HC-SR04、红外
模块 E18-D80NK 的具体工作方法以及如何通过两组电机控制机器人的运动状态,
同时介绍 L298N 的逻辑以及相关原理。
关键词:单片机;超声波测距;红外测距;智能避障
Abstract
With the continuous development of artificial intelligence and robot industry,
people put forward higher requirements for the safety of robots and the functions they
can achieve. Ultrasonic combined with infrared obstacle avoidance robot on the left
and right sides provides a method for the above requirements. Ultrasonic combined
with infrared automatically identifies the obstacles in front and left and right sides,
and helps the robot to slow down or stop through the feedback information, which
greatly improves the safety of the robot.
In this paper, the methods of obstacle avoidance by ultrasound and infrared are
studied, and the main applications of ultrasound and infrared in obstacle avoidance
are introduced. This design is mainly based on STC89C53RC MCU as the control
core. MCU controls L298N by receiving the signals from ultrasonic and infrared
feedback, and indirectly changes the speed of DC motor through L298N to achieve
the purpose of controlling the car to change the movement route, so as to achieve the
realization of intelligent obstacle avoidance function.
This paper mainly introduces the working principle of STC89C52RC, the
concrete working methods of the ultrasonic module H
文档评论(0)