设计说明书
总字数:16000+
摘要
随着智能家居理念的普及和人们对生活便捷性、舒适性需求的提升,照明系统作为家居环境的核心组成部分,其智能化控制已成为家居升级的重要方向。传统照明系统多依赖手动开关控制,存在操作不便、能源浪费等问题 —— 例如夜间进门需摸索开关,或忘记关灯导致长时间能耗;同时,缺乏对环境变化的自适应调节能力,难以满足不同场景下的照明需求。因此,研发一种兼顾便捷控制、状态监测与自动适配功能的智能照明监控系统十分必要。
本设计提出了一种基于 STM32F103C8T6 单片机的智能照明监控系统。系统主要功能包括:通过 SU-03T 语音识别模块实现语音控制,可分别控制卧室灯、客厅灯、厨房灯、卫生间灯的开关;借助 ECB02 蓝牙模块与手机端通信,用户通过手机可远程控制上述四盏灯的开关;通过 OLED 显示屏实时显示所有灯的开关状态,同时支持通过按键现场控制各灯的开关;通过 D203S 人体热释电感应模块检测门口是否有人,结合 5516 光照检测模块检测的光照强度,当检测到有人且光照过低时,自动打开门口过道灯,若 10 秒内未检测到人则自动关闭。
该基于 STM32 的智能照明监控系统的作用在于,为用户提供了一种多交互方式、自适应环境的智能照明解决方案。通过语音、手机、按键多维度控制,提升了照明操作的便捷性;通过状态显示与自动启停功能,实现了照明状态的可视化监测与能源节约,进一步优化家居生活体验,推动智能家居的普及应用。
关键词:STM32F103C8T6;智能照明;多方式控制;人体感应;光照检测
Intelligent Lighting Monitoring System Based on STM32
Abstract
With the popularization of smart home concepts and the increasing demand for convenience and comfort in people’s lives, the intelligent control of lighting systems, as the core component of home environments, has become an important direction for home upgrades. Traditional lighting systems rely heavily on manual switch control, which poses problems such as inconvenient operation and energy waste – for example, having to fumble for the switch when entering at night, or forgetting to turn off the lights, resulting in long-term energy consumption; At the same time, the lack of adaptive adjustment ability to environmental changes makes it difficult to meet the lighting needs in different scenarios. Therefore, it is necessary to develop an intelligent lighting monitoring system that balances convenient control, status monitoring, and automatic adaptation functions.
This design proposes an intelligent lighting monitoring system based on STM32F103C8T6 microcontroller. The main functions of the system include: implementing voice control through the SU-03T voice recognition module, which can control the on/off of bedroom lights, living room lights, kitchen lights, and bathroom lights separately; By using ECB02 Bluetooth module to communicate with the mobile phone, users can remotely control the on/off of the four lights mentioned above through their mobile phone; Real time display of the on/off status of all lights through OLED display screen, while supporting on-site control of the on/off status of each light through buttons; By using the D203S human body pyroelectric induction module to detect whether there is a person at the door, combined with the light intensity detected by the 5516 light detection module, when a person is detected and the light is too low, the aisle light at the door will automatically turn on. If no person is detected within 10 seconds, it will automatically turn off.
The function of the STM32 based intelligent lighting monitoring system is to provide users with a multi interaction and adaptive environment intelligent lighting solution. Multi dimensional control through voice, mobile phone, and buttons has improved the convenience of lighting operations; Through status display and automatic start stop function, visual monitoring of lighting status and energy conservation have been achieved, further optimizing the home living experience and promoting the popularization and application of smart homes.
Keywords:STM32F103C8T6; Intelligent lighting; Multi mode control; Human body sensing; Light detection
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 语音识别模块电路设计
3.4 蓝牙通信模块电路设计
3.5 人体感应与光照检测模块电路设计
3.6 LED 灯控制模块电路设计
3.7 显示模块电路设计
3.8 按键模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 光照检测模块子流程设计
4.5 语音识别模块子流程设计
4.6 人体热释电感应模块子流程设计
4.7 OLED显示流程设计
4.8 蓝牙模块子流程
4.9 LED灯亮度调节子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 语音控制功能测试
5.3 蓝牙控制与显示功能测试
5.4 按键控制功能测试
5.5 过道灯自动控制功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!