基于蓝牙模块的智能家居网络

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于蓝牙模块的智能家居网络

摘要

随着科学技术的发展和人们生活水平的提高,人们越来越注重自己生活环境的舒适、安全与便利。近年来兴起的智能家居系统满足了人们的这种需求,它有效地在家居环境中组建家庭信息网络,将各种家电产品结合成一个有机整体,对家电设备进行集中或异地的智能化控制与管理,并且能够与外界进行信息交流。

蓝牙技术作为一种无线数据与语音通信的开放性全球规范,可提供低功耗、短距离的无线空中接口,在各种固定与移动设备之间实现无线通信。在移动通信、无线数据采集、无线遥控与遥测、计算机网络及自动控制等多种领域,蓝牙技术都有着广泛的应用。

应用设计的蓝牙软硬件接口,本文开发了一个基于蓝牙模块的智能家居控制系统,在该系统中,上位机端通过USB控制蓝牙适配器,其发送的控制指令由下位机端蓝牙模块接收后传给单片机,并在单片机端编写了一个基本的蓝牙及模拟家电控制程序,从而实现了PC与模拟家电的无线控制功能。本文提供的蓝牙软硬件接口方案及数据传输模块,不仅可以用来进一步开发蓝牙高层协议,而且还可作为通用的接口函数和模块应用到多种无线场合。

关键字:蓝牙技术;智能家居;蓝牙模块

ABSTRACT

W ith the development of science and technology, and the improvement of people’s living standards, people are paying more and more attention to the comfortablity, safety and convenience of their living environment. The emergence of smart home system in recent years, just meets the needs of people. It effectively constitutes appliances into a home information network and makes all kinds of appliances combined into an organic whole. It can intelligently control appliances locally or remotely, and exchange information with the outside world.

As a globally open wireless data and speech communication specification Bluetoo—th technology can provide low-power、short distance wireless air interface and implement wireless communication between various fixed and mobile equipments.Bluetooth technology has a wide range of applications in mobile communications,wireless data collections,wireless remote control and sensing Computer network and automatic control and other areas.

Using the bluetooth hardware and software interface designed,This paper developed an smart home furnishing control system based on Bluetooth module.In the system,The PC side is controlled by USB bluetooth adapter.It’s control instruction is received by the lower end of Bluetooth module which sent it to the micro controller. A basic bluetooth and home appliance control simulation program was prepared in the MCU. So,the system can realize wireless control function of PC and simulation of electrical appliances .And then,data can be transmitted between the two parts.After that,a further development which is file transmission is implemented.

Keywords: Bluetooth technology; smart home; Bluetooth moudule

目录

前言 (1)

第一章绪论 (2)

1.1 课题研究背景 (2)

1.2 智能家居的发展状况 (2)

1.3 未来智能家居的发展趋势 (3)

1.4 研究的目的和意义 (3)

1.5 课题研究的内容 (4)

第二章蓝牙技术介绍 (5)

2.1 蓝牙系统组成 (5)

2.2 蓝牙协议栈 (6)

2.3 蓝牙控制器接口(HCI)分析 (6)

2.3.1 HCI概述 (6)

2.3.2 HCI传输层 (7)

2.3.3 HCI分组格式 (8)

第三章设计方案及模块介绍 (11)

3.1 蓝牙家居控制系统组成结构 (11)

3.2 主要硬件模块介绍 (11)

第四章系统硬件设计 (15)

4.1 下位机模块设计 (15)

4.2PC机与蓝牙模块的连接

17

4.3 单片机与家用电器的连接 (18)

4.3系统电源模块原理图

19

第五章系统软件设计 (21)

5.1 单片机端软件设计 (21)

5.2 PC端软件设计 (26)

第六章系统测试与分析 (31)

结论 (33)

致谢 (34)

参考文献 (35)

附录 (36)

相关文档
最新文档