Experience Sharing: Porting MQTT to STM32 for Alibaba Cloud IoT

Experience Sharing: Porting MQTT to STM32 for Alibaba Cloud IoT

IntroductionRecently, I tried the Alibaba Cloud IoT platform, which has quite powerful features. Here are some experiences I would like to share. Hardware lMicrocontroller: STM32F103C8T6 lNetwork Connection: ESP8266 WIFI Module lSensors: PM2.5 Sensor, Temperature and Humidity Sensor The sensor drivers and the WIFI module driver are relatively simple; previous articles have also introduced them, so … Read more

MQTT Server Installation Guide for Beginners

MQTT Server Installation Guide for Beginners

1. Install EMQX on Synology Docker (Refer to https://blog.csdn.net/weixin_43888891/article/details/122518479) SSH into Synology and obtain root privileges. 1. Download the EMQX image docker pull emqx/emqx 2. Start the container docker run -dit –name emqx -p 18083:18083 -p 1883:1883 -p 8083:8083 -p 8084:8084 emqx/emqx:latest 3. Access the EMQX web management page to change the password http://Synology IP … Read more

MQTT and Sparkplug B: Open Standards for IIoT

MQTT and Sparkplug B: Open Standards for IIoT

​ Author: Arlen Nipper, CirrusLink Solutions “ Implementing the Industrial Internet of Things (IIoT) using existing tools and advanced technologies is not as difficult as many people think. ” Today, there is a strong trend across almost every industry: CEOs, CTOs, and other executives want more data. Industrial enterprises are considering data operations, the development … Read more

Overview of BifroMQ Open Source MQTT Middleware Architecture

Overview of BifroMQ Open Source MQTT Middleware Architecture

In today’s Internet of Things (IoT) field, the MQTT protocol has become an indispensable key element, providing core technical support for efficient and real-time data transmission. However, the projects offering MQTT capabilities in the market are mainly concentrated on traditional, existing “out-of-the-box” IoT device management platforms, leading to insufficient attention and exploration of lower-level MQTT … Read more

Detailed Implementation of MQTT Protocol Code

Detailed Implementation of MQTT Protocol Code

The previous two articles discussed the basic decomposition process of the MQTT protocol. This chapter mainly discusses the implementation of specific messages. Since the message handling specifications are quite similar, we will introduce the Connect and Publish messages, which are relatively complex in the MQTT protocol. Understanding the protocol analysis of these two messages will … Read more

Choosing Real-Time Communication Protocols: MQTT, XMPP, WebSockets, or AMQP?

Choosing Real-Time Communication Protocols: MQTT, XMPP, WebSockets, or AMQP?

Wolfram Hempel is the co-founder of deepstreamIO, a German tech startup that provides high-performance, secure, and scalable real-time communication services for mobile clients and IoT devices. The text was translated by Wei Jia; please credit Gao Ke Yong Jian for reprints. Want to send a request to the server and get a response? Just use … Read more

Introduction to MQTT Protocol: The Cornerstone of IoT

Introduction to MQTT Protocol: The Cornerstone of IoT

This article is an excellent piece from the Kanxue forum. Author from Kanxue forumID: emqttx With the arrival of the 5G era, the grand vision of the Internet of Things (IoT) is becoming a reality. The number of connected IoT devices reached 7 billion in 2018[^1], and in the next two years, the number of … Read more

Robot Multi-Axis Synchronous Motion Control Based on EtherCAT

Robot Multi-Axis Synchronous Motion Control Based on EtherCAT

Robot Multi-Axis Synchronous Motion Control Based on EtherCAT With the development of industrial automation, the application of robots on production lines is becoming increasingly widespread. To achieve efficient and precise motion control, the multi-axis motion of robots must be capable of synchronized operation, which enhances the motion accuracy and stability of robots, leading to more … Read more

How EtherCAT Ensures High Efficiency, Real-Time, and Flexibility in Fieldbus Communication

How EtherCAT Ensures High Efficiency, Real-Time, and Flexibility in Fieldbus Communication

EtherCAT, as a real-time Ethernet solution, is favored in industrial automation applications due to its high performance. How does EtherCAT ensure high efficiency, real-time performance, and flexibility in fieldbus communication? This article will focus on its key analysis and explanation. Principle of EtherCAT EtherCAT (Ethernet Control Automation Technology) is a high-performance industrial network fieldbus system. … Read more

Fundamentals of EtherCAT Protocol (Part 1)

Fundamentals of EtherCAT Protocol (Part 1)

Click the blue text to follow us 1. Overview of EtherCAT 1. Features ① Open Technology EtherCAT, short for EtherNet Control Automation Technology, is a real-time Ethernet technology proposed by Beckhoff Automation in Germany. EtherCAT is an open but not open-source technology, meaning you can use this technology freely, but you need to obtain relevant … Read more