基于GSM的智能药盒设计说明

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

家用智能药盒是一种利用GSM技术、现代显示技术等实现对人们何时吃药、吃何种药进行报警提醒,从而提高人们的健康质量。

首先,本文介绍了此系统所涉及的硬件的结构和工作原理,主要包括STC90C51单片机、ISD1820录放音模块、GTM900B、LCD12864液晶和单片机的定时/计数器。其次,介绍了系统硬件的模块化设计和软件的编程思想。最后是对系统进行调试之后得出最后的结果。系统通过对单片机STC90C516定时器中断的设计,使其完成对时钟运行的控制,并通过LCD12864液晶显示出来。当系统检测到有时间设置功能键或用药设置功能键有输入时,进入关中断调时及设置状态,之后开中断记录当前设置的时间及用药量的值。在调节好系统时间之后,系统时间向前运行的过程中不断将系统实时时间与记录时间作比较,两者相等时发出警报并显示所设置的用药量,一分钟后系统实时时间与记录时间不在相等则自动退出提醒,如此实现每天至多三次用药及每次四种用药服用量的提醒。

关键词:智能,GSM,ISD1820

Abstract

Home intelligent kit is a use of GSM techn ology, modern display technology implementation to alarm people when to take medicine, eat what medicine to remind, thus improve the quality of people's health.

First of all, this paper introduces the system hardware structure and working principle of the involved, mainly including STC90C51 recording sound module, MCU, ISD1820 GTM900B, LCD12864 LCD and MCU timer/counter. Secondly, this paper introduces the system hardware modular design and software programming ideas. Finally is the system debugging after the final results. The design of the system based on single chip microcomputer STC90C516 timer interrupt, make its complete control of the clock runs, and through the LCD12864 LCD display. When the system detects a set time setting function keys or use the function keys has input, enter the interrupt tuning and setting the state's when, after a break records the value of the current setting of the time and dose. Good in regulating system of time, the system time run forward in the process of continuously the system real time compare to record time, alarms when both are equal and displays a set of dose, a minute later system real time recording time is not equal exit automatically remind, so use up to three times a day and four drug dose to remind every time.

Key words: intelligent, GSM, ISD1820

目录

第1章绪论 (1)

1.1 选题背景及意义 (1)

1.2 国外发展现状 (1)

1.3 主要设计容及预期目标 (2)

第2章 GSM相关介绍 (4)

2.1 GSM基本简介 (4)

2.1.1系统结构 (4)

2.1.2频率配置 (6)

2.2 GSM短信应用 (7)

2.2.1 GSM短信息平台的特点 (8)

2.2.2 基本的AT指令 (8)

2.2.3短信息编码 (8)

第3章系统的硬件设计 (10)

3.1系统总体设计 (10)

3.2系统结构设计 (12)

3.3硬件电路的设计 (13)

3.3.1 单片机最小系统 (13)

3.3.2 无线模块的设计 (15)

3.3.3 语音录放电路的设计 (17)

3.3.4 显示模块的设计 (20)

3.3.5 报警系统的设计 (24)

3.3.6 键盘电路的设计 (26)

第4章软件部分的设计 (27)

4.1 系统主程序 (27)

4.2 系统子程序 (29)

4.2.1按键扫描子程序 (29)

4.2.2 发送短信子程序 (35)

4.2.3 报警子程序 (37)

第5章系统的调试与测试 (40)

5.1调试 (40)

5.1.1 硬件调试 (40)

5.1.2软件调试 (41)

5.2 测试结果 (42)

总结 (45)

参考文献 (46)

致 (47)

相关文档
最新文档