郭庆帅智能药盒发表最终版 下载本文

毕业设计(论文)

论文题目 健康卫士

学生姓名: 郭庆帅 学生学号: 2014101001503 院(系): 电气及自动化系

年级专业: D14-卓越电气一班 指导教师: 孙常华

摘要

“哎呀,忘了”!随着生活节奏的加快,年龄的增长,人们的总容易忘记事情,比如忘记吃药。尤其是家中的老人,由于身体问题,可能需要长期服药治疗,但年岁大了总容易忘这忘那的,以及对服药时间比较苛刻的人群.但在科技快速发展的今天,这些都不是问题,我们设计并开发了一款名为“健康卫士”的智能药盒,可以联网监测用户的服药情况,提示用户服药,并且根据用户设定药品和个数自动提取所需药物。

本作品名为健康卫士,构架包括药盒、单片机中央控制(MCU)系统、机智云服务器和智能药盒(远端)管理APP;智能药盒通过中央控制系统与机智云服务器,通过app和机智云云服务器并且全部实现实时数据传输(指令、上传、反馈);所述的智能药盒内设置有若干功能模块;各个功能模块通过单片机中央控制系统实现其功能,用户通过APP进行管理。

关键词:物连网 、 自动提取药物 、机智云 、app 、 实时数据

Abstract

\take medicine. Especially in the home of the elderly, due to physical problems, may require long-term medication. As well as the time of medication is relatively harsh crowd. But now in the rapid development of science and technology, these are not problems.We have designed and developed a smart box,named \It can be used for monitoring the user's taking medicine by the network, prompting the user to take medicine, and automatically extracting the required medicine according to the user's setting of the medicine and the number.The name of work isHealth-guard,includes box,MCU system,intelligent-cloud server and intelligent-box-management APP.The intelligent box using central control system and intelligent-cloud server achieve real-time data transmission (instruction, upload, feedback).The intelligent medicine box is arranged in several function modules; each module through the central microcontroller the control system to achieve its function, user management by APP.

Keywords: Internet of things, automatic extraction of drugs, intelligent-cloud, app, real-time data

目录

1 绪论 ............................................................................................................................................ 1

1.1 设计背景 ............................................................................................................................ 1 1.2 设计意义 ............................................................................................................................ 1 1.3 系统设计目标 .................................................................................................................... 2 2 总体设计及框架及方案比较..................................................................................................... 3

2.1 方案比较 ............................................................................................................................ 4

2.1.1 远程服务器的搭建 ................................................................................................. 4 2.1.2 定时功能及定时吃药功能 ..................................................................................... 5 2.1.3 自动提取药品 ......................................................................................................... 5 2.1.4 智能语音 ................................................................................................................. 6

3 服务器的设置 ............................................................................................................................ 7 4 系统硬件设计 .......................................................................................................................... 10

4. 1 STM32F103c8tb单片机概述 ...................................................................................... 10

4.1.1 STC32f103c8tb单片机内部结构 ...................................................................... 10 4.1.2 串口 ....................................................................................................................... 13 4. 2 网络 ............................................................................................................................... 14

4. 2.1 ESP8266的基本介绍 ........................................................................................... 14 4. 2.2 ESP8266WIFI模块14

4. 2.3 ESP8266WIFI模块引脚功能16 4. 3 药片检测模块设计 ......................................................................................................... 18

4.3.1 LM393简介 ........................................................................................................ 18 4.3.2 特性 ....................................................................................................................... 18 4.3.3 封装 ....................................................................................................................... 19 4.3.4步进式电动机 ........................................................................................................ 20 4. 4 时钟模块设计 ................................................................................................................. 22

4.4.1 概述 ....................................................................................... 错误!未定义书签。 4.4.2 特性 ....................................................................................................................... 22 4.4.3 管脚说明 ............................................................................................................... 23 4.4.4 功能描述 ............................................................................................................... 23

第 4 页