项目编号:mcuclub-dz-197
设计简介:
项目名:药箱(实物)(mcuclub-jj-038、mcuclub-dz-141)
项目编号:mcuclub-dz-197
单片机类型:STM32F103C8T6
具体功能:
1、通过RTC获取时间,通过按键可修正时间
2、通过手机界面最多可配置5组吃药时间和是否使能,使能后,当时间到后,语音播报“吃药时间到,请吃药”,并通过舵机自动打开药箱,通过按键可关闭或者打开药箱
3、通过手机界面可设置常见的吃药种类和数量(感冒药、发烧药、消炎药、胃药)
4、通过光敏电阻检测药箱内光照值,当打开药箱时,如果光照值低于设置最小值,则自动开启补光灯
5、通过DHT11检测药箱内温湿度,当湿度值高于设置最大值,则进行除湿(出气口一个风扇抽出潮湿空气,进气口风扇和加热片一起启动)
6、通过OLED显示测量数据,当吃药时间到后显示吃药种类和数量,直到关闭药箱再显示测量数据
7、通过WIFI模块,可将所有监测数据发送到手机端,手机端可设置吃药时间、吃药数量、吃药种类
总字数:15236
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
基于STM32的智能医疗包的设计与实现
摘 要
新时代的年轻人,每天需要花费大量的时间工作,吃饭基本依靠快餐,随着工作和生活压力的逐渐加大,大多数人的身体都处于亚健康状态,还有需要长期服药的慢性病患者,在日常生活中都离不开药物来平衡身体机能,因此,慢性病和营养补给药品,成为家庭常用必需品,但在日常生活伴随着药物随意摆放或药品种类繁多不易寻找等问题使吃药的过程变的麻烦,特别是当人们陷入突发病的情况时,如不能及时服药可能会引起不可测的困难。
因此设计一款智能化的医疗包很有必要;本次设计基于STM32单片机,通过关敏电阻监测药箱内光照强度,通过温湿度传感器监测药箱内的温湿度值,使药品的存储范围在适宜的范围之内。通过显示模块显示吃药种类和数量,通过RTC获取时间,也可以通过按键修正时间,通过WiFi模块,可将监测到的数据发送到手机,可以在手机端设置5组吃药时间、吃药种类和吃药数量,通过语音播报模块播报“吃药时间到,请吃药”。舵机控制药箱自动打开,本设计可以解决当前用户药品乱放以及忘记吃药的问题,为人们的健康保驾护航。
关键词 STM32 药箱 WiFi 温湿度 传感器
Design and implementation of intelligent medical package based on STM32
ABSTRACT
Young people in the new era need to spend a lot of time working every day, and basically rely on fast food for meals. With the increasing pressure of work and life, most people’s bodies are in a sub-health state. There are also chronic disease patients who need to take long-term medication. It has become a common necessity in the family. However, the process of taking medicine becomes troublesome in daily life with the random placement of drugs or the difficulty in finding a wide variety of drugs. Especially when people fall into the situation of sudden illness, if they cannot take medicine in time, it may cause unpredictable difficulties.
Therefore, it is necessary to design an intelligent medical bag. This design is based on STM32 microcontroller, monitoring the light intensity in the medicine cabinet through the resistor, and monitoring the temperature and humidity value in the medicine cabinet through the temperature and humidity sensor, so that the storage range of drugs in the appropriate range. The type and amount of medicine can be displayed through the display module, the time can be obtained through the RTC, or the time can be corrected by pressing the button. Through the WiFi module, the monitored data can be sent to the mobile phone. You can set 5 groups of medicine time, medicine type and medicine amount on the mobile phone, and broadcast “medicine time is up, please take medicine” through the voice broadcasting module. The steering engine controls the medicine box to open automatically. This design can solve the problem of the current user’s medicine misplacing and forgetting to take medicine, so as to protect people’s health.
Key words STM32 A medicine cabinet WiFi Temperature and humidity sensor
目 录
第1章 绪论 1
第2章 系统方案设计 4
第3章 系统硬件设计 8
第4章 系统程序设计 16
第5章 实物测试 24
总结 33
致谢 34
参考文献 35
附录 36