项目编号: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

1.1  研究背景及实际意义 1

1.2  研究现状 2

1.2.1  国内研究现状 2

1.2.2  国外研究现状 2

1.3  研究目标 2

第2章  系统方案设计 4

2.1  主要元器件选择 4

2.1.1  主控芯片方案选择 4

2.1.2  电机方案选型 4

2.1.3  通信模块方案选择 4

2.2  整体方案设计 5

2.3研究方法和可行性分析 6

2.3.1 研究方法 6

2.3.2 可行性分析 6

第3章  系统硬件设计 8

3.1  主控模块电路 8

3.2  显示模块电路 10

3.3  温湿度监测模块 10

3.4  光照采集模块 11

3.5  舵机模块电路设计 12

3.6  语音输出模块 12

3.7  继电器模块 13

3.8  按键模块电路 14

3.9  WiFi模块 15

第4章  系统程序设计 16

4.1  编程软件介绍 16

4.2  系统主流程设计 16

4.3  温湿度检测模块子流程 18

4.4  舵机模块子流通 19

4.5  OLED显示模块子流程设计 20

4.6  WiFi模块子流程设计 21

4.7  独立按键模块子流程设计 23

第5章 实物测试 24

5.1  实物调试部分 24

5.2  整体实物测试图 24

5.3  上电运行实物测试 25

5.4  定时检测实物测试 26

5.5  语音播报实物测试 27

5.6  药箱开关实物测试 28

5.7  补光实物测试 29

5.8  除湿实物测试 30

5.9  云平台部分测试 31

总结 33

致谢 34

参考文献 35

附录 36

附录一:原理图 36

附录二:PCB 37

附录三:主程序 38

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

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

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

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

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

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