设计说明书
总字数:13000+
摘 要
针对智能家居当前研究状况,发现大多数智能家居系统存在很多缺陷,例如无法实时监控、及时发现问题、监控成本较高、无法实现远程控制。为了解决这些问题,改进智能家居实时监控性能迫在眉睫。本文基于STM32单片机设计了一款智能家居监控系统,硬件部分包括人体热释电感应电路、DS18B20温度测量电路、光照强度检测电路、按键电路、显示电路以及蓝牙模块电路。通过三种不同类型的传感器分别采集系统光照强度值、温度值以及是否有人,再由单片机对采集到的系统数据进行综合处理,并在实物测试环境下对系统的数据采集功能、模块控制功能等进行了测试。测试结果表明,测试效果良好,基本符合用户需求。
关键词:STM32单片机;人体热释;DS18B20;蓝牙
Abstract:
According to the current research status of smart home, it is found that most smart home systems have many defects, such as unable to real-time monitoring, timely detection of problems, high monitoring cost, remote control cannot be realized. In order to solve these problems, it is urgent to improve the real-time monitoring performance of smart home. This paper designs a smart home monitoring system based on STM32 microcontroller. The hardware part includes human pyroelectric induction circuit, DS18B20 temperature measurement circuit, light intensity detection circuit, key circuit, display circuit and Bluetooth module circuit. Through three different types of sensors to collect the system light intensity value, temperature value and whether there are people, and then by the single chip microcomputer to collect the system data for comprehensive processing, and in the physical test environment to the system data acquisition function, module control function, etc. The test results show that the test effect is good, basically meet the needs of users.
Key words: STM32 MCU; Human heat release; DS18B20; bluetooth
目 录
1 绪 论
1.1 研究背景及其研究意义
1.2 国内外研究现状
1.2.1 国内研究现状
1.2.2 国外研究现状
1.3 研究目标
2 系统方案设计
2.1 整体方案设计
2.2 主要器件选型选择
2.2.1 主控芯片方案选择
2.2.2 显示模块方案选择
2.2.3 无线传输模块
3 硬件电路设计
3.1 主控模块电路
3.2 热释电红外感应电路模块
3.3光照强度检测模块电路
3.4 环境温度检测模块电路
3.5 显示模块电路
3.6 电机驱动模块
3.7 按键电路
3.8 继电器控制模块
3.9 蓝牙模块电路
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 直流电机-MX1508驱动模块子流程
4.5 温度检测模块子流程
4.6 OLED显示流程设计
4.7 蓝牙模块子流程
5 实物调试
5.1 家居温度检测实物测试
5.2 家居光照强度检测实物测试
5.2 家居温度检测实物测试
5.3 蓝牙无线传输实物测试
6 总结与展望
致谢
参考文献
附录
附录A:原理图
附录B:PCB
附录C:主程序
购买后可查看具体内容!