news 2026/4/23 11:34:17

【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/4/23 12:59:06

【dz-1002】浴室环境监测

摘要 在现代家居生活中,浴室环境的舒适与安全对提升居住体验具有重要意义。传统的浴室管理依赖人工操作,存在温湿度调节不及时、空气质量把控滞后等问题,难以满足智能化家居的需求。​ 基于 STM32F103C8T6 单片机的浴室环境监测系统&#x…

作者头像 李华
网站建设 2026/4/23 12:55:10

突破AI应用通信瓶颈:高性能传输技术深度解析

突破AI应用通信瓶颈:高性能传输技术深度解析 【免费下载链接】open-webui Open WebUI 是一个可扩展、功能丰富且用户友好的自托管 WebUI,设计用于完全离线操作,支持各种大型语言模型(LLM)运行器,包括Ollama…

作者头像 李华
网站建设 2026/4/23 11:28:26

营销枢纽AI搭建独立站,是否可满足跨境与出海生意?

站点智能依托底层LTD营销枢纽云平台,已构建起多语言支持、全球访问保障、跨境支付对接、虚拟/实体产品销售适配等全栈能力,能够满足搭建面向全球用户的独立站并开展海外生意的核心需求。尽管部分海外营销辅助功能需借助第三方工具,但整体技术…

作者头像 李华
网站建设 2026/4/5 16:59:03

RevokeMsgPatcher终极使用指南:彻底解决微信消息撤回烦恼

RevokeMsgPatcher终极使用指南:彻底解决微信消息撤回烦恼 【免费下载链接】RevokeMsgPatcher :trollface: A hex editor for WeChat/QQ/TIM - PC版微信/QQ/TIM防撤回补丁(我已经看到了,撤回也没用了) 项目地址: https://gitcode…

作者头像 李华
网站建设 2026/4/23 12:58:21

3步搞定Dart Simple Live:一站式直播聚合神器

3步搞定Dart Simple Live:一站式直播聚合神器 【免费下载链接】dart_simple_live 简简单单的看直播 项目地址: https://gitcode.com/GitHub_Trending/da/dart_simple_live 还在为在不同直播平台间反复切换而头疼吗?Dart Simple Live(简…

作者头像 李华
网站建设 2026/4/22 22:58:35

文章类型、主题、作者简介对审稿结果有多大影响?

在学术、出版等领域,稿件的审稿结果至关重要,它决定了一篇文章能否顺利发表或通过审核。而文章类型、主题以及作者简介这三个因素,在审稿过程中都可能产生不可忽视的影响。文章类型的影响 不同的文章类型有着不同的规范和要求,这是…

作者头像 李华