设计说明书
总字数:14000+
本论文致力于设计和实现一款基于单片机的家居无线测控系统。该系统集成了DHT11温湿度传感器和MQ-2烟雾传感器,旨在实现温湿度和烟雾浓度的实时监测。系统配备声光报警装置,当温湿度超出预设范围或烟雾浓度过高时,会发出警报并通过蓝牙模块发送相应提示信息至用户手机,提醒用户注意室内环境状况。同时,通过按键设置不同阈值,用户可个性化定制报警参数。LCD1602显示屏实时展示各项测量数据,让用户轻松了解室内情况。最后,蓝牙通信技术实现了将所有监测数据传送至手机端,为用户提供更便捷的数据访问途径。
关键词:单片机;家居无线测控系统;DHT11;MQ-2;声光报警;LCD1602;蓝牙通信
This paper aims to design and implement a home wireless monitoring and control system based on a microcontroller. The system integrates the DHT11 temperature and humidity sensor and the MQ-2 smoke sensor, with the goal of achieving real-time monitoring of temperature, humidity, and smoke concentration. Equipped with a sound and light alarm device, the system emits an alert when the temperature and humidity exceed the preset range or when the smoke concentration becomes too high. It then utilizes a Bluetooth module to send corresponding alert messages to the user’s mobile phone, reminding them to pay attention to the indoor environment. Additionally, users can customize alarm parameters by setting different thresholds through buttons. The LCD1602 display screen provides real-time visualization of various measurement data, allowing users to easily understand the indoor conditions. Lastly, Bluetooth communication technology enables the transmission of all monitoring data to the user’s mobile phone, providing a more convenient way to access data.
Keywords: Microcontroller; Home wireless monitoring and control system; DHT11; MQ-2; Sound and light alarm; LCD1602; Bluetooth communication.
目录
基于单片机的家居无线测控系统设计
摘要
Abstract
第一章 绪论
1.1课题设计背景与意义
1.2国内外发展历程
1.3研究目标及预期功能
第二章 设计思路与方案选择
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 烟雾检测模块方案选择
2.1.3 温湿度检测模块方案选择
2.2整体设计方案
第三章 硬件设计
3.1主控电路模块
3.2烟雾检测电路模块
3.3 温湿度检测电路模块
3.4 蓝牙无线传输模块
3.5 显示电路模块
3.6 声光报警电路模块
3.7 独立按键电路模块
第四章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温湿度检测模块子流程
4.5 A/D模数转换子流程
4.6 LCD1602液晶显示子流程
4.7 蓝牙模块子流程
第五章 仿真测试
5.1整体仿真测试
5.2环境温度检测仿真测试
5.3 环境湿度检测仿真测试
5.4 烟雾浓度监测仿真测试
第六章 实物测试
6.1整体实物测试
6.2环境温度检测实物测试
6.3 环境湿度检测实物测试
6.4 烟雾浓度监测实物测试
第七章 总结与展望
致谢
参考文献
附录
附录一 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!