项目编号:mcuclub-yq-013

仿真连接:点击跳转

51实物链接:点击跳转

32实物链接:点击跳转

32设计说明书链接:点击跳转

总字数:13000+

摘 要

近年来慢性阻塞性肺疾病等常见肺部疾病的患者人群比例持续增加,成为威胁人类健康的主要疾病之一,因此,研发一种测量精度和稳定性好、操作方便、价格便宜的肺活量仪,实现有关肺部病的早期筛查和诊断具有重要意义。本文主要围绕肺活量检测仪的软硬件开发及仪器的测量准确性和稳定性展开工作,主要内容包括:

1系统总体方案设计。从测量精度和稳定性好、价格低、操作方便等方面出发,确定传感器和主控芯片选型,设计出精度高、稳定性好的流量计,数据管理方案,以及交互界面方案。

  1. 系统硬件电路设计系统选择STM32单片机作为主控芯片。为保证测量精度和准确性,通过肺活量检测模块检测肺活量,通过语音播报模块播报测试的肺活量,通过一个按键可进行复位。
  2. 系统软件设计。软件设计主要包括下位机采集软件设计和上位机软件设计。上下位机通信采用串口进行。通过定上下位机通信协议,完成下位机采集软件的设计。上位机软件主要包括标定与测量模块、用户交互模块。

关键词:肺活量;STM32单片机;语音播报

Abstract

In recent years, the proportion of patients with chronic obstructive pulmonary disease and other common lung diseases continues to increase, becoming one of the major diseases threatening human health. Therefore, it is of great significance to develop a lung function instrument with good measurement accuracy and stability, convenient operation and cheap price, so as to realize the early screening and diagnosis of lung diseases. This paper mainly focuses on the hardware and software development of the lung function detector and the measurement accuracy and stability of the instrument. The main contents include:

  1. Design the overall system scheme. From the measurement accuracy and stability of good, low price, easy to operate and other aspects, determine the sensor and main control chip selection, design the high precision, good stability of the flow meter, data management program, and interactive interface program.
  2. The system hardware circuit design system selects STM32single chip microcomputer as the main control chip. In order to ensure the measurement accuracy and accuracy, the vital capacity detection module was used to detect the vital capacity, and the vital capacity of the test was broadcast through the voice broadcasting module. The reset could be performed by pressing a button.
  3. System software design. Software design mainly includes lower computer acquisition software design and upper computer software design. The communication between the upper and lower machines is carried out through serial ports. Through determining the communication protocol of the lower computer, the acquisition software of the lower computer is designed. The upper computer software mainly includes calibration and measurement module and user interaction module.

Keywords:vital capacity; STM32 MCU; Voice broadcasting

目录

摘 要 1

Abstract 2

1 引言 5

1.1 选题背景及实际意义 5

1.2 国内外发展历程 6

1.3 本论文研究目标与框架 7

2 系统设计方案 8

2.1  整体设计方案 8

2.2 主要元器件选择 8

2.2.1 主控芯片选择 8

2.2.2 显示模块方案选择 9

2.2.3 按键方案选择 9

3 硬件设计 11

3.1单片机最小系统 11

3.1.1 主控模块电路 11

3.1.2 晶振电路 12

3.1.3 复位电路 13

3.1.4 电源电路 14

3.1.5 下载电路 16

3.2 独立按键模块电路 17

3.3 肺活量检测模块 17

3.4 语音播报模块(TTS) 19

3.5 OLED显示模块电路 20

3.6蓝牙模块(ECB02) 21

4 系统程序设计 23

4.1 编程软件介绍 23

4.2 系统主流程设计 23

4.3 独立按键 25

4.4 OLED显示流程设计 25

4.5蓝牙模块子流程 26

5 实物制作与调试过程 28

5.1 电路焊接总图 28

5.2上电运行实物测试 28

5.2 肺活量检测实物测试 29

5.3 蓝牙模块实物测试 30

6 结论与展望 31

6.1 结论 31

6.2 展望 31

参考文献 33

致谢 34

附录 35

附录1:原理图 35

附录2:PCB 36

附录3:主程序 37

……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源