设计说明书
总字数:17000+
摘要
随着人们健康意识的提升,睡眠质量及呼吸健康监测愈发受到重视。传统的睡眠呼吸监测方式多依赖专业医疗设备,存在操作复杂、成本高昂、需专业人员值守等问题,难以满足家庭日常监测的需求,且无法实时预警异常状况,可能延误干预时机。
基于 STM32F103C8T6 单片机的智能睡眠呼吸监测系统,整合了 R60ABD1 传感器、MLX90614 温度传感器、3 个独立按键、OLED 显示屏、ESP8266 WiFi 模块及声光报警模块,实现了睡眠过程中人体生命体征的实时监测与智能预警。系统核心功能包括:通过 R60ABD1 检测人体存在、呼吸频率和心率;借助 MLX90614 测量用户体温;当呼吸率过高、心率过高或体温超出设定阈值时,触发声光报警提醒;支持通过 3 个按键设置各参数阈值;通过 OLED 显示屏实时显示测量数据;利用 ESP8266 WiFi 模块将数据传输至手机端,实现远程查看数据和设置参数。
该系统的实现,有效提升了睡眠呼吸监测的便捷性与实时性,为家庭健康监测提供了可靠手段,同时为医疗辅助诊断提供了参考数据,具有较高的实际应用价值。
关键词:STM32F103C8T6;智能睡眠监测;呼吸频率;心率;WiFi 传输
ABSTRACT
With the improvement of people’s health awareness, monitoring of sleep quality and respiratory health has attracted increasing attention. Traditional sleep breathing monitoring methods mostly rely on professional medical equipment, which have problems such as complex operation, high cost, and the need for professional staff on duty. They are difficult to meet the needs of daily family monitoring and cannot 预警 abnormal conditions in real time, which may delay intervention opportunities.
The intelligent sleep breathing monitoring system based on STM32F103C8T6 microcontroller integrates R60ABD1 sensor, MLX90614 temperature sensor, 3 independent buttons, OLED display module, ESP8266 WiFi module and acousto-optic alarm module, realizing real-time monitoring and intelligent early warning of human vital signs during sleep. The core functions of the system include: detecting human presence, respiratory rate and heart rate through R60ABD1; measuring the user’s body temperature with MLX90614; triggering acousto-optic alarm when respiratory rate is too high, heart rate is too high, or body temperature is outside the upper and lower thresholds; allowing threshold setting through 3 buttons; displaying measured data via OLED display module; transmitting detected data to mobile phone through ESP8266 WiFi module, enabling remote data viewing and parameter setting on the mobile phone.
The implementation of this system effectively improves the convenience and real-time performance of sleep breathing monitoring, provides a reliable means for family health monitoring, and also offers reference data for medical auxiliary diagnosis, with high practical application value.
Keywords:STM32F103C8T6; Intelligent sleep monitoring; Respiratory rate; Heart rate; WiFi transmission
目录
第 1 章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 呼吸心率传感器选择
2.1.3 温度传感器选择
2.1.4 显示模块选择
2.1.5 无线通信模块选择
2.1.6 按键模块选择
2.1.7 声光报警模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 R60ABD1 呼吸心率传感器电路
3.3 MLX90614 温度传感器电路
3.4 OLED 显示模块电路
3.5 ESP8266 WiFi 模块电路
3.6 按键模块电路
3.7 声光报警模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.6 WiFi模块子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 R60ABD1 呼吸心率传感器功能测试
5.3 MLX90614 温度传感器功能测试
5.4 声光报警功能测试
5.5 按键设置功能测试
5.6 OLED 显示功能测试
5.7 ESP8266WiFi 模块功能测试
第 6 章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!