Mind+ has an “extension” called “Network Services” that includes an “MQTT” module, which allows devices to communicate using the MQTT protocol.
Using this, you can simulate the publisher and subscriber in the IoT MQTT protocol with Mind+.The method is as follows:1. SIot (for Teacher’s Machine)1. Download and unzip the SIot software:https://mindplus.dfrobot.com.cn/siot2. Double-click to runSIoT_windows_1_2.exe, which will start the server; do not close it.
3. Copy the local address to the URL bar, adding :8080 at the end, for example: 192.168.23.2:80804. Enter the username and password on the login page
Username: siot
Password: dfrobot
5. The content is as follows:

2. Mind+ (for Student’s Machine)
1. Open Mind+ and save as “Publisher”
2. Add MQTT: “Extension” – “Network Services” – “MQTT”
3. Create a character and write something like “Click here to publish information”
4. Write a program for that character

5. In the MQTT initialization parameters, configure it reasonably, ensuring the server address is the Teacher’s machine running SIot; 7/Teacher, similar to the device called “Teacher” under project 7, allows students to change the content after / to the publisher’s name.

6. Save this file, changing the text on the character to something like “Click here to subscribe to the topic”.
7. Modify the program to the following content, ensuring the “MQTT initialization parameters” are consistent with the publisher.

8. Effect: The subscriber clicks on the character to confirm the subscription; the content published by the publisher will be received by the subscriber.