news 2026/2/22 9:01:21

【dz-1001】婴儿床监测系统

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
【dz-1001】婴儿床监测系统

摘要

在婴幼儿照护领域,为婴儿提供安全、舒适的环境对其健康成长至关重要。传统的人工照护方式不仅依赖看护者的经验与警觉性,还存在响应滞后、照护不及时等问题,难以满足现代家庭对精细化、智能化婴幼儿照护的需求。​

基于 STM32F103C8T6 单片机的婴儿床监测系统,整合了 SY 声贝传感器、DHT11 温湿度检测模块、YS 液体检测模块、BZ 红外传感器、GP2Y10 粉尘传感器、3 个独立按键、OLED 显示屏、JQ6500 音乐播放模块、ECB02 蓝牙模块及执行设备(加热片、风扇、加湿器、净化器、摇床装置等),实现了婴儿床周围环境及婴儿状态的全方位监测与智能响应。系统核心功能包括:通过 SY 声贝传感器检测婴儿啼哭,当声音大于最大值时,JQ6500 音乐播放模块自动播放音乐,摇床装置启动摇晃婴儿床,并通过蓝牙发送婴儿啼哭提示;借助 DHT11 温湿度检测模块监测环境温湿度,当温度异常时控制加热片或风扇进行加热或降温,湿度异常时通过加湿器或风扇进行加湿或除湿;利用 YS 液体检测模块检测婴儿是否尿床,当湿度大于最大值时,通过蓝牙发送提示信息;通过 BZ 红外传感器检测婴儿是否在床上做起或站立,若有则通过蓝牙发送提示;通过 GP2Y10 粉尘传感器检测婴儿周围 PM2.5 含量,超过阈值时开启净化器,并通过蓝牙发送提示;支持通过 3 个独立按键设置温湿度上下限、声音最大值、湿度最大值,以及手动控制播放音乐、加热、降温、加湿、除湿、摇床;通过 OLED 显示屏实时显示各项测量值;利用 ECB02 蓝牙模块将数据传输至手机端,也可在手机端设置温湿度阈值、声音最大值、液位最大值。​

该系统的实现,有效提升了婴儿照护的自动化与智能化水平,减少了人工干预,确保能及时响应婴儿的各种需求,为婴儿营造安全舒适的环境,为家庭照护者提供了高效、可靠的辅助工具,同时为同类婴幼儿照护设备的研发提供了参考,具有较高的实际应用价值。​

关键词:STM32F103C8T6;婴儿床;监测系统;传感器;智能响应;蓝牙通信

ABSTRACT

In the field of infant care, providing a safe and comfortable environment for infants is crucial to their healthy growth. Traditional manual care methods not only rely on the experience and alertness of caregivers but also have problems such as delayed response and untimely care, which are difficult to meet the needs of modern families for refined and intelligent infant care.​

The baby crib monitoring system based on the STM32F103C8T6 microcontroller integrates SY sound sensor, DHT11 temperature and humidity detection module, YS liquid detection module, BZ infrared sensor, GP2Y10 dust sensor, 3 independent buttons, OLED display, JQ6500 music player module, ECB02 Bluetooth module and executive devices (heating sheet, fan, humidifier, purifier, crib shaking device, etc.), realizing comprehensive monitoring and intelligent response of the environment around the baby crib and the baby's state. The core functions of the system include: detecting the baby's cry through the SY sound sensor, when the sound is greater than the maximum value, the JQ6500 music player module automatically plays music, the crib shaking device starts to shake the baby crib, and sends a baby cry prompt through Bluetooth; monitoring the ambient temperature and humidity with the DHT11 temperature and humidity detection module, controlling the heating sheet or fan for heating or cooling when the temperature is abnormal, and using the humidifier or fan for humidification or dehumidification when the humidity is abnormal; detecting whether the baby wets the bed with the YS liquid detection module, and sending a prompt message through Bluetooth when the humidity is greater than the maximum value; detecting whether the baby sits up or stands on the bed through the BZ infrared sensor, and sending a prompt through Bluetooth if so; detecting the PM2.5 content around the baby through the GP2Y10 dust sensor, turning on the purifier when it exceeds the threshold, and sending a prompt through Bluetooth; supporting the setting of temperature and humidity upper and lower limits, maximum sound value, maximum humidity value through 3 independent buttons, as well as manual control of music playback, heating, cooling, humidification, dehumidification, and crib shaking; real-time display of various measured values through the OLED display; transmitting data to the mobile phone through the ECB02 Bluetooth module, and also setting temperature and humidity thresholds, maximum sound value, and maximum liquid level on the mobile phone.​

The implementation of this system effectively improves the automation and intelligence level of infant care, reduces manual intervention, ensures timely response to various needs of infants, creates a safe and comfortable environment for infants, provides an efficient and reliable auxiliary tool for family caregivers, and also provides a reference for the research and development of similar infant care equipment, with high practical application value.​

Keywords:STM32F103C8T6; Baby crib; Monitoring system; Sensor; Intelligent response; Bluetooth 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 粉尘传感器选择

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 粉尘传感器电路

3.7 音乐播放模块电路

3.8 显示模块电路

3.9 蓝牙模块电路

3.10 按键模块电路

3.11 执行设备驱动电路

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 OLED显示流程设计

4.5 蓝牙模块子流程

4.6 ADC模数转换子流程设计

4.7 温湿度检测模块子流程设计

第 5 章 实物测试

5.1 整体实物测试

5.2 声贝传感器功能测试

5.3 温湿度检测模块功能测试

5.4 液体检测模块功能测试

5.5 红外传感器功能测试

5.6 粉尘传感器功能测试

5.7 蓝牙模块功能测试

5.8 按键设置与显示功能测试

第 6 章 总结与展望

6.1 总结

6.2 展望

致谢

参考文献

附录

附录一:原理图

附录二:PCB

附录三:主程序

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/2/8 16:44:36

GitStats全面指南:解锁Git仓库深度分析的神奇工具

GitStats全面指南:解锁Git仓库深度分析的神奇工具 【免费下载链接】git_stats GitStats is a git repository statistics generator. 项目地址: https://gitcode.com/gh_mirrors/gi/git_stats 你是否曾经好奇过自己的Git仓库里到底发生了什么?&am…

作者头像 李华
网站建设 2026/2/18 20:37:00

【学术干货 | 学术海报Poster模板分享】科研成果展示 | 参加国际学术会议海报制作(poster)模板 | 学术会议海报参考 | 附赠90+会议poster模板 | 免费资源 | 免费下载

学术海报(Poster)模板的适用人群广泛,主要服务于需要以可视化形式展示研究成果的学术或专业场景: 人群核心需求模板设计侧重点本科生首次接触学术展示,需清晰引导简化结构、增加示例注释、基础图表模板硕士/博士生展示…

作者头像 李华
网站建设 2026/2/22 3:07:55

突破数据壁垒:AppFlowy分布式同步技术的革命性实践

突破数据壁垒:AppFlowy分布式同步技术的革命性实践 【免费下载链接】AppFlowy AppFlowy 是 Notion 的一个开源替代品。您完全掌控您的数据和定制化需求。该产品基于Flutter和Rust构建而成。 项目地址: https://gitcode.com/GitHub_Trending/ap/AppFlowy 你是…

作者头像 李华
网站建设 2026/2/16 14:30:27

5分钟快速上手:Masa全家桶模组中文界面完整配置指南

5分钟快速上手:Masa全家桶模组中文界面完整配置指南 【免费下载链接】masa-mods-chinese 一个masa mods的汉化资源包 项目地址: https://gitcode.com/gh_mirrors/ma/masa-mods-chinese 还在为Masa系列模组的英文界面而烦恼吗?每次使用itemscrolle…

作者头像 李华
网站建设 2026/2/15 13:46:56

HumanML3D深度解析:构建3D人体运动语言数据集的技术实践

HumanML3D深度解析:构建3D人体运动语言数据集的技术实践 【免费下载链接】HumanML3D HumanML3D: A large and diverse 3d human motion-language dataset. 项目地址: https://gitcode.com/gh_mirrors/hu/HumanML3D 在人工智能和计算机视觉领域,3D…

作者头像 李华