Detailed Explanation of the ESP8266-01S Module and Practical MQTT Firmware Programming

Detailed Explanation of the ESP8266-01S Module and Practical MQTT Firmware Programming

Introduction This content is an important chapter in the STM32 FreeRTOS smart home project. Through this content, you will master IoT applications based on the ESP8266 Wi-Fi module with STM32. The cloud platform used in this session is Alibaba Cloud. This lays the foundation for subsequent hardware control through an app designed with Android Studio. … Read more

Connecting the ESP8266 WiFi Module to Huawei Cloud via MQTT Protocol

Connecting the ESP8266 WiFi Module to Huawei Cloud via MQTT Protocol

Command Description Basic AT Commands AT: Test AT startup. AT+RST: Restart the module. ATE: Enable or disable AT echo function. WiFi Connection Related Commands AT+CWMODE: Query/set Wi-Fi mode (Station/SoftAP/Station+SoftAP). AT+CWJAP: Connect to the specified WiFi network. MQTT Configuration Commands AT+MQTTUSERCFG: Set MQTT user attributes. AT+MQTTLONGCLIENTID: Set MQTT client ID. AT+MQTTLONGUSERNAME: Set MQTT login username. AT+MQTTLONGPASSWORD: … Read more

IoT Communication Protocols: A Quick Guide to the “Language Translators” of Devices

IoT Communication Protocols: A Quick Guide to the "Language Translators" of Devices

Today, we are going to talk about the secret language that allows devices to “speak”—the IoT communication protocols. Don’t be intimidated by this technical term; they are essentially the “WeChat” and “WhatsApp” of the device world, with some being energy-efficient, some being fast, and others being social butterflies (supporting multi-device chatting). 1. IoT Protocols: The … Read more

Qt Announces New Bridging Technology for Languages like Rust

Qt Announces New Bridging Technology for Languages like Rust

Abstract: Qt Group has announced a significant expansion of the Qt platform and ecosystem. At the Qt World Summit in May 2025, Qt Group unveiled an innovative bridging technology aimed at facilitating seamless integration of Qt with various programming languages. The Origin of the New Bridging Technology Qt’s origins trace back to the C++ ecosystem. … Read more

Installing the QT Development Environment on Linux

Installing the QT Development Environment on Linux

Installing the QT Development Environment on Linux 0. Downloading the Installation Package You can download all versions of QT from the following website: https://download.qt.io/ This demonstration installs version 5.9.0, which is a long-term support version, so navigate to archive/qt/5.9/5.9.0 Here, we are on Linux, so select the Linux version of the installation package, click the … Read more

Qt Embedded Programming Techniques

Qt Embedded Programming Techniques

1. Overview of Qt Embedded Development Qt/Embedded Linux (now known as Qt for Device Creation) is a version of Qt optimized for embedded systems, featuring the following characteristics: No need for the X Window System, using its own window system QWS (Qt Window System) Customizable compilation, removing unnecessary modules Supports multiple processor architectures (ARM, MIPS, … Read more

Open Source Solution: Allwinner D1s Smart Home Control (86 Box)

Open Source Solution: Allwinner D1s Smart Home Control (86 Box)

Project Name: Allwinner D1s Smart Home Control Virtual Light Rendering Interaction (86 Box) Project Author: It’s Xiaoye~ Introduction Every time before going to bed, I have to prepare for a “100-meter” sprint(to the bed).Never mind, I can’t be too bold˙Ⱉ˙ฅEven after lying in bed, I still think, ah, did I turn off the bathroom light? … Read more

ESP32 MicroPython MQTT Development and Testing

ESP32 MicroPython MQTT Development and Testing

1. Connecting ESP32 to the Network Before performing MQTT communication, the ESP32 needs to connect to a WiFi network. Below is the code to connect to WiFi: import network import time def connect_wifi(ssid, password): # Create WiFi client interface wlan = network.WLAN(network.STA_IF) wlan.active(True) # Check if already connected if not wlan.isconnected(): print('Connecting to network…') wlan.connect(ssid, … Read more

Basic Analysis of MQTT Protocol in Embedded Systems

Basic Analysis of MQTT Protocol in Embedded Systems

1.1What is MQTT MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol based on the publish/subscribe model. It is built on top of the TCP/IP protocol and was released by IBM in 1999, with the latest version being v3.1.1. The greatest advantage of MQTT is its ability to provide real-time and reliable messaging services … Read more

Detailed Explanation of MQTT Message Structure and Python Reading Methods

Detailed Explanation of MQTT Message Structure and Python Reading Methods

Detailed Explanation of MQTT Message Structure and Python Reading Methods Introduction In the field of the Internet of Things (IoT), the MQTT (Message Queuing Telemetry Transport) protocol is favored for its lightweight and efficient nature. This article will provide a detailed analysis of the composition of MQTT messages and introduce how to read MQTT message … Read more