大学毕业设计—基于cc2540的蓝牙40模块与pc机通信设计.docVIP

  • 10
  • 0
  • 约 39页
  • 2016-12-02 发布于辽宁
  • 举报

大学毕业设计—基于cc2540的蓝牙40模块与pc机通信设计.doc

摘 要 CC2540模块是TI(Texas Instruments)公司开发的一款用于蓝牙4.0开发的系统单晶片解决方案。利用它可以作为无线数据采集和收发的无线终端,蓝牙4.0技术构建的无线数据采集传输模块,具有功耗低,可靠性高的优点。 Abstract CC2540 module is a system used for the development of Bluetooth 4.0 single chip solutions provided by TI (Texas Instruments) company to develop. Because the Bluetooth 4.0 technology has the advantages of low power consumption, high reliability and long distance, it can be used as the wireless terminals of wireless data acquisition. The main elements of design : Designing and fabricating the wireless data acquisition terminal based on CC2540 module, implementing the wireless communication between the wireless data acquisition terminal and PC. The data acquisition terminal is composed of the TI official CC2540EM and peripheral circuit, such as key, LCD, DS18B20. PC comprised TI official CC2540 USBDongle and the serial debugging software. This paper made a briefly introduction of the overview, prospects of application and the basic structure of the data acquisition and transmission of Bluetooth technology. The main elements of the article discusses the compiling and application of the Bluetooth 4.0 protocol stack and the procedure and principle of data transmission between CC2540 module and PC. 目 录 摘 要 I Abstract II 目 录 III 引 言 1 1 绪论 2 1.1 蓝牙应用现状 2 1.2 研究目的和意义 3 2 开发环境 4 2.1 硬件环境 4 2.1.1 蓝牙芯片CC2540 4 2.1.2 CC2540EM核心板。 5 2.1.3 USBDongle 6 2.1.4 SmartRF04EB 7 2.2 软件环境 8 2.2.1 IAR 8 2.2.2 蓝牙4.0 BLE协议栈 8 2.2.3 BTool 9 2.2.4 Flash Programmer 10 3 系统硬件设计 11 3.1 设计方法和工具 11 3.2 系统框图 11 3.3 硬件电路图 11 3.3.1 CC2540核心板硬件资源 11 3.3.2 天线及巴伦匹配电路设计 12 3.3.3 晶振电路设计 13 3.3.4 电源电路设计 13 3.3.5 LED电路设计 14 3.3.6 五向按键电路设计 14 3.3.7 LCD12864电路设计 15 3.3.8 复位电路设计 15 3.3.9 下载调试电路设计 15 4 系统软件设计 17 4.1 BLE蓝牙协议栈介绍 17 4.2 操作系统抽象层OSAL 19 4.3 硬件抽象层 HAL 20 4.4 配置文件层 21 4.5 BLE协议栈开发平台配置 23 4.6 SimpleBLEPeripheral 从机编程 23 4.7 HostTestRelease主机编程 28 5 系统安装与测试 32 结 论 33 致 谢 34 参考文献 35 引 言 随着物联网技术的迅速发展,企业对于数据准确性和实时性的要求又有了进一步的提高,用户希望将数据的实时性扩展到更广阔的领域,由此,蓝牙4.0技术的出现显得尤为

文档评论(0)

1亿VIP精品文档

相关文档