摘 要: 随着无线通信技术的快速发展,基于WIFI无线通信的物联网应用应运而生。本文设计一种基于ESP8266 的WIFI通信模块在NodeMCU物联网固件平台上,利用Lua脚本语言编程实现RGB三色灯的无线控制功能,并通过 ESP8266的WIFI通信模块的STA通信方式连接路由器和云平台服务器进行通信,实现云平台远程无线控制。实验结果表 明:该系统操作方便和可靠性强,应用范围广等优势,具有一定的应用前景。 |
关键词: ESP8266;NodeMCU;WIFI;RGB三色灯 |
中图分类号: TP273
文献标识码: A
|
基金项目: 江苏省高等职业院校专业带头人高端研修资助项目(编号2016GRFX048);2016年度江苏省现代教育技术研究课题“基于Zigbee和Openwrt的物联网实训平台在高职实 训教学中的应用研究”(编号:2016-R-49700),太仓市科技计划项目《基于物联网技术和WIFI通信的灾害救援机器人研制》(编号TC2016GY08)研究成果. |
|
Design and Implementation of the RGB Trichromatic Lamp Remote Control Based on the NodeMCU Firmware Platform |
WANG Hao,WANG Dong1,2
|
1.( 1.Suzhou Chien-shiung Institute of Technology Institute of Electrical Engineering, Taicang 215411, China;2. 2.Shanghai Jiaotong University Software Institute, Shanghai 200240, China)
|
Abstract: With the rapid development of wireless communication technology,the application of IOT(Internet Of Things)based on the WIFI wireless communication comes into being.The paper designs a system based on the ESP8266 WIFI communication module in the NodeMCU IOT firmware platform,and implements the wireless control on the RGB trichromatic lamp by using the Lua scripting language.As the router connection and the communication with the cloud server are implemented through the STA communication methods of the ESP8266 WIFI communication module,the cloud platform remote wireless control is achieved.The experimental results demonstrate that the system has good application prospects with the advantages of easy operation,high reliability and wide scope of application. |
Keywords: ESP8266;NodeMCU;WIFI;RGB trichromatic lamp |