文档详情

蓝牙无线鼠标的设计与实现.doc

发布:2017-08-26约4.98万字共51页下载文档
文本预览下载声明
蓝牙无线鼠标的设计 摘要 蓝牙是一种先进的无线通讯技术,应用于无线鼠标有很好的前景。本文阐述了以较低成本为目标的蓝牙鼠标产品解决方案。 由于目前常见的蓝牙鼠标设备控制器都是用嵌入蓝牙核的ASIC芯片实现,所以实现复杂而且价格昂贵,而文中设计独辟蹊径:用一片51单片机作鼠标的微控制器,兼作控制蓝牙模块的主机,充分发挥了51单片机的性能,实现了低成本设计,具有一定实用性和创新性;PC机端软件则设计为运行在后台的应用程序,接收USB接口数据并进行处理,以模拟鼠标功能,这一设计简单易行,思路巧妙。 本文先对蓝牙技术进行简要介绍,而后对蓝牙的协议体系结构及各个协议之间的关系进行说明,着重介绍了主机控制器接口(HCI)层及HCI指令和HCI事件的实现机制。最后以Ericsson公司的蓝牙模块ROK101008为例,分析了单片机与蓝牙模块的硬件接口和软件接口的实现过程。课题具体设计过程包括:总体方案设计、系统电路设计、HCI协议体系的介绍、鼠标微控制器部分软件设计、PC机端软件设计等。本课题是对蓝牙无线通信技术应用在计算机外设的一次探索,为今后研究作了理论和实践上的准备。蓝牙技术;无线鼠标;USB接口As a kind of advanced wireless communication technology, bluetooth has very good prospects to the wireless mouse, The paper has described the intact solution of the bluetooth mouse products at low cost. The ASIC chip embedded with bluetooth is usually employed as mouse equipment controller at present, so that is complicated and expensive to realize. Noteworthily a new style of design is developed in the article: a 51 MCU is employed as keyboard mouse equipment controller while controlling bluetooth module as host, which give full play to 51 MCU and make the product at low cost, the design has sure practicability and innovative; The software of PC end is designed as operating in the backstage, which receives data from USB interface to simulate the function of the mouse. The design is easy, the thought is ingenious. This paper give a brief introduction firstly about bluetooth technology, then the protocols of bluetooth and the relationship of them, especially HCI layer and the implementing mechanisms of HCI commands and HCI events . At last, taking the bluetooth module ROK101008 made in ericsson company for example,we analyse in detail the hardware interface and the implementing process of software interface between MCU and blnetooth module. In the paper the solution selected in the subject was especially introduced, which includes overall conceptual design, system circuit design, mouse controller software design, the introduction of the HCI protocol, PC end software design e
显示全部
相似文档