基于单片机的手机蓝牙通信设计
基于单片机的手机蓝牙通信设计(任务书,开题报告,外文翻译,论文12000字)
摘 要
跟随电子信息技术的飞速成长和微处理器的广泛普及,带有单片机的智能型测量系统的应用也变得更加广泛,单片机与其他一些通讯系统之间数据传输已经应用于工业、科研、农业等领域,而单片机与其他器件之间的最常见的通讯方式就是串行通讯方式,当使用一条线路传输数据时,串行通讯可以用另一条线路收集数据。其方法使用简单,能够实现长途通讯。本文章描述了一种单片机与其他设备之间进行串口通讯的实现方式,首先将串口助手和本设计中使用到的蓝牙进行搜索互连,互连成功后,蓝牙接收到由此助手软件发送出来的数据,再通过蓝牙发送给单片机端,单片机接收到数据后再经由LCD12864显示屏显示出来,以检验出串口通讯的精准性。
本文章详细地描述了基于单片机的蓝牙通讯系统的实现过程。硬件的部分基本就是由STC89C52单片机、HC-05蓝牙模块以及LCD12864显示屏这三个部分的连接构成的。软件的部分就是在keil的环境下进行设计运行的。
关键词:单片机 串口通信 蓝牙
Bluetooth Communication Based on Single Chip Computer
Abstract
With the rapid growth of electronic information technology and the widespread adoption of microprocessors, the application of intelligent measuring system with single chip microcomputer has become more and more widely. The data transmission between SCM and other communication systems has been applied to industry, scientific research, agriculture, Communication and other fields, and single-chip and other systems between the most common means of data communication is the serial communication, serial communication can use a line to send data when using another line to collect data, the use of simple and can be achieved Distance communication. This design describes a single-chip serial interface system design method, through the serial assistant and Bluetooth pairing, matching success, Bluetooth received by the serial assistant to send out the data, single-chip receiver To the data and then displayed through the LCD12864 display to verify the accuracy of serial communication. [资料来源:http://doc163.com]
The realization of the Bluetooth-based communication system based on the microcontroller is described in detail in this article. Part of the hardware is basically the STC89C52 microcontroller, HC-05 Bluetooth module and LCD12864 display of these three parts of the connection. Part of the software is in the keil environment to run the design. And in the final hardware to welding debugging success, the software can be used with the hardware to achieve the system to achieve the final function.
Key Words:Single chip;Serial communication;Bluetooth
[资料来源:http://doc163.com]
目 录
摘 要 I
ABSTRACT II
第一章 引 言 1
1.1设计简介 1
1.2 设计内容 2
1.3 论文结构 3
第二章 方案论证 5
2.1单片机选择 5
2.2 显示模块选择 5
2.3蓝牙模块选择 6
第三章 硬件设计 7
3.1 系统原理框图设计 7
3.2 系统主要元器件介绍 7
3.2.1 STC89C52单片机 7
3.2.2 LCD12864显示电路 9
3.2.3 HC-05蓝牙模块 10
3.3 系统模块电路设计 11
3.3.1单片机最小系统电路设计 11
3.3.2显示电路设计 14
3.3.3蓝牙串口电路设计 15
3.3.4手机串口模块 16
3.3.5电源电路 16
3.4硬件设计小结 16
第四章 软件设计 18
4.1主程序流程分析 18
4.2 LCD12864显示函数流程设计 19
4.3 软件设计小结 21
第五章 系统调试 23
5.1 程序生成与系统调试 23
5.2 系统制作与实物调试 24
[资料来源:http://www.doc163.com]
总 结 28
参考文献 29
致 谢 31
附录 32
[版权所有:http://DOC163.com]