设计说明书
总字数:14000+
摘 要
随着通信技术和控制技术的快速升级,人们对家居生活的硬件设施的需求越来越高,智能灯光控制系统也快速的走进普通老百姓的家中,不仅为人民的日常生活增添色彩,还为人们的生活提供便捷,但是,当前照明灯长明现象十分严重,不仅造成电能的浪费,还严重影响人们正常的休息。为此,智能灯光控制系统的研究和开发迫在眉睫。为了有效解决照明灯长明现象,本文采用单片机配合传感器技术,设计一款智能灯光控制系统。在智能灯光控制系统的设计过程中,采用STM32单片机作为主控芯片,采用两个光敏电阻检测室内光照和室外光照,当室外光照比较高,室内光照比较低时,自动打开窗帘进行补光,当室外光照比较低,室内光照比较低时,自动开灯进行补光,与此同时,还可以通过按键可设置室内、室外光照最小值、手动开关窗帘、开关灯、切换模式。最后,从系统集成和应用方面对该系统进行实物测试,实物测试表明,该系统的功能实现良好,且具备较强的实用性、可扩展性和可操作性,该系统可以通过WiFi模块实现手机控制系统进行模式切换、阈值设置、照明灯开关、窗帘开关等控制功能,从而实现家居环境的自动控制功能。该智能灯光控制系统的研究,不仅有效节约了电能,还将推动智能家居系统的快速发展。
关键词:灯光控制;光敏电阻;STM32单片机;WiFi
ABSTRACT
With the rapid upgrade of communication technology and control technology, people’s demand for hardware facilities of home life is getting higher and higher, intelligent lighting control system is also quickly into the homes of ordinary people, not only to add color to People’s Daily life, but also to provide convenience for people’s lives, however, the current lighting phenomenon is very serious, not only cause the waste of electric energy, It also seriously affects people’s normal rest. Therefore, the research and development of intelligent lighting control system is imminent.In order to effectively solve the phenomenon of lighting, this paper uses single-chip microcomputer with sensor technology to design an intelligent lighting control system. In the design process of intelligent lighting control system, STM32 single chip microcomputer is used as the main control chip, and two photoresistors are used to detect indoor and outdoor light. When outdoor light is relatively high and indoor light is relatively low, the curtain is automatically opened for light filling. When outdoor light is relatively low and indoor light is relatively low, the light is automatically turned on for light filling. You can also set the minimum indoor and outdoor light, manually switch curtains, turn lights on and off, and switch modes by pressing buttons.Finally, from the aspect of system integration and application, the physical test of the system shows that the function of the system is well realized, and has strong practicability, scalability and operability. The system can realize the control functions of the mobile phone control system through the WiFi module for mode switching, threshold setting, lighting switch, curtain switch and other control functions. Thus realize the home environment automatic control function. The research of the intelligent lighting control system not only effectively saves electric energy, but also promotes the rapid development of smart home systems.
Key words: lighting control; Photoresistor; STM32 MCU; WiFi
目 录
第一章 绪论
1.1 研究背景及其目的意义
1.2 国内外发展现状
1.3 系统的主要功能及框架结构
1.3.1主要功能
1.3.2本文框架结构
第二章 系统方案设计
2.1 主要元器件选择
2.1.1 主控芯片方案选择
2.1.2 显示模块方案选择
2.1.3 光敏检测模块方案选择
2.1.4 按键模块方案选择
2.1.5 无线传输模块方案选择
2.2 系统总体设计思路
第三章 硬件电路设计
3.1 控制模块电路
3.2 光照强度监测模块电路
3.3 步进电机驱动电路模块
3.4 LED照明模块电路
3.5 液晶显示模块
3.6云平台无线通信模块
3.7 按键模块电路
第四章 系统程序设计
4.1 编程软件简介
4.2 系统主流程设计
4.3独立按键
4.4 OLED显示流程设计
4.5步进电机子流程
4.6WiFi模块子流程设计
第五章 系统测试
5.1 实物焊接
5.2 自动控制窗帘和照明灯开关实物测试
5.3 手动控制窗帘和照明灯开关实物测试
5.4 WiFi模块测试
结 论
致 谢
参考文献
附录
附录1:原理图
附录2:PCB
附录3:主程序
购买后可查看具体内容!