摘要随着我们国家的经济科技的飞速发展,在未来的时间里,生活中更多的东西 将向着智能化的方向发展。本文通过分析蓝牙的通信方式、协议与工作原理,结 合嵌入式系统,设计了一个基于蓝牙的智能家庭照明控制器。

硬件部分使用 STM32 芯片作为主芯片,芯片连接一个 ATK-HC05 蓝牙模块接 收控制指令,使用后 ASM1117 电源模块为主板供电,使用 T4115 直流 PWM 驱动 模块进行 PWM 调制,还使用了一个声光一体开关增加控制器的智能化。

软件部分设计了一个可以通过智能手机登录的智能家居平台,在智能家居平 台上可以选择单独控制或者创建控制模式实现同时控制多个设备,选择的结果在 智能家居平台上自动生成字符串形式的控制指令,并通过家庭计算机的蓝牙设备 发送到控制器上,蓝牙设备之间使用串口通信,控制器接收并解码指令完成操作。95140

验证结果证明,这个设计方便,智能,也体现出智能家居的优势,清楚地表 明蓝牙技术在智能家居平台中传统设备的智能控制的实现过程中将会起到越来越 大的作用。

关键词:蓝牙,智能家居,STM32,嵌入式

Abstract With the rapid development of our country's economy and science and technology, in the future, more things in life will be towards the direction of the development of intelligent。In this paper, through the analysis of the Bluetooth protocol, communication mode and working principle, combined with the embedded system,

In the haedware part,use an STM32 chip as main chip,use a ATK-HC05 Bluetooth module that connected to main chip to receive control commands,use an ASM1117 power module for the motherboard power supply,use a T4115 DC PWM driver module for PWM modulation,an acousto-optic switch is also used to increase the intelligence of the controller。

In the software part, we design a smart home platform which can be registered by smart phone,on the smart home platform, you can choose to control only one device or create a control mode to control multiple devices at one time, the selection results automatically generated control instructions in string form and sent it to the controller through the Bluetooth device of home computer,serial communication between Bluetooth devices rely onserial communication,then the controller receives and decodes the instruction to complete control operation。

The result shows that my design is very convenient,smart, user-friendly,it reflect the advantages of intelligent Home Furnishing。It clearly proves Ithat bluetooth technology will play an increasingly important role in the intelligent control of traditional devices on the smart home platform。

Keywords: Bluetooth, smart home, STM32, embedded system

目录

第一章 绪论 1

1。1 背景 1

1。2 蓝牙技术及应用 1

1。3 工作内容与安排 2

1。4 预期成果 3

第二章 系统总体设计介绍 4

2。1 系统硬件总体设计 4

2。1。1 蓝牙协议 5

2。1。2 STM32 嵌入式介绍 6

2。1。3 LED 驱动技术的介绍 6

2。2 系统硬件开发环境 7

2。2。1 嵌入式开发环境 7

2。2。2 硬件电路开发工具 8

2。2 系统软件总体设计 8

上一篇:AT89S52单片机的脉搏测量器设计+电路图+程序
下一篇:单片机的煤场多点温度监控系统设计+源代码+电路图

软PLC技术电梯控制与实现+梯形图

STM32的4G太阳能电站监控系统设计+PCB电路图

STM32单片机的无刷直流电机控制系统设计

基于磁共振技术的家用无...

STM32F103永磁同步电机矢量控制系统设计

STM32交通灯控制系统设计+电路图

STM32无人艇控制系统硬件在...

拉力采集上位机软件开发任务书

中国古代秘书擅权的发展和恶变

国内外无刷直流电动机研究现状

《醉青春》导演作品阐述

浅谈传统人文精神茬大學...

谷度酒庄消费者回访调查问卷表

辩护律师的作证义务和保...

浅谈新形势下妇产科护理...

高校网球场馆运营管理初探【1805字】

多元化刑事简易程序构建探讨【9365字】