实物链接:点击跳转

仿真链接:点击跳转

设计说明书:点击跳转

总字数:12700+

摘要

随着社会的发展,人们生活水平得到很大提高。但是在人们的生活发生火灾、爆炸或者一些危险的情况时,人们近距离面对这些问题,给人们的生命及其财产带来很大的威胁。为了可以远程非接触解决这些问题,此次设计一款可以自动循迹避障小车,该避障小车通过选择单片机STC89C52单片机作为此次设计的主控芯片,通过采用MX1508作为此次设计的直流电动机,通过单片机来产生不同的PWM波形,去控制小车运行的速度,然后通过红外对管检测小车在路面行驶的轨迹及其障碍物进行检测,并将检测的数据传输到单片机进行处理,通过单片机处理输出的信号控制小车的转向及其转速,从而使得小车可以自动避开障碍物从而达到正常行驶的目的,通过红外循迹模块对当前小车车轮左右距离黑线的距离进行实时监测,并控制小车的车轮在在黑线的范围之内,用户可以根据自己的需求选择不同的路径,解决不同路径不同循迹方式及其避障的功能,所以该设计是具有研究价值和现实意义的。

关键词:小车;自动循迹;自动避障;多路径

Abstract

With the development of society, people’s life has been improved more and more. However, people often encounter many problems in their lives. When a fire, explosion or some dangerous situations occur, people go to the distance to solve these problems, which brings a great threat to people’s lives and their properties. In order to solve these problems remotely and non-contact, a car that can automatically track and avoid obstacles is designed this time. The obstacle avoidance car selects STC89C52 microcontroller as the main control chip of this design, and uses L298N as the DC motor for this design. The user communicates with the Bluetooth and the microcontroller through the mobile phone. The user generates different PWM waveforms through the microcontroller through different instructions under the mobile phone to control the speed of the car, and then uses the infrared tube to detect the track and obstacles on the road. At the same time, the detected signal is transmitted to the single-chip microcomputer for processing, and the detected signal is judged and analyzed by the single-chip microcomputer to control the speed and steering of the car, so that the car can avoid obstacles and drive normally, and realize the purpose of automatic tracking. Therefore, the design has research value and practical significance.

Key words: car; automatic tracking; automatic obstacle avoidance; bluetooth module

目录

摘要

Abstract

1 绪论

1.1选题背景及实际意义

1.2国内外发展历程

1.3本文的组织结构

2 系统设计方案

2.1整体设计方案

2.2 主要模块方案旋转

2.1.1主控芯片方案选择

2.1.2 避障模块方案选择

3 硬件设计

3.1主控模块电路

3.1.1主控模块电路

3.1.2 晶振电路

3.1.3 复位电路

3.1.4 电源电路

3.2避障检测模块电路

3.3红外循迹模块电路

3.4 驱动模块电路

4 系统程序设计

4.1 编程软件介绍

4.2 主程序流程设计

4.3 按键函数流程设计

4.4 处理函数流程设计

4.5小车前进子函数流程设计

5  仿真测试

5.1整体仿真测试

5.2线路一循迹模式仿真测试

5.3线路二循迹模式仿真测试

6  实物测试

6.1实物总体设计

6.2小车不同路线循迹实物测试

6.3小车障碍物避障实物测试

7 结论

参考文献

致谢

附录

附录1:原理图

附录2:PCB

附录3:主程序

……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源