---
title: "EMQX Public Broker & MQTTX: Key Advantages and Operation Guide"
url: "https://maker.wiznet.io/ruilixin6/projects/emqx-public-broker-mqttx-key-advantages-and-operation-guide/"
markdown_url: "https://maker.wiznet.io/ruilixin6/projects/emqx-public-broker-mqttx-key-advantages-and-operation-guide/md"
type: "UCC: User Created Content"
author: "FreakStudio"
author_url: "https://maker.wiznet.io/ruilixin6/"
original_author: "Freakstudio"
original_url: "https://f1829ryac0m.feishu.cn/drive/folder/Fh5Eftd3WlbEIIdHGdtcSsIgn7c?from=frw"
published: "2026-08-24"
language: "en"
tags: ["EMQX MQTT Broker MQTTX Too"]
likes: 0
views: 68
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# EMQX Public Broker & MQTTX: Key Advantages and Operation Guide

> EMQX public‑broker merits and MQTTX usage.

Original author: Freakstudio (source: https://f1829ryac0m.feishu.cn/drive/folder/Fh5Eftd3WlbEIIdHGdtcSsIgn7c?from=frw)

## Article

【Preliminary Note】The original hardware example in this article was written based on the RP2040. The actual hardware used in this hands-on demonstration features the W55RP20 as the main controller chip. The circuit logic and UF2 flashing operation principles are universally applicable, with only the main controller model differing. The original chip model mentioned in the circuit descriptions below is provided for reference purposes only.

![](https://maker.wiznet.io/upload/ckeditor5/383111824%5F1787564426%2Epng)

According to deployment methods, MQTT Broker message‑broker servers can be divided into the following categories:

On‑premises deployed MQTT Broker Deployed on local servers or private data centers with full user‑control. Suitable for scenarios requiring high data‑privacy or low external‑network dependency. Users need to manage and maintain hardware and software environments by themselves. Common on‑premises MQTT Brokers include Eclipse Mosquitto, EMQX, VerneMQ and so on.

Cloud‑hosted MQTT Broker Hosted on cloud‑provider platforms. Users do not need to manage underlying hardware and infrastructure. Pay‑as‑you‑go pricing, ideal for elastic scaling and fast deployment. Usually integrated with other cloud services such as data storage, analytics and security. Common cloud‑hosted MQTT Brokers include AWS IoT Core, Microsoft Azure IoT Hub, Google Cloud IoT Core, IBM Watson IoT Platform and so on.

Hybrid‑deployment MQTT Broker Combines advantages of on‑premises and cloud services. Part of data‑processing runs locally while some data can be synced via cloud. Fits scenarios requiring edge‑computing features or high network‑fault‑tolerance. Common hybrid‑deployment MQTT Brokers include AWS Greengrass, Azure IoT Edge, EMQX Edge and so on.

Embedded‑deployment MQTT Broker Light‑weight, designed for resource‑constrained embedded systems. Deployed on IoT devices, gateways or edge hardware. Mostly used for local‑area‑network device‑to‑device communication, suited for IoT use‑cases demanding low‑latency, local processing and fast response. Common embedded‑deployment MQTT Brokers include NanoMQ, Moquette, Eclipse Paho.

In this document we use the free public MQTT Broker provided by EMQ. This broker is built upon EMQX Cloud, a fully‑managed MQTT cloud service delivering highly‑reliable and scalable MQTT communication capabilities.

We will use the MQTTX client software to connect to EMQ. Open MQTTX, click the plus sign on the left sidebar to create a new client connection. Follow steps shown in the figure below:

![1.PNG](http://openwrite.cn/uploads/21597/63805/a752b168-6b2e-4c1b-b9ca-7469647e36ec.png)

Set the parameters as follows:

```plaintext
Connection Name：FreakStudioConnect
Client ID：FreakStudioMQTTX
Host：mqtt://broker.emqx.io
Port：1883
MQTT Version：3.1.1
```

Set Clean Session to True. This means when the client reconnects after going offline, it will not receive messages published during its offline period.

The interface shown below indicates successful connection creation:

![2.PNG](http://openwrite.cn/uploads/21597/63805/41f8c771-8a45-4c35-a432-6776ee6a9f8f.png)

After connection creation completes you enter the main connection page. Click the collapse button next to the connection name on top to expand basic configuration items for quick modification of common settings. Changes take effect after disconnecting and reconnecting. While disconnected you may also click the settings button on the right to access advanced connection‑configuration options.

![3.PNG](http://openwrite.cn/uploads/21597/63805/f51525f2-8d8b-4c3e-b63e-f4ceb383fc13.png)

Next we carry out two experiments: create an MQTT client on Raspberry Pi Pico, select topics for message publishing and subscribing.

Note: To run the MQTT‑client experiment normally, the Ethernet port of the W5500 module must be connected to a router.

---

Source: https://maker.wiznet.io/ruilixin6/projects/emqx-public-broker-mqttx-key-advantages-and-operation-guide/
