基于物联网技术的室内LED智能照明控制系统
下载后可任意编辑 本科毕业设计(论文) 题 目 基于物联网技术的室内 LED照明控制系统 姓 名 专 业 学 号 指导老师 二O一五年六月 下载后可任意编辑 目 录 中文摘要I 英文摘要II 前言III 1 智能照明系统关键技术分析1 1.1 物联网技术简介1 1.2 照明系统现状分析2 1.3 物联网下的智能照明2 2 总体方案设计5 2.1 系统的需求分析5 2.2 系统架构设计5 2.3 通信协议设计6 2.3.1协议数据帧格式6 2.3.2控制协议的具体实现7 3 硬件设计8 3.1 电源模块8 3.2 单片机最小系统10 3.3 WIFI模块10 3.3.1 ESP8266模块电路设计10 3.3.2 ESP8266模块特性11 3.3.3 ESP8266模块功耗11 3.4 按键输入模块电路的设计12 3.5 RGB 灯驱动电路设计12 3.5.1 WS2811主要特点13 3.5.2 WS2811概述13 3.5.3 WS2811管脚说明14 4 wifi模块使用16 4.1 工作模式16 4.2 AT指令集16 4.2.1 基础AT指令17 4.2.2 WiFi功能AT指令17 4.3.3 TCP/IP工具箱 AT指令19 5 软件设计26 5.1 软件总流程图26 5.2 RGB灯驱动程序编写27 5.3 WIFI驱动编写31 5.4 数据帧处理机制32 总 结40 致谢42 参考文献43 附录一 原理图44 附录二 实物图45 附录三 手机客户端操作界面截图46 下载后可任意编辑 基于物联网技术的室内LED照明控制系统 摘 要 WIFI是短距离、低成本无线通讯技术之一。它可以用于替代移动设备之间的通讯电缆,从而形成个人无线网络。它不仅使计算机和通信的融合成为可能,而且随着它的不断进步,还可以把家电、娱乐电子产品与计算机、通信系统的终端融为一体,使人们在家里、办公室或者公共场所就能实现统一的操作和控制,为办公室的自动化和家庭通信的实施制造了良好的条件。随着电子科学技术的迅速进展,特别是随着大规模集成电路的出现,给人类生活带来了根本性的改变。尤其是单片机技术的开发应用进展,现在产品几乎已经走进了千家万户。基于WIFI的手机控制多彩台灯设计正是响应当前无线控制进展浪潮设计的作品,其中涉及的WIFI无线通讯技术就是WIFI的典型应用,它的开发为后期讨论奠定了基础。本文从通过手机WIFI进行PWM控制的角度来进行设计的。本文介绍了一个WIFI控制的PWM调光RGB灯的系统结构及工作原理。具体阐述了PWM控制下的三基色混光原理;及利用先进WIFI技术控制下的工作原理,从而确定整个设计的方案和调试步骤。 关键词 WIFI;三基色混光;PWM控制;TCP/IP II 下载后可任意编辑 THINGS TECHNOLOGY INDOOR LED LIGHTING CONTROL SYSTEM Abstract WIFI is a short distance, one low-cost wireless communication technology. It can be used to replace the communication cable between the mobile device, thereby ing a personal wireless network. It not only makes the integration of computers and communications become possible, but as it continues to progress, but also integrated terminal appliances, entertainment electronics and computers, communication systems, right, so that people in the home, office or public place can be achieved unified operation and control for the implementation of office automation and home communications has created good conditions. With the rapid development of electronic science and technology, especially with the large-scale integrated circuits, to human life brought fundamental change. Especially the development and application of SCM technology development, product now almost into the household. Control Based WIFI phone colorful lamp design is responsive to current wave of development of wireless control design work, which involved a typical application WIFI wireless communication technology is WIFI, which developed the foundation for the later study.In this paper, by phone WIFI PWM control angle for design. This article describes the system structure and working principle of a WIFI control PWM dimming RGB lights. Specifically addressed the three primary colors mixed light under PWM control principle; and the use of advanced WIFI technology works under control in order to determine the overall design of the program and debug procedures. Key words WIFI; tricolor mixed light; PWM c