QEC-M-02 Tips banner

[Technical Tips] Start Guide for QEC-M-02 MQTT Communication to Node-RED UI with 86EVA

In modern industrial automation and Industrial IoT environments, remote monitoring and control of devices have become increasingly important. Engineers often need an efficient way to collect device data, monitor system status, and control equipment through network-based platforms.

QEC-M-02 MQTT tips

In this start guide, we demonstrate how to use the QEC-M-02 together with the QEC-R11MP3S-N to communicate with an MQTT broker and visualize device data through a Node-RED dashboard.


Advantages of the Start Guides

  • Complete environment setupInstructions for installing the required tools, including the 86Duino IDE, MQTT broker, and Node-RED.
  • Example programsSample code demonstrating MQTT communication, motor control, digital I/O control, and device monitoring.
  • Node-RED dashboard integrationA ready-to-use Node-RED UI dashboard for visualizing device data through a web interface.
  • TroubleshootingCommon issues and solutions to help users quickly resolve development problems.

Start Using QEC-M-02 with MQTT and Node-RED UI

Before using the example programs and dashboard flow, please make sure Mosquitto and Node-RED have been installed correctly. If the environment is not ready yet, you can continue reading the following sections of this page for the setup instructions.

Click the links below to explore the available guides:


How to install Mosquitto Broker

This section describes the steps required to install the Mosquitto MQTT broker on Windows 11.

The broker provides the messaging service required for MQTT communication between devices, Node-RED, and other MQTT clients.

If MQTT broker is already installed and running in your environment, this section may be skipped.

Step 1: Download Mosquitto

Download Mosquitto from https://mosquitto.org/download/

QEC-M-02 MQTT1

Step 2: Run Mosquitto install

Run the installer and follow the installation wizard.

The default installation path is usually: C:\Program Files\mosquitto

QEC-M-02 MQTT2

Step 3: Start Mosquitto Broker

Open Command Prompt as an administrator and run: cd “C:\Program Files\mosquitto”

QEC-M-02 MQTT3

When the terminal is in the Mosquitto directory, run: mosquitto -v

If you see the following output in the terminal, Mosquitto has started successfully.

QEC-M-02 MQTT4

Step 4: Edit mosquitto.conf

When you have successfully installed and started the Mosquitto broker, you need to modify the mosquitto.conf file to allow external network connections to access the broker.

First, open Command Prompt as an administrator, then enter: notepad “C:\Program Files\mosquitto\mosquitto.conf”

Shopping Cart
Scroll to Top