It provides a one-stop operation and maintenance agency and MQTT 5.0 access service with a uniquely isolated environment. EMQ X Cloud is an MQTT IoT cloud service platform with security launched by EMQ. In this project, we will implement connecting ESP8266 to free public MQTT broker operated and maintained by EMQ X MQTT Cloud, and programming ESP8266 by using Arduino IDE. ESP8266 has a complete and self-contained Wi-Fi network function, which can be applied independently or can run as a slave at another host MCU. Its low-power, compact design, and high stability can meet user's requirements. It dedicates to achieve a balance between flexibility and hardware/network resources for the IoT developer.ĮSP8266 provides a highly integrated Wi-Fi SoC solution. MQTT is a lightweight and flexible protocol to exchange IoT messages and deliver data.