机电毕业论文:基于C89C52单片机的循迹小车设计含毕业论文、PCB电路图
![基于C89C52单片机的蓝牙循迹小车设计[毕业论文+PCB电路图]](https://www.chilunren.com/wp-content/uploads/2021/02/1614180665-捕获.jpg)
基于C89C52单片机的蓝牙循迹小车设计[毕业论文+PCB电路图]
![基于C89C52单片机的蓝牙循迹小车设计[毕业论文+PCB电路图]](https://www.chilunren.com/wp-content/uploads/2021/02/1614180665-1111.jpg)
摘要
本毕业设计是做基于单片机的循迹小车。循迹小车是全面模拟人寻路的智能机械系统,使用红外对管模块检测黑线,并以STC89C52单片机为控制芯片掌管循迹小汽车的速率及转向,从而实现自动循迹的功能。智能小车具有识别、判断等智能机制;感知和智能化结合在一起,可在非特定环境下工作,如家居清洁机器人等方面具有广阔的应用前景。基于STC89C52单片机的智能循迹小车能沿黑色指引导线前进;用12864液晶显示器显示运动状态。此外还扩展了在安卓手机上安装一个应用程序与hc06蓝牙通讯模块通讯以控制小车。[1]
首先详细介绍了循迹小车硬件系统的设计。系统主控制回路采用了STC89C52单片机,该单片机支持使用C语言编程。系统硬件包括单片机最小系统,稳压电源模块,寻迹传感器模块,HC06蓝牙从模块、电机驱动模块以及12864液晶显示模块.其次对小车的软件流程进行了详细的描述,软件主要为循迹模块 ,显示模块。Hc06蓝牙从模块。最后通过仿真调试和小车的运行,所有要求的功能都满足要求。
关键词:STC89C52单片机,L298N,12864液晶显示器,红外对管循迹模块,Hc06蓝牙从模块
The tracking car which based on MCU
Abstract
tracking car is fully simulate the human machine way finding system , using infrared module detects the black line on the tube , and STC89C52 microcontroller to control the speed of the car tracking chip control and steering , enabling automatic tracking function. Smart car with recognition, judgment intelligent mechanisms; perception and intelligence can be combined to work in a non- specific environments, such as home cleaning robots and other aspects have broad application prospects. STC89C52 microcontroller -based intelligent tracking car can move forward along the black wire guidance ; 12864 LCD display state of motion. It also extends to install an application with the hc06 Bluetooth communication module communication on the Android phone to control the car.
First details of the design of the car tracking hardware system . The main control loop system using AT89S52 microcontroller, the microcontroller supports the use of the C programming language . Minimum system hardware including single-chip systems, power modules, tracking sensor module , Bluetooth module , motor drive module and LCD module .Secondly, the car 's software processes are described in detail , the software mainly for tracking module, display module . Hc06 Bluetooth from the module. Finally, the simulation debug and run the car , all the required functions to meet the requirements
Keywords: tracking car, AT89S52 microcontroller, L298N, 12864 LCD display, Infrared tracking module on the tube, Hc06 from the Bluetooth module
目录
摘要 I
Abstract. II
第一章 绪论 1
1.1 选题的依据及意义 1
1.2 课题研究现状及发展展望 1
1.3 基本要求 2
1.4主要研究内容 2
第二章 系统硬件设计 3
2.1 系统硬件总体设计 3
2.2 器件选择及简介 3
2.2.1 单片机 3
2.3 电源电路 6
2.4晶振电路 6
2.5复位电路 6
2.6 电机驱动电路 7
2.7 循迹电路 7
第三章 系统软件设计 9
3.1 主程序设计 9
3.2循迹子程序设计 9
3.3 蓝牙控制子程序设计 10
第四章 结 论 11
参考文献(References) 12
第五章 致谢 13
附录 14