一种基于STM32的智能消防小车的设计
一种基于STM32的智能消防小车的设计(论文12000字)
摘要:在目前,国内火灾事件频发,消防问题日益显著,尤其是在重点消防单位,需要投入大量的人力和物力才能做好消防工作,浪费许多人力资源,因此,智能消防小车的作用越来越明显,可节约大量人力资源,而且高效准确,将火灾消灭于零星之火。本文首先阐述了智能消防小车需要的技术,以及国内外技术的研究现历史与现状,然后阐述了本文的设计方案,论证了设计方案的可行性以及其优点,接着对本设计的硬件设计和软件程序设计流程进行分析,最后进行软硬件调试,实现了一款智能消防小车。
关键词:消防;智能小车;火源定位
A smart fire truck based on STM32
Abstract: At present, domestic fire incidents occur frequently, and fire protection problems are becoming more and more obvious. Especially in key fire control units, it is necessary to invest a lot of manpower and material resources to do fire work and waste a lot of human resources. Therefore, the role of intelligent fire fighting vehicles is more and more obvious. It can save a lot of human resources, and it is efficient and accurate, and extinguishes the fire in sporadic fires. This paper first expounds the technology needed for intelligent fire-fighting cars, as well as the current history and current situation of domestic and foreign technology research, then expounds the design of this paper, demonstrates the feasibility of the design and its advantages, and then the hardware design and software program of the design. The design process was analyzed, and finally the software and hardware debugging was carried out to realize a smart fire truck. [资料来源:http://www.doc163.com]
Key words:Firefighting; Smart car; Fire source positioning
[资料来源:http://Doc163.com]
目录
1引言 5
1.1研究意义 5
1.2研究现状 5
1.2.1火源探测技术的国内外研究现状 5
1.2.2自动避障的国内外研究现状 6
1.2.3电机驱动以及电源的国内外研究现状 6
1.3本文工作内容 6
2 设计方案论证 7
2.1设计目的 7
2.2本设计的技术方案 7
2.2.1单片机主控芯片的选择 8
2.2.2电机的选择 9 [版权所有:http://DOC163.com]
2.2.3电机驱动模块 10
2.2.4红外避障模块 10
2.2.5火源检测模块 10
2.2.6舵机云台 10
2.2.7超声波模块 10
2.3本设计的优点和效果 11
3 系统的硬件设计与实现 11
3.1硬件概述 11
3.2电源电路 13
3.3按键电路 14
3.4超声波模块 14
3.5 SG90舵机接口电路 15
3.6电机驱动电路 15
3.7转接板电路 16
3.8红外避障电路 17
3.9火焰探测传感器 17
3.10复位电路 18
3.11时钟源晶振电路 19
4 程序设计 20
4.1主程序设计 20
4.2 电机驱动程序 23
4.3舵机云台程序 26
4.4超声波传测距程序 27
4.5障碍检测程序 29
4.6火源检测程序 30
5 软硬件调试 33
5.1软件调试 33
5.2 硬件调试 34
5.2.1 火焰探测器传感器调试 34
参考文献: 37
致谢 39