基于STM32的便携式酒精浓度检测仪设计与实现

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于STM32的便携式酒精浓度检测仪设计与实现

论文作者姓名:

申请学位专业:测控技术与仪器

申请学位类别:工学学士

指导教师姓名(职称):

论文提交日期:

基于STM32的便携式酒精气体浓度检测仪设计与实现

摘要

近年来,随着我国经济快速发展,给人们也带来了很多利益。人们的生活和消费水平迅速提高,制造业也在快速地发展。现在,私家车对于很多人来说已经不再是奢侈品了。但是交通事故发生概率也大大增加了,尤其是由于酒后驾车而引起的。如果饮酒过多,会造成体内酒精浓度过高,给饮酒者带来不良的生理反应。例如,麻痹神经、肢体不受控制、大脑反应迟钝等等。所以,过量饮酒者开车是一件非常危险的事情,但是少量饮酒并不会有上述症状。因此,我们需要设计一个能够检测驾驶员体内酒精含量的智能仪器。目前,许多国家采用呼气酒精检测仪来检测驾驶员体内的酒精含量。在本课题中使用MQ-3气体传感器采集数据,经过STM32单片机处理,如果浓度值超过标准,系统将给予声光报警,并液晶显示浓度。

关键词:酒驾;MQ-3气体传感器;STM32单片机;酒精含量;声光报警

Design of Portable Alcohol Concentration Detection Instrument

Based on STM32

Abstract

In recent years, With the rapid development of China's economy , it has brought people a lot of benefits. People's life and consumption level increase rapidly, and manufacturing industry is also developing quickly. Now, the private car for a lot of people have is no longer a luxury. But the traffic accident probability has greatly increased, especially due to drunk driving. If excessive drinking, the alcohol concentration will raise in body, bring the adverse physiological responses to the drinkers. For example, nerve paralysis, body out of control, the slow response of the brain and so on. So, drive after excessive drinking is a very dangerous thing. But a small amount of alcohol does not have these symptoms. At present, in many countries, the breath alcohol detector is used to detect alcohol content in the driver's body. In this paper, the MQ-3 gas sensor is used to collect data, the data is processed through STM32 MCU. If the concentration exceeds the standard, the system will give sound and light alarm, and display concentration through liquid crystal monitor.

Key words: drunk driving; MQ-3 alcohol concentration sensor; STM32 MCU; alcohol content; sound and light alarm

目录

论文总页数:31页1 引言 (1)

1.1 课题研究背景及意义 (1)

1.2 国内外研究现状 (1)

1.3 课题研究思路 (2)

2 系统方案设计 (3)

2.1 技术指标 (3)

2.2 总体设计方案 (3)

3 硬件电路设计 (4)

3.1 元器件选择 (4)

3.1.1 酒精气体传感器 (4)

3.1.2 单片机介绍 (6)

3.1.3 充电芯片 (10)

3.1.4 低压差调节器 (12)

3.1.5 显示屏 (12)

3.2 主要功能模块电路图 (13)

3.2.1 充电及稳压电路模块 (13)

3.2.2 传感器及信号调理电路模块 (14)

3.2.3 声光报警电路模块 (14)

3.2.4 显示屏模块电路 (15)

3.3 硬件成品展示 (15)

4 软件编程设计 (16)

4.1 软件整体设计 (16)

4.1.1 整体设计方案 (16)

4.1.2 主程序流程图 (16)

4.1.3 主程序设计 (17)

4.2 数据采集模块程序设计 (18)

4.3 液晶显示模块程序设计 (19)

4.4 报警模块程序设计 (20)

4.5 A/D转换模块程序设计 (21)

5 系统调试 (22)

5.1 各模块调试 (22)

5.1.1 传感器测试 (22)

5.1.2 充电电路测试 (22)

5.1.3 报警电路测试 (23)

5.1.4 系统整体调试 (23)

5.2 调试结果分析 (23)

5.2.1 测试数据 (23)

5.2.2 误差分析 (23)

5.3 调试中的问题及解决方案 (24)

6 结论 (25)

参考文献 (26)

致谢 (27)

声明 (28)

附件 (29)

相关文档
最新文档