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

Solutions for Failed Installation of ESP8266 Development Board on Arduino

Solutions for Failed Installation of ESP8266 Development Board on Arduino

Arduino: Having Trouble Installing ESP8266? 🤔 1. Why Does Arduino Report Errors When Installing ESP8266? Many users encounter various errors when trying to install the ESP8266 development board using the Arduino IDE. This is often due to network issues that prevent the necessary packages from being downloaded smoothly. 😥 2. One Solution: Switch to a … Read more

Detailed Explanation of the Communication Process and Usage of the ESP8266 WiFi Module in Smart Home Projects

Detailed Explanation of the Communication Process and Usage of the ESP8266 WiFi Module in Smart Home Projects

1. Introduction to ESP8266 The ESP8266 is a low-power, highly integrated WiFi SoC chip launched by Espressif Technology. It has a built-in TCP/IP protocol stack and supports STA (Station), AP (Access Point), and STA+AP mixed modes, allowing it to function independently as a master MCU or in conjunction with other controllers (such as STM32 or … Read more

DIY a Low-Cost Multifunctional Dot Matrix Clock

DIY a Low-Cost Multifunctional Dot Matrix Clock

Today, I would like to share a comprehensive DIY tutorial: A multifunctional dot matrix clock based on ESP8266. Introduction I have known about the ESP8266 for a long time, and I have used it to create some small demos, but I never thought about making something practical, perhaps because I consider myself a novice! Recently, … Read more

STM32 Project Share: Air Quality Detection System

STM32 Project Share: Air Quality Detection System

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1DEC5YuEvh/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for data sharing) 01 — Project Introduction 1. Function Details STM32 Air Quality Detection System The functions are as follows: DHT11 temperature and humidity sensor detects air temperature and humidity information MQ-7 carbon monoxide sensor detects carbon monoxide content Formaldehyde … Read more

STM32 Project Share: Smart Home Appliance Control System

STM32 Project Share: Smart Home Appliance Control System

Project Finished Product Image: Bilibili Video Link: https://www.bilibili.com/video/BV1hZBBYwEHb/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See end of article for resource sharing) 01 — Project Introduction 1. Function Details STM32 Smart Home Appliance Control System Functions are as follows: STM32F103C8T6 microcontroller board as the main control unit Display function: Real-time display of temperature and humidity data on OLED screen Automatic control: Determine … Read more

Water Quality Detection Based on ESP8266 (MQTT Reporting Mini Program and HA)

Water Quality Detection Based on ESP8266 (MQTT Reporting Mini Program and HA)

In the previous article, we discussed reading data from water quality sensors based on Arduino. For details, you can read the historical articles. However, due to the limitations of Arduino, it cannot upload data to the network. Therefore, this article presents a method for configuring a water quality sensor based on ESP8266 for data reporting. … Read more

STM32 OTA Example with ESP8266: Are You Using It Correctly?

STM32 OTA Example with ESP8266: Are You Using It Correctly?

Introduction In this section, we will discuss the WiFi chip ESP8266 used in the STM32 FOTA example. This involves the ESP-01 WiFi module based on the ESP8266 chip, developed by Ai-Thinker. In the STM32 FOTA Demo project, we use it to achieve wireless communication. First, let’s get to know this module, and then we will … Read more

Arduino IoT Project: Uploading Temperature and Humidity Data to the Cloud with Alerts

Arduino IoT Project: Uploading Temperature and Humidity Data to the Cloud with Alerts

Today, we are going to create something practical! I will teach you how to use Arduino to make a device that measures temperature and humidity. Not only can the data be uploaded to the cloud, but if it gets too humid or hot enough to fry an egg, it will also sound an alarm to … Read more

Connecting to Aliyun MQTT via LAN and WAN: ESP8266 Debugging Steps

Connecting to Aliyun MQTT via LAN and WAN: ESP8266 Debugging Steps

4.1 LAN Debugging Hardware Preparation: ESP8266-01S module and ESP debugger Use your phone to create a 2.4G Wi-Fi hotspot (5G is not allowed); Connect your computer to the phone’s Wi-Fi hotspot, and also connect the ESP8266 to the Wi-Fi hotspot; Send the command AT+CIFSR to the ESP8266 to query its IP address, which should return … Read more