蓝牙低功耗 BLE4.0技术以其功耗低、安全性高、运行速度快等优势得到了全世界的电子设计商的认可。从 2011 苹果公司推出的 iPhone4s 开始,蓝牙 4.0 BLE技术开始进入人们的眼球。 2013年七月谷歌公司借助安卓Android 4.3的平台, 宣布开发蓝牙4.0 BLE技术,越来越多的人开始研究这项无线通信技术。本文基于低功耗蓝牙4.0 BLE 技术以及安卓 Android 操作系统设计了一款智能门锁。其特点是可以实时通过手机 APP 控制门锁开关。该设计是一种软硬件相结合的门锁,手机 APP 替代了传统的钥匙,PCB电路板与传统的门锁机械结构相结合。硬件电路收到手机 APP 的信号后作出判断,选择是否开锁。该门锁具有密码匹配功能,实现了双层保护。现今科技和文化都有了很大的发展,人们对于住处的安全性能以及便捷性的要求愈发的严格。传统的门锁除了需要钥匙之外,还存在着一定的安全隐患。而科技含量较高的智能门锁正用其丰富科技的含量逐渐替代了传统机械门锁。本文首先介绍了蓝牙技术和 Android 系统的定义,然后解释了了低功耗的蓝牙技术的原理以及 BLE4.0蓝牙协议栈的结构与原理。之后,本文介绍了硬件电路。首先是芯片的选型即 CC2540芯片。之后又分别介绍了电源电路的设计思路、下载口的连接、天线与微型电机锁的选型以及电路的调试过程。最后通过手机 APP 的设计,实现手机与硬件电路的通信。42007
毕业论文关键词:蓝牙门锁、CC2540、蓝牙BLE4.0、陶瓷天线
Title Design of hotel Bluetooth lock’s hardware and software
Abstract BLE4.0 Bluetooth low energy technology is consumption with low power. It is a safe,fast technology and it also has many other advantages that being used for themajority of factories and users. Google supported the movement of developing ofBluetooth 4.0 on the Android4.3 platform on July, 2013. Therefore, Bluetoothtechnology has won great opportunities. In this paper, the concept of mobile andBluetooth piconet BLE4.0 structure is based on low-power Bluetooth technology andBLE4.0 Android operating system for mobile terminals. Its’ connection andcommunication is achieved by designing the applications.This paper firstly wrote the structure and principles of each layer of BLE4.0Bluetooth low energy of the protocol stack. Thereafter, the article describes thecommunication chip CC2540 Bluetooth module. And using the system OSAL event helpsto deal with the stack events. The android mobile terminal side and Bluetoothinterface is connected by the programming software. Finally, the article describesthe choice of Antenna - ceramic antenna, through its cost-effective and intelligentBluetooth lock condition. It met the designing requirements and it can be usedas the operating system of the antenna.This paper presents the design and the ability to communicate effectively thatconnect Android mobile terminal and Bluetooth low energy devices. Various surveysand studies showed that low-power Bluetooth technology has broad prospects in thefuture.
Keywords Bluetooth Lock、CC2540、Bluetooth BLE4.0、Ceramic antenna
目次
1绪论..1
1.1蓝牙技术..1
1.1.1蓝牙技术的背景...1
1.1.2蓝牙技术的优势...1
1.1.3低功耗蓝牙门锁的前景2
1.2Android技术....2
1.2.1Android的简介....2
1.2.2平台的构架.3
1.2.3Android应用..4
1.3蓝牙门锁研究的意义...5
1.4本论文主要内容.5
1.5本论文章节安排.5
2开发环境介绍6
2.1IAR..6
2.2Androidstudio....6
2.3低功耗蓝牙4.0技术.7
2.3.1低功耗蓝牙的协议栈....7
2.3.2低功耗蓝牙的拓扑结构8
2.3.3低功耗原理.8
2.4GAPGATT的原理及应用9
2.4.1GAP的原理和应用..9
- 上一篇:耦合线圈机理无线充电理论分析手机无线充电器设计+电路图
- 下一篇:单片机地磁传感器的无线车辆检测系统设计+电路图+程序
-
-
-
-
-
-
-
杂拟谷盗体内共生菌沃尔...
中考体育项目与体育教学合理结合的研究
十二层带中心支撑钢结构...
河岸冲刷和泥沙淤积的监测国内外研究现状
大众媒体对公共政策制定的影响
乳业同业并购式全产业链...
当代大学生慈善意识研究+文献综述
java+mysql车辆管理系统的设计+源代码
电站锅炉暖风器设计任务书
酸性水汽提装置总汽提塔设计+CAD图纸