设计说明书
总字数:10000+
此次设计的基于单片机的酒精监测的报价系统采用STM32作为主控芯片,主要为了防止驾驶人员酒驾,该设计采用模块化的思想进行设计,该设计通过软件配合硬件进行设计,硬件设计:采用酒精监测模块监测当前驾驶人员酒精含量;通过GPS定位模块获取当前酒驾人员当前的位置;监测到酒精浓度大于设置的最大值,采用GSM发送当前定位到管理人员的手机上;酒精浓度大于设置最大值进行声光报警,软件设计:采用Keil5进行程序的编程和调试。经过实物测试,此次设计可以实现对当前驾驶人员是否酒驾进行实时监测和处理,监测到当前驾驶人员酒精含量大于设置的最大值,发送短信进行声光报警提醒,从而实现交警对当前驾驶人员酒驾后驾驶的车辆,方便了交警进行执法,可以解决现实社会实际存在的问题,因此具有一定的研究价值和实际意义。
关键词:酒后驾车;酒精检测;智能管理;GSM
This design based on the single-chip alcohol monitoring quotation system using STM32 as the main control chip, mainly in order to prevent drivers drunk driving, the design uses the idea of modularity design, the design through software and hardware design, hardware design: alcohol monitoring module monitoring the current driver alcohol content; Obtain the current location of the drunk driver through GPS positioning module; If the alcohol concentration is detected to be greater than the set maximum, the current location will be sent to the manager’s mobile phone using GSM; Alcohol concentration is greater than the set maximum for sound and light alarm, software design: Keil5 program programming and debugging. After the physical test, the design can realize real-time monitoring and processing of whether the current driver drunk driving, monitoring the alcohol content of the current driver is greater than the maximum value set, send text messages for sound and light alarm reminder, so as to realize the traffic police on the current driver drunk driving after driving vehicles, convenient traffic police law enforcement, can solve the actual social problems. Therefore, it has certain research value and practical significance.
Key words: Drunk driving;Alcohol detection;Intelligent management;GSM
目 次
摘 要
Abstract
1 引言
1.1 课题研究的意义和背景
1.2 系统总体设计思路
1.3 课题研究的主要内容和工作
2 整体硬件的设计与实现
2.1 系统整体结构
2.2 方案论证与比较
2.2.1 主控芯片选择
2.2.2 定位模块方案
2.2.3 酒精检测方案
2.2.4 显示方案
2.2.5 无线传输模块方案
2.3 具体硬件设计
2.3.1 STM32F103C8T6主控模块电路
2.3.2 酒精检测电路设计
2.3.3 定位模块检测电路
2.3.4 显示电路设计
2.3.5 GSM短信发送模块电路
2.3.6 继电器模块
2.3.7 声光报警电路设计
3 软件设计
3.1 编程软件介绍
3.2 系统主流程设计
3.3 按键模块子程序设计
3.4 检测模块子程序设计
3.5显示模块子程序设计
3.6 GSM模块子程序设计
4实物制作过程
4.1 PCB板的制作流程
4.2 调试过程
4.2.1硬件调试
4.2.2软件调试
4.3实物功能测试
4.3.1 酒驾检测实物测试
5 检测结果
6 结论
致 谢
参考文献
附录1 :硬件原理图
附录2:硬件PCB图
附录3:实物图
附录4:部分源程序
附录C:主程序
购买后可查看具体内容!