设计说明书
总字数:13000+
摘要
随着人们生活品质的提升,家居照明的智能化与便捷性成为改善生活体验的重要方面。传统小夜灯多采用手动开关,亮度固定,无法根据环境变化和人体活动自动调节,难以满足个性化、节能化的使用需求。
基于 STC89C52 单片机的智能小夜灯控制系统,整合了 5516 光照检测模块、D203S 人体热释电模块、SU-03T 语音识别模块、按键及小夜灯执行设备,实现了小夜灯的自动化控制与智能调节。系统核心功能包括:通过 5516 光照检测模块监测光照强度,当光照强度小于最大值且检测到人时自动打开小夜灯,并根据光照强度自动调节亮度(光照小于最小值时最亮),光照大于最大值时自动关灯;通过 D203S 检测是否有人,人离开后切换为自动模式;借助 SU-03T 语音识别模块,实现语音控制灯的开关、颜色切换及亮度调节;支持通过按键控制灯的颜色和亮度。
该系统的实现,有效提升了小夜灯的智能化水平,实现了根据环境和人体活动的自动调节,满足了个性化使用需求,同时为同类智能照明设备的研发提供了参考,具有较高的实际应用价值。
关键词:STC89C52;智能小夜灯;控制系统;传感器;语音识别;自动调节
ABSTRACT
With the improvement of people’s quality of life, the intelligence and convenience of home lighting have become important aspects to enhance the living experience. Traditional night lights mostly use manual switches with fixed brightness, which cannot be automatically adjusted according to environmental changes and human activities, making it difficult to meet the personalized and energy-saving needs.
The intelligent night light control system based on STC89C52 single-chip microcomputer integrates 5516 light detection module, D203S human pyroelectric module, SU-03T voice recognition module, buttons and night light execution equipment, realizing the automatic control and intelligent adjustment of the night light. The core functions of the system include: monitoring the light intensity through the 5516 light detection module, automatically turning on the night light when the light intensity is less than the maximum value and a person is detected, and automatically adjusting the brightness according to the light intensity (the brightest when the light is less than the minimum value), and automatically turning off the light when the light is greater than the maximum value; detecting whether there is a person through D203S, and switching to automatic mode after the person leaves; realizing voice control of the light’s on/off, color switching and brightness adjustment with the help of SU-03T voice recognition module; supporting the control of the light’s color and brightness through buttons.
The implementation of this system has effectively improved the intelligence level of the night light, realized automatic adjustment according to the environment and human activities, met personalized needs, and also provided a reference for the research and development of similar intelligent lighting equipment, with high practical application value.
Keywords:STC89C52; intelligent night light; control system; sensor; voice recognition; automatic adjustment
目录
第1章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 光照检测模块选择
2.1.3 人体热释电模块选择
2.1.4 语音识别模块选择
2.1.5 按键模块选择
2.1.6 小夜灯执行模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 光照检测模块电路
3.3 人体热释电模块电路
3.4 语音识别模块电路
3.5 按键模块电路
3.6 RGB LED 驱动电路
3.7 模数转换模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 ADC模数转换子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 光照检测模块功能测试
5.3 人体热释电模块功能测试
5.4 语音识别模块功能测试
5.5 按键模块功能测试
5.6 RGB LED 模块功能测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!