首页 实物资料 开题报告 设计说明书 答辩PPT

设计说明书

总字数:23000+

智能提醒药箱

摘要

在健康管理领域,药物储存环境的稳定性与服药的规律性直接影响用药安全与治疗效果。当前,普通药箱普遍缺乏温湿度调控功能,药物易因潮湿、高温变质;同时,中老年群体或慢性病患者常存在漏服、忘服药物的问题,且难以实时掌握药品余量,这些情况不仅降低治疗效果,还可能引发健康风险。此外,传统药箱功能单一,无法实现与用户的智能交互,难以满足现代健康管理的需求。因此,研发一款集药物存储保护、服药提醒、智能监测与交互功能于一体的智能提醒药箱具有重要实用价值。

本设计提出一种基于 STM32F103C8T6 单片机的智能提醒药箱。系统通过一个 DHT11 传感器监测药箱内部温湿度,温度过高时启动制冷继电器,湿度过高时触发加热与通风继电器,保障药物储存环境干燥稳定;借助按键可添加或删除服药提醒时间,到达预设时间后,CN-TTS 语音模块发出服药提醒,超半小时未服药则启动声光报警,同时 SG90 舵机自动打开药箱,红外避障管检测到药物放回后,10 秒内自动关闭药箱;触发 HX711 称重模块可实时检查药品余量;另一个DHT11 同步监测室内温湿度,温度较低时提醒添加衣物;ATGM332D-5N GPS 模块获取药箱位置;ESP8266-12F WiFi 模块将服药信息、药箱位置及服药数量同步至手机 APP;OLED 显示屏实时显示各项监测阈值与设置阈值。

该智能提醒药箱的作用在于,为用户提供了全方位的药物管理与健康辅助解决方案。通过精准的温湿度调控保障药物质量,智能服药提醒减少漏服风险,多维度监测与手机交互提升使用便捷性,助力用户养成规律服药习惯,保障用药安全,为家庭健康管理提供有力支持。

关键词:单片机;智能提醒药箱;温湿度调控;服药提醒;智能监测

Intelligent reminder medicine boxr

Abstract

In the field of health management, the stability of drug storage environment and the regularity of medication directly affect medication safety and treatment efficacy. Currently, ordinary medicine cabinets generally lack temperature and humidity control functions, and drugs are prone to spoilage due to humidity and high temperatures; At the same time, middle-aged and elderly people or chronic disease patients often have the problem of missing or forgetting to take medication, and it is difficult to keep track of the remaining amount of medication in real time. These situations not only reduce treatment effectiveness, but may also pose health risks. In addition, traditional medicine boxes have a single function and cannot achieve intelligent interaction with users, making it difficult to meet the needs of modern health management. Therefore, developing an intelligent reminder medicine box that integrates drug storage protection, medication reminder, intelligent monitoring, and interactive functions has important practical value.

This design proposes an intelligent reminder medicine box based on STM32F103C8T6 microcontroller. The system monitors the temperature and humidity inside the medicine box through a DHT11 sensor. When the temperature is too high, the refrigeration relay is activated, and when the humidity is too high, the heating and ventilation relay is triggered to ensure a dry and stable drug storage environment; With the help of buttons, medication reminder times can be added or deleted. When the preset time is reached, the CN-TTS voice module will issue medication reminders. If medication is not taken for more than half an hour, an audible and visual alarm will be triggered. At the same time, the SG90 servo will automatically open the medicine box. After the infrared obstacle avoidance tube detects that the medication is returned, the medicine box will automatically close within 10 seconds; Triggering the HX711 weighing module can check the remaining amount of drugs in real time; Another DHT11 synchronously monitors indoor temperature and humidity, and reminds to add clothes when the temperature is low; ATGM332D-5N GPS module obtains the location of the medicine box; The ESP8266-12F WiFi module synchronizes medication information, medication box location, and medication quantity to the mobile app; The OLED display screen displays real-time monitoring thresholds and set thresholds.

The function of this intelligent reminder medicine box is to provide users with comprehensive drug management and health assistance solutions. By precise temperature and humidity control to ensure drug quality, intelligent medication reminders to reduce the risk of missed doses, multi-dimensional monitoring and mobile interaction to improve user convenience, help users develop regular medication habits, ensure medication safety, and provide strong support for family health management.

Keywords:microcontroller; Intelligent reminder medicine box; Temperature and humidity regulation; Medication reminder; Intelligent Monitoring

目    录

1 绪论

1.1 研究背景及意义

1.2 国内外研究现状

1.3 主要内容

2 系统总体方案设计

2.1系统总体设计

2.2 主要模块方案选择

3 系统硬件设计

3.1 总体硬件框架

3.2 主控模块电路设计

3.3 温湿度检测模块电路设计

3.4 称重模块电路设计

3.5 语音模块电路设计

3.6 舵机模块电路设计

3.7 继电器模块电路设计

3.8 声光报警模块电路设计

3.9 红外避障模块电路设计

3.10 GPS 模块电路设计

3.11 WIFI 模块电路设计

3.12 显示模块电路设计

3.13 按键模块电路设计

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键子流程设计

4.4 OLED显示屏子流程设计

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

4.6 红外避障模块子流程设计

4.7 称重模块子流程设计

4.8 舵机子流程设计

4.9 语音播报模块子流程设计

4.10 GPS模块子流程设计

4.11 WiFi模块子流程设计

5 实物制作与功能测试

5.1 实物制作

5.2 药物防潮功能测试

5.3 服药提示功能测试

5.4 余量检查功能测试

5.5 室内环境监测与衣物提醒功能测试

5.6 GPS 定位与 WIFI 数据同步功能测试

5.7 OLED 显示与阈值设置功能测试

6 总结

参考文献

致谢

附录A   原理图

附录B   PCB

附录C   主程序

购买后可查看具体内容!

发表评论

后才能评论

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

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

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

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

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