2026/5/18 0:40:31
网站建设
项目流程
iis 子网站,wordpress 后台action,网络游戏排行榜前十名大型网络游戏,简约 时尚 高端 网站建设摘 要 日常生活中#xff0c;按时服药对治疗和康复至关重要#xff0c;特别是老年人或慢性病患者。但记忆力下降或生活忙碌常导致忘记服药或混淆药品。因此#xff0c;设计一款智能多功能储药箱具有重要意义。 本设计以STM32F103C8T6单片机为控制合作#xff0c;通过RTC获…摘 要日常生活中按时服药对治疗和康复至关重要特别是老年人或慢性病患者。但记忆力下降或生活忙碌常导致忘记服药或混淆药品。因此设计一款智能多功能储药箱具有重要意义。本设计以STM32F103C8T6单片机为控制合作通过RTC获取实时时间通过手机配置5组吃药时间、药品种类和数量通过光敏电阻检测药箱内光照值当光照低于设定最小值时自动开启补光灯通过DHT11检测药箱内温湿度当湿度高于设定最大值时进行除湿温度高于设定最大值时自动控制制冷片打开通过OLED显示测量数据吃药时间到后显示吃药种类和数量关闭药箱后恢复显示测量数据通过WIFI模块将监测数据发送到手机端并可在手机端设置吃药时间和种类。测试结果表明该系统运行稳定能够准确提醒用户按时服药有效避免了因忘记服药或混淆药品种类和剂量而导致的问题为老年人或患有慢性疾病的人群提供了极大的便利。关键词 储药箱单片机传感器WiFi远程控制AbstractIn daily life, taking medication on time is crucial for treatment and rehabilitation, especially for elderly or chronic disease patients. But memory decline or busy life often leads to forgetting to take medication or confusing drugs. Therefore, designing an intelligent multifunctional medicine storage box is of great significance.This design is controlled by the STM32F103C8T6 microcontroller and utilizes RTC to obtain real-time time; Configure 5 sets of medication times, types, and quantities through mobile phones; Detect the light level inside the medicine box through a photoresistor, and automatically turn on the supplementary light when the light level is below the set minimum value; By using DHT11 to detect the temperature and humidity inside the medicine box, dehumidification is carried out when the humidity is higher than the set maximum value. When the temperature is higher than the set maximum value, the refrigeration unit is automatically controlled to turn on; Display measurement data through OLED, display the type and quantity of medication after the medication time is up, and restore the display of measurement data after closing the medicine box; Send monitoring data to the mobile phone through the WIFI module, and set the medication time and type on the mobile phone.The test results show that the system runs stably and can accurately remind users to take medication on time, effectively avoiding problems caused by forgetting to take medication or confusing the types and doses of drugs, providing great convenience for the elderly or people with chronic diseases.Keywordsmedicine storage box; singlechip; Sensors; WiFi; Remote control目 录摘 要Abstract1 绪论1.1 研究背景及研究意义1.2 国内外发展现状1.3 本系统的主要功能2 系统的整体结构设计2.1 控制系统结构2.2 硬件介绍2.2.1 单片机2.2.2 时钟模块-DS13022.2.3 光照监测55162.2.4 温湿度-DHT112.2.4 舵机-SG902.2.5 语音播报-TTS2.2.6 按键-独立按键2.2.7 显示-OLED2.2.8 继电器模块2.2.9 无线通信WiFi2.3 本章小结3 系统硬件设计3.1 单片机最小系统设计3.2 模块电路设计3.2.1 时钟模块-DS13023.2.2 光照监测55163.2.3 温湿度-DHT113.2.4 舵机-SG903.2.5 语音播报-TTS3.2.6 按键-独立按键3.2.7 显示-OLED3.2.8 继电器模块3.2.9 无线通信WiFi3.3 本章小结4 系统软件设计4.1 系统主流程设计4.2 温湿度检测模块子流程4.3 光照检测模块子流程4.4 舵机模块子流程4.5 OLED显示子流程设计4.6语音播报模块子流程设计4.7 本章小结5 系统调试与测试5.1 硬件调试5.2 软件调试5.3 实物功能测试5.3.1 定时检测实物测试5.3.2 语音播报实物测试5.3.3 药箱开关实物测试5.3.4 补光实物测试5.3.5 加热除湿实物测试5.3.6 云平台部分测试结 论参考文献谢 辞附 录A附 录B附 录C