当前位置:首页 > 基于单片机的智能小车 毕业论文 - 图文
本科毕业设计(论文基于单片机的智能小车控制
专 业: 测控技术与仪器 姓 名: 咸蛋小超人
2013年 6 月
)
江苏理工学院毕业论文(说明书)
基于单片机的智能小车控制
摘要:智能化作为现代电子产品的新趋势,是今后的电子产业的发展方向。
智能化设计的电子产品可以按照预先设定的模式在一个环境里自动运作,不需要人为的管理,可应用于科学勘探、环境监测、智能家居等方面。基于单片机的智能小车控制就是其中的一个体现。本设计实现了一种基于51单片机的自动避障智能模型车系统,通过红外传感器采集路况信息,通过对检测信息的分析,自动控制转向电机转向,改变行驶路径,绕过障碍物,从而实现车稳定避障。
本课题设计的智能小车,具有自动避障功能,超声波测距报警,无线电遥控等功能。
关键词:智能车;51单片机;避障;红外线
Smart car based on SCM control
Abstract:As a new trend of modern electronic products, intelligent is the developmental direction of electronic industry after then. Electronic products, which are intelligently designed, can automatically operate following the mode that is pre-set. Without the management of human beings, it can be used for scientific exploring, environmental monitoring, intelligent home furnishing, etc. One of the embodiments is the intelligent control car which is based on single chip microcomputer. In the design, an intelligent model car system based on MCU 51 has been realized. It can collect traffic information with infrared sensors. Meanwhile, by the analysis of information examined, it can transfer from automatic control to motor steering in order to change the route and dodge the obstacles so that the steady avoidance of the barrier can come true. In this paper, a car with the ability of intelligent judgment has been designed and made. It functions as the device which can dodge obstacles automatically, alarm with ultrasonic distance examination, and remote control by radio.
Key words: Smart Cart;Single-chip 51;Obstacle Avoidance;Infrared
I
江苏理工学院毕业论文(说明书)
目 录
序 言 ......................................................................................................... 错误!未定义书签。
第1章 总体设计方案 ...................................................................... 错误!未定义书签。
1.1课题任务分析 ............................................................................ 错误!未定义书签。 1.2 方案论证 .................................................................................... 错误!未定义书签。
1.2.1小车遥控部分 ................................................................. 错误!未定义书签。 1.2.2小车驱动部分 ................................................................. 错误!未定义书签。
第2章 系统硬件构成 ...................................................................... 错误!未定义书签。
2.1系统设计原理 ............................................................................. 错误!未定义书签。 2.2主要元器件简介 ......................................................................... 错误!未定义书签。
2.2.1 STC89C52RC简介 ........................................................ 错误!未定义书签。 2.2.2 NRF24L01无线收发芯片简介 ................................. 错误!未定义书签。 2.2.3 L298N芯片直流电机驱动模块 ............................... 错误!未定义书签。 2.2.4 红外避障模块 ................................................................ 错误!未定义书签。 2.2.5 HC-SR04超声波测距模块 .......................................... 错误!未定义书签。 2.2.6 蜂鸣器驱动电路 ........................................................... 错误!未定义书签。 2.2.7 液晶显示电路 ................................................................ 错误!未定义书签。 2.2.8遥控部分独立按键电路 ............................................... 错误!未定义书签。
第3章 软件的设计与说明 ........................................................... 错误!未定义书签。
3.1软件设计 ...................................................................................... 错误!未定义书签。 3.2软件的说明 .................................................................................. 错误!未定义书签。
3.2.1 遥控部分主程序流程 .................................................. 错误!未定义书签。 3.2.2 24L01子程序流程图 ................................................... 错误!未定义书签。 3.2.3 小车部分主程序流程图 ............................................. 错误!未定义书签。
第4章 调试与总结 ........................................................................... 错误!未定义书签。
4.1硬件部分 ...................................................................................... 错误!未定义书签。
4.1.1硬件的焊接 ..................................................................... 错误!未定义书签。
II
江苏理工学院毕业论文(说明书)
4.1.2 24L01无线电模块 ........................................................ 错误!未定义书签。 4.1.3 外接电源模块 ................................................................ 错误!未定义书签。 4.2 软件部分 ..................................................................................... 错误!未定义书签。
4.2.1 超声波模块 .................................................................... 错误!未定义书签。 4.3 小车联调 ..................................................................................... 错误!未定义书签。 4.4 调试的总结 ................................................................................................................. 21
参考文献 ................................................................................................................................... 22 致 谢 ........................................................................................................................................... 23 附录 .............................................................................................................................................. 24
附件1 L298N电机驱动模块 ........................................................................................ 24 附件2 小车侧视图 ........................................................................................................... 25 附件3 小车俯视图 ........................................................................................................... 26 附件4 小车的遥控部分 .................................................................................................. 27 附件5 小车最终硬件图 .................................................................................................. 28 附件6 程序清单................................................................................................................ 29
1.遥控部分程序 ......................................................................................................... 29 2.小车部分程序 ......................................................................................................... 38 附件7 元器件清单 ........................................................................................................... 48 附件8 英文资料及中文翻译 .......................................................................................... 49
III
共分享92篇相关文档