登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

基于单片机的无线智能家居的设计与实现

 2023-01-28 09:01  

论文总字数:23242字

摘 要

近年来,打造舒适的家庭生活环境受到越来越多的人关注,但一般情况下由于家庭并没有配套有效的环境监控与管理设备致使人们的生活水平得不到提高,不仅降低生活质量,更有害人们的身心健康。为此设计了一套集家庭环境检测和电器控制的系统,可以实时监测室内各处的有害气体、PM2.5、以及温湿度,并且通过手机APP远程控制换气扇及空调等家电,为室内环境监测与家电控制提供准确的数据和便捷的操作。

本设计的偏重点在于智能家居检测系统的应用上。在以往的智能家具监测体系中,需要监测的对象十分繁杂,而且需要布置大量的传感器,给传统的有线方式设备布线带来了问题:线路老化,布线空间受限,扩展性差,数据采集点的可操纵化低;最关键的是不具备无线网络的通信功能,难以实现无人值守和远程监控。本设计通过STM32单片机和WiFi模块进行联网远程监控,综合利用了无线通信技术和嵌入式技术,突破了传统的有线控制方式和时空地域限制,实现家居设备的智能化调节。

关键字智能家居;实时监测;传感器;STM32单片机;WiFi模块

Design and Implementation of Wireless Smart Home

Based on Single Chip

Abstract

In recent years, creating a comfortable family living environment has attracted more and more people"s attention. However, due to the fact that the family does not have effective environmental monitoring and management equipment, people"s living standards are not improved, which not only reduces the quality of life, but also Harmful to people"s physical and mental health. To this end, a system for home environment detection and electrical control is designed, which can monitor harmful gases, PM2.5, temperature and humidity in the room in real time, and remotely control household appliances such as ventilation fans and air conditioners through mobile APP for indoor environmental monitoring. With home appliance control to provide accurate data and convenient operation.

The focus of this design is on the application of smart home detection systems. In the past intelligent furniture monitoring system, the objects to be monitored are very complicated, and a large number of sensors need to be arranged, which brings problems to the traditional wired device wiring: line aging, limited wiring space, poor scalability, data collection point Low maneuverability; the most important thing is that it does not have the communication function of the wireless network, and it is difficult to achieve unattended and remote monitoring. This design uses the STM32 MCU and WiFi module for network remote monitoring, comprehensively utilizes wireless communication technology and embedded technology, breaks through the traditional wired control method and space-time regional restrictions, and realizes intelligent adjustment of home equipment.

Keywords:Smart home; real-time monitoring ; sensor ;STM32 microcontroller; WiFi module

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1 选题背景 1

1.1.1 研究意义 1

1.1.2 国内外现状 1

1.2 选题意义 2

1.3 课题研究内容 2

第二章 设计任务及设计方案论述 3

2.1 设计任务与要求 3

2.2 几种无线方案的比较与选择 3

2.2.1 ZigBee技术 3

2.2.2 蓝牙技术 3

2.2.3 GSM技术 4

2.2.4 Wifi技术 4

2.3 整体设计思路 4

2.4 设计的开发环境选择 5

第三章 系统硬件设计 7

3.1 系统硬件电路总体框图 7

3.2 关于STM32单片机最小系统简述 7

3.3 稳压电路 8

3.4 WIFI模块 9

3.5 温湿度检测模块 10

3.6 PM2.5检测电路 10

3.7 有害气体检测电路 12

3.8 TFT显示屏接口电路 12

3.9 按键及报警电路 13

第四章 系统软件设计 14

4.1 系统主程序设计框图 14

4.2 WiFi接收数据程序分析 15

4.3 DHT11驱动程序分析 16

4.4 PM2.5模块驱动程序分析 16

4.5 有害气体模块驱动程序分析 17

4.6 按键及报警驱动程序设计 18

4.7 APP程序设计 18

第五章 系统调试与测试 19

5.1系统硬件调试 19

5.2系统软件调试 19

5.3系统测试结果分析 21

第六章 总结与展望 22

致谢 23

参考文献 24

第一章 绪论

1.1 选题背景

剩余内容已隐藏,请支付后下载全文,论文总字数:23242字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图