Physical network smart lights can synchronize data to users' mobile terminals in real time through the Internet, and users can also remotely control smart lights through mobile terminals. The smart light mainly consists of 3 parts: 1) GD32E231 as the main control, which can control peripherals; 2) ESP8266 as the Wifi communication module, responsible for transparently transmitting data between the main control and the BcServer server, and realizing data interaction with GD32E231 through the serial port; 3) LED lights, that is, peripherals, are controlled by GD32E231 using GPIO. Smart lights and Android APP use Beecom protocol (referred to as BC protocol) to transmit data to each other through the BcServer server.
This solution is based on the GD32E231 Cortex-M23 core MCU as the main control. The Wi-Fi module uses Essence's ESP8266 and is developed for secondary use. The LCD screen using the SPI interface displays relevant information. The peripheral circuit part uses simple LED lights. Buttons and sensors to complete the demonstration function with the MQTT server.