没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论









哈尔滨工业大学本科毕业设计(论文)
摘 要
生理信息监测等测试领域现有的无线数据传输方式往往采用单独的传输模
块,成本较高。现阶段手机在我国普及程度很高,迫切需要一种充分利用现有
设备实现无线数据传输的低成本解决方案。
基于蓝牙技术的移动电话控制器利用手机的蓝牙接口融合 GSM 和 GPRS
的相关技术,实现了终端控制手机收发短消息和登陆 GPRS 网络等功能。本论
文从系统结构出发,详细阐述了蓝牙硬件电路设计、蓝牙嵌入式软件设计和上
位机控制程序设计。硬件电路设计部分包括了接口、转换和烧写等电路的设计,
为蓝牙连接的建立提供硬件支持;嵌入式蓝牙程序设计部分主要讲述了如何编
写运行在蓝牙芯片上的程序,并编程实现了与手机之间建立仿真串口连接;上
位机软件设计部分主要讲述了 AT 指令集的使用,短消息的编解码方法和登陆
GPRS 网络的方法。最后本文对系统进行了功能测试,成功实现了收发短消息
和登陆 GPRS 网络等手机控制功能。
实验验证表明,模块与程序设计合理,满足使用要求。
关键字 蓝牙;AT 指令;短消息;GPRS
I

哈尔滨工业大学本科毕业设计(论文)
Abstract
The wireless transmission always make use of separated module in the fields of
detecting the information of human. How to make full use of the existing
equipment in order to cost less is eager in the condition that the mobile has been
spreaded in China.
The mobile controller based on Bluetooth integrates the technology of GSM and
GPRS and drive the mobile to send or read the SMS and land the net of GPRS. The
essay describe the details of the hardware design of Bluetooth, embedded software
design and the software design in the PC. The hardware design contains interface
transformation and programming. It provides surport of connecting the two bluetooth
devices. In the second section, it describe how to create RFCOMM connection
between the device and the mobile under the support of the program running on the
chip. In the third section, it will introduce how to design the software in the PC
which will send AT commands to the mobile in order to drive it to send or read
message and land the GPRS net.At last, the essay carry out the test of the system and
the system complete the designed functions successfully.
The analyse and experiment prove that it is a reasonable design and meets the
request.
Key words Bluetooth; AT command; SMS; GPRS
II

哈尔滨工业大学本科毕业设计(论文)
目 录
摘 要...................................................................................................I
Abstract.............................................................................................II
目 录..................................................................................................III
第 1 章 绪论.........................................................................................1
1.1 课题背景及意义............................................................................................1
1.2 国内外研究现状............................................................................................1
1.3 本文的研究内容与结构................................................................................1
第 2 章 总体方案设计............................................................................3
2.1 需求分析........................................................................................................3
2.2 系统整体设计方案........................................................................................3
2.3 蓝牙硬件电路总体方案................................................................................4
2.3.1 蓝牙芯片选型 4
2.3.2 硬件电路总体框图 5
2.4 嵌入式蓝牙软件整体设计............................................................................5
2.5 上位机软件整体设计....................................................................................6
2.6 本章小结........................................................................................................6
第 3 章 硬件电路设计............................................................................7
3.1 UART 接口电路设计.....................................................................................7
3.2 USB 接口电路设计........................................................................................8
3.3 串行外围设备接口电路(SPI)...................................................................9
3.4 本章小结......................................................................................................10
第 4 章 蓝牙嵌入式软件设计.................................................................11
4.1 蓝牙协议栈..................................................................................................11
4.1.1 蓝牙核心协议栈 11
4.4.2 RFCOMM 协议 11
4.2 BlueCore 芯片上运行程序的特性..............................................................12
4.2 基于 BlueLab 平台开发程序的基本架构...................................................13
4.2.1 消息/事件机制 13
4.2.2 调度机制 14
4.2.3 虚拟机机制 14
4.3 bluelab 库......................................................................................................15
III

哈尔滨工业大学本科毕业设计(论文)
4.3.1 Bluelab 库概况 15
4.3.2 Bluelab 库功能 15
4.3.2 整体架构 16
4.4 实现 RFCOMM 功能的程序设计...............................................................17
4.4.1 初始化并打开连接管理器 17
4.4.2 查询 19
4.4.3 配对 20
4.4.4 连接 21
4.4.5 建立数据通路 23
4.4.6 模拟调制解调器 23
4.4.7 主程序框图 24
4.4.8 make!le 的编写 25
4.5 本章小结......................................................................................................26
第 5 章 PC 机手机控制软件设计............................................................27
5.1 PC 机串口通信程序设计.............................................................................27
5.1.1 串口操作技术 27
5.1.2 CSerialPort 的设计与实现 27
5.1.3 CSerialPort 类提供的接口 28
5.2 AT 指令.........................................................................................................28
5.2.1 AT 指令功能简介 28
5.2.2 用户接口指令 29
5.3 SMS 的收发程序设计.................................................................................29
5.3.1 SMS 编码方式 30
5.3.2 PDU 编码规范 30
5.3.3 发送短消息使用的 AT 指令 32
5.3.4 短消息接收/发送程序流程图 33
5.4 GPRS 上网程序设计...................................................................................34
5.5.1 终端通过手机登陆网站的实现过程 34
5.5.2 登陆 GPRS 网络使用的 AT 指令 35
5.5.3 程序流程图 35
5.5 本章小结......................................................................................................36
第 6 章 系统测试................................................................................37
6.1 设置蓝牙设备..............................................................................................37
IV

哈尔滨工业大学本科毕业设计(论文)
6.2 手机的控制测试..........................................................................................37
6.3 本章小结......................................................................................................40
结 论................................................................................................41
致 谢................................................................................................42
参考文献...........................................................................................43
附录 1...............................................................................................44
附录 2...............................................................................................49
V
剩余59页未读,继续阅读
资源评论

- zlyl1002014-12-23手机使用蓝牙耳机,真是挺方便的。

liu0829
- 粉丝: 2
- 资源: 4
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制
