摘要
Wi-F i是广泛应用于物联网的无线通信技术,但具有传输功耗过高的缺陷,故提出一种基于NodeMCU的双向通信系统。在硬件上,NodeMCU搭载ESP8266-F12模块实现无线通信,可有效降低传输功耗;在软件上,NodeMCU模块灵活实现接入点(AP)、控制端(STA)及混合模式(AP+STA)配置,用户通过连接配置界面,可实现数据传输与设备控制需求;系统采用轻量化的JSON数据传输格式,具有方便、稳定的数据传输通道,有效实现了物联网系统云边端架构中的边—端环节,可方便地搭接到云平台,构成通信高效、功耗较低的物联网系统。
Wi-Fi is a common wireless communication technology applied to the Internet of Things,but it has the defect of high transmission power consumption.A two-way communication system based on NodeMCU is proposed.In terms of hardware,NodeMCU is equipped with ESP8266-F12 module to realize the wireless communication and effectively reduce the transmission power consumption.In terms of software,NodeMCU module can flexibly realize configurations including access point(AP),control end(STA)and hybrid mode(AP+STA),and users can realize data transmission and equipment control requirements through connection configuration interface.The system adopts lightweight JSON data transmission format,with convenient and stable data transmission channels,and effectively realizes the side-to-terminal link in the cloud side architecture of the Internet of Things system,which can be easily connected to the cloud platform to form an Internet of Things system with high efficiency communication and low power consumption.
作者
肖杨
林钊浩
XIAO Yang;LIN Zhao-hao(College of Mechatronics and Control Engineering,Shenzhen University,Shenzhen 518061,China)
出处
《工业技术创新》
2020年第4期80-84,共5页
Industrial Technology Innovation