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.
![[Technical Tips] Start Guide for QEC-M-02 MQTT Communication to Node-RED UI with 86EVA QEC-M-02 MQTT tips](https://icop-shop.com/wp-content/uploads/2026/03/Tips-banner-2.png)
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:
- Start Guides :
QEC-M-02 MQTT Communication to Node-RED UI with 86EVA - Download 86Duino Example Programs :
1.QEC-MQTT-Connection
2.QEC-MQTT-MotorControl
3.QEC-MQTT-IOControl
4.QEC-MQTT-DeviceStatus - Download Node-RED UI Flow JSON :
1.QEC-MQTT-Connection.json
2.QEC-MQTT-MotorControl.json
3.QEC-MQTT-IOControl.json
4.QEC-MQTT-DeviceStatus.json
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/
![[Technical Tips] Start Guide for QEC-M-02 MQTT Communication to Node-RED UI with 86EVA QEC-M-02 MQTT1](https://www.icop.com.tw/datas/upload/files/NEWS/Resources/QEC-M-02_MQTT/MQTT1.png)
Step 2: Run Mosquitto install
Run the installer and follow the installation wizard.
The default installation path is usually: C:\Program Files\mosquitto
![[Technical Tips] Start Guide for QEC-M-02 MQTT Communication to Node-RED UI with 86EVA QEC-M-02 MQTT2](https://www.icop.com.tw/datas/upload/files/NEWS/Resources/QEC-M-02_MQTT/MQTT2.png)
Step 3: Start Mosquitto Broker
Open Command Prompt as an administrator and run: cd “C:\Program Files\mosquitto”
![[Technical Tips] Start Guide for QEC-M-02 MQTT Communication to Node-RED UI with 86EVA QEC-M-02 MQTT3](https://www.icop.com.tw/datas/upload/files/NEWS/Resources/QEC-M-02_MQTT/MQTT3.png)
When the terminal is in the Mosquitto directory, run: mosquitto -v
If you see the following output in the terminal, Mosquitto has started successfully.
![[Technical Tips] Start Guide for QEC-M-02 MQTT Communication to Node-RED UI with 86EVA QEC-M-02 MQTT4](https://www.icop.com.tw/datas/upload/files/NEWS/Resources/QEC-M-02_MQTT/MQTT4.png)
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”





