{$cfg_webname}
主页 > 电子信息 > 单片机 >

单片机与手机间蓝牙通信的设计与实现

来源:wenku163.com  资料编号:WK16314168 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314168
资料介绍

单片机与手机间蓝牙通信的设计与实现(任务书,开题报告,论文12000字)
摘  要
蓝牙作为一种将传统的有线通信转换成无线通信的无线通信设备,在两个设备短距离间的通信中得到了很广泛的应用,因此针对基于android的蓝牙开发作进一步的了解并且能够将自己开发的蓝牙APP和其他通讯设备进行通信以满足人们的需求是很有必要的。本次设计在软件设计方面,在eclipse开发软件中安装Android sdk和ADT编写了安卓平台下的手机蓝牙APP,该APP能够完成打开蓝牙、搜索蓝牙、连接蓝牙、传输数据等一系列基本操作,在硬件设计方面,采用Arduino软件编写了单片机端数据接收并显示、数据回传等功能,并将硬件实物搭建起来实现了手机蓝牙与Arduino单片机之间的无线数据传输。研究结果表明:通过蓝牙的端口协议,单片机可接受手机蓝牙信号并完成一系列指令,作为无线数据通信的蓝牙具有广阔的发展前景。
关键词:单片机;蓝牙模块;蓝牙协议;串口通信

Abstract
Bluetooth, as a wireless communication device that converts traditional wired communications into wireless communications, has been widely used in communication between two devices for short distances, so it is a better understanding of Android-based Bluetooth development and is able to develop itself It is necessary to communicate with the Bluetooth APP and other communication devices to meet people's needs. This design in the software design, in the eclipse development software to install Android SDK and ADT prepared Android platform mobile phone Bluetooth APP, the APP can complete the open Bluetooth, search Bluetooth, Bluetooth, transfer- data and a series of basic operations, in the Hardware design, the use of Arduino software to write a single-chip data reception and display, data return and other functions, and hardware built up to achieve the mobile phone Bluetooth and Arduino single-chip wireless data transmission between. The results show that: through the Bluetooth port protocol, the microcontroller can accept the phone Bluetooth signal and complete a series of instructions, as wireless data communication Bluetooth has broad prospects for development.
 Key words: MCU; Bluetooth module; Bluetooth protocol; serial communication

目  录
摘  要    I
Abstract    II
第1章 绪论    1
1.1蓝牙技术的背景和现状    1
1.2蓝牙在嵌入式系统中的实用性    2
1.3 章节介绍    2
第2章 设计方案    4
2.1 总体方案    4
2.2  硬件模块介绍    5
2.2.1 Arduino 单片机模块    5
2.2.2 HC05蓝牙模块    6
2.2.3 LCD1602液晶显示屏    9
2.2.4 调试手机的配置参数    11
2.3 本章小结    11
第3章 手机APP应用程序设计    13
3.1 界面设计    13
3.2 蓝牙基本功能    14
3.3 建立连接    15
3.4 传送数据    17
3.5 本章小结    18
第4章 单片机模块的设计    19
4.1 Arduino 单片机软件设计    19
4.2 单片机端硬件设计    21
4.3 本章小结    23
第5章 系统测试与分析    23
第6章 总结与展望    27
参考文献    27
附录A 16进制ASCII码图表    29
致谢    30

推荐资料