没有合适的资源?快使用搜索试试~ 我知道了~
首页2018年广东省大学生电子设计竞赛一等奖作品
资源详情
资源评论
资源推荐

一种基于蓝牙和语音控制的智能家居系统
2018 年广东省大学生电子设计竞赛
设计报告
一种基于蓝牙和语音控制的智能家居系统
A smart home system based on Bluetooth and voice control
摘要:本项目使用 STM32F407 作为主控芯片,通过蓝牙和语音控制实现安全、便宜的
智能家居系统。实现了手机实现家电控制;语音识别+人脸识别开门/关门;语音控制
开关灯、开关风扇以及切歌,关闭音乐等;地震、CO、温度、湿度、光强监测等;用
户可通过 LCD 显示屏操作 APP 实现人脸管理、人脸登记、语音留言、文本留言、查
看语音、查看文本留言、查看门外情况(监控),以及控制开门/关门、开灯/关灯、开风
扇/关风扇等等。相比于现有的智能家居方案,我们的方案通过使用 Android ID 作为手
机用户唯一识别码以及语音识别+人脸识别双重开门检测,使得整个系统更为安全。同
时,我们的方案成本更低,可用于高校学生宿舍推广。
关键词:智能家居;STM32;蓝牙;语音识别;人脸识别
ABSTRACT This project uses STM32F407 as the main control chip to realize a safe and
cheap smart home system through Bluetooth and voice control. Achieve mobile phone to
achieve home appliance control; voice recognition + face recognition to open / close the
door; voice control switch lights, switch fans and cut songs, turn off music, etc.; earthquake,
CO, temperature, humidity, light intensity monitoring, etc.; users can pass LCD Display
operation APP implements face management, face registration, voice message, text message,
view voice, view text message, view door condition (monitoring), and control door
opening/closing, turning on/off, turning on/off Fans and so on. Compared with the existing
smart home solution, our solution makes the whole system more secure by using the Android
ID as the unique identification code of the mobile phone user and the dual recognition
detection of voice recognition + face recognition. At the same time, our program costs are
lower and can be used to promote college students' dormitory.
INDEX TERMS Smart home; STM32; Bluetooth; Speech recognition; Face recognition

一种基于蓝牙和语音控制的智能家居系统
第 2 页 共 80 页
原 创 性 声 明
本团队郑重声明:所呈交的作品及论文,是本团队在指导老师的指导
下,独立进行研究所取得的成果。除文中已经注明引用的内容外,本论文
不包含任何其他个人或集体已经发表或撰写过的科研成果。对本文的研究
做出重要贡献的个人和集体,均已在文中以明确方式标明。本声明的法律
责任由本人承担。
作者签名: 日 期:

一种基于蓝牙和语音控制的智能家居系统
第 3 页 共 80 页
目 录
原 创 性 声 明 ...................................................................................................................... 2
目 录 ...................................................................................................................................... 3
查新说明 .................................................................................................................................. 5
第 1 章 引言 ............................................................................................................................ 6
1.1 选题背景和研究意义 ............................................................................................... 6
1.2 智能家居研究现状 ................................................................................................... 6
1.3 论文研究内容和结构安排 ....................................................................................... 7
第 2 章 智能家居实现的理论分析 ........................................................................................ 8
2.1 蓝牙通信技术 ........................................................................................................... 8
2.2 语音识别技术 ........................................................................................................... 8
2.3 人脸识别技术 ........................................................................................................... 9
第 3 章 智能家居系统设计 .................................................................................................. 11
3.1 智能家居系统整体设计 ......................................................................................... 11
3.1.1 系统整体架构 .............................................................................................. 11
3.1.2 系统功能 ...................................................................................................... 13
3.1.3 系统指标 ...................................................................................................... 14
3.2 智能家居硬件设计 ................................................................................................. 14
3.2.1 蓝牙通信模块 .............................................................................................. 14
3.2.3 摄像头模块 .................................................................................................. 16
3.2.4 MPU6050 模块 ............................................................................................. 17
3.2.5 继电器模块和电磁铁模块 .......................................................................... 18
3.2.6 SD 卡接口电路 ............................................................................................. 18
3.2.7 数字温湿度传感器 DHT11 ......................................................................... 18
3.3 智能家居软件设计 ................................................................................................. 19
3.3.1 智能家居 APP 设计 ..................................................................................... 19
3.3.2 智能家居 STM32 控制设计 ........................................................................ 21
3.4 通信协议 ................................................................................................................. 22
3.4.1 蓝牙通信 ...................................................................................................... 22
3.4.2 系统硬件设置操作 ...................................................................................... 22
第 4 章 智能家居系统实现 .................................................................................................. 23
4.1 整体系统的搭建 ..................................................................................................... 23
4.2 系统测试方案 ......................................................................................................... 23
4.3 智能家居系统的测试 ............................................................................................. 23
4.3.1 智能家居 APP 调试 ..................................................................................... 23
4.3.2 蓝牙通信部分调试 ...................................................................................... 23
4.3.3 语音控制部分调试 ...................................................................................... 24
4.3.4 人脸识别部分调试 ...................................................................................... 24
4.3.5 地震监测部分调试 ...................................................................................... 24

一种基于蓝牙和语音控制的智能家居系统
第 4 页 共 80 页
第 5 章 结论与展望 .............................................................................................................. 25
附 录 ...................................................................................................................................... 26
附录 1 智能家居系统使用说明 ................................................................................... 26
附录 2 智能家居系统 Android 源程序 ........................................................................ 27
附录 3 智能家居系统 STM32 源程序主函数 ............................................................. 42
参考文献 ................................................................................................................................ 80
剩余79页未读,继续阅读













安全验证
文档复制为VIP权益,开通VIP直接复制

评论0