设计说明书
总字数:19000+
摘要
随着育儿观念的升级和双职工家庭的增多,婴儿监护的实时性与智能化对保障婴儿安全、减轻家长照护压力具有重要意义。传统的婴儿监护方式依赖家长频繁查看、经验判断,存在响应滞后、照护不及时等问题,难以满足现代家庭对精细化育儿的需求。
基于 STM32F103C8T6 单片机的婴儿监护装置,整合了液体监测模块 YS、声音监测模块、DS18B20 温度传感器、ESP8266 WiFi 模块、OLED 显示屏、按键、语音播报模块及执行设备(摇床、音乐播放器),实现了婴儿状态的多维度监测与智能响应。系统核心功能包括:通过 YS 模块检测婴儿尿床,触发语音播报 “婴儿尿床” 并向手机发送提示;借助声音监测模块识别婴儿哭泣,自动启动摇床和播放音乐,同步推送信息至手机;通过 DS18B20 检测婴儿体温,低于预设最小值时播报 “婴儿踢被” 并发送提醒;支持按键设置体温阈值、控制音乐和摇床;通过 OLED 显示屏实时显示体温、设备状态及设置参数;利用 ESP8266 模块实现手机端远程设置(体温阈值、音乐、摇床控制)与数据查看。
该系统的实现,有效提升了婴儿监护的实时性与智能化水平,减少了家长的人工干预,确保了对婴儿异常状态的及时响应,为家庭育儿提供了高效、可靠的解决方案,同时为同类婴儿监护设备的研发提供了参考,具有较高的实际应用价值。
关键词:STM32F103C8T6;婴儿监护;传感器;智能响应;WiFi 通信
ABSTRACT
With the upgrading of parenting concepts and the increase of dual-income families, the real-time and intelligence of infant monitoring are of great significance for ensuring infant safety and reducing parents’ care pressure. Traditional infant monitoring methods rely on parents’ frequent checks and empirical judgment, with problems such as delayed response and untimely care, which are difficult to meet the needs of modern families for refined parenting.
The infant monitoring device based on STM32F103C8T6 microcontroller integrates YS liquid monitoring module, sound monitoring module, DS18B20 temperature sensor, ESP8266 WiFi module, OLED display, buttons, voice broadcast module and executive devices (cradle, music player), realizing multi-dimensional monitoring and intelligent response of infant status. The core functions of the system include: detecting infant bed-wetting through YS module, triggering voice broadcast “Infant bed-wetting” and sending prompts to the mobile phone; identifying infant crying with the sound monitoring module, automatically starting the cradle and playing music, and synchronously pushing information to the mobile phone; detecting infant’s body temperature through DS18B20, broadcasting “Infant kicked off the quilt” and sending reminders when the temperature is lower than the preset minimum; supporting buttons to set temperature thresholds, control music and cradle; real-time display of body temperature, device status and setting parameters through OLED display; realizing remote setting (temperature threshold, music, cradle control) and data viewing on the mobile phone through ESP8266 module.
The implementation of this system effectively improves the real-time and intelligent level of infant monitoring, reduces parents’ manual intervention, ensures timely response to infants’ abnormal states, provides an efficient and reliable solution for family parenting, and also provides a reference for the research and development of similar infant monitoring equipment, with high practical application value.
Keywords:STM32F103C8T6; Infant monitoring; Sensor; Intelligent response; WiFi communication
目录
第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 WiFi 模块选择
2.1.7 显示模块选择
2.1.8 按键模块选择
2.1.9 音乐播放模块选择
2.1.10 摇床驱动模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 液体监测模块电路
3.3 声音监测模块电路
3.4 温度检测模块电路
3.5 按键模块电路
3.6 OLED 显示模块电路
3.7 WiFi 模块电路
3.8 语音播报模块电路
3.9 音乐播放模块电路
3.10 摇床驱动电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 步进电机子流程
4.6 温度检测模块子流程设计
4.7 MP3音乐播放模块子流程设计
4.8 ADC模数转换子流程设计
4.9 WiFi模块子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 液体监测模块功能测试
5.3 声音监测模块功能测试
5.4 温度检测模块功能测试
5.5 WiFi 模块远程控制功能测试
5.6 执行设备功能测试
5.7 按键设置与显示功能测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!