Example 1. How Virtuino can communicate with an Ethernet module W5100, W5500 or ENC28J60 using the public MQTT broker HiveMQ
a. How connect the Arduino board an MQTT broker
b. How create a simple Virtuino MQTT project
Arduino code: https://virtuino.com/downloads/examples/virtuino_mqtt_HiveMQ_public_ethernet.zip
MQTT library:https://github.com/knolleary/pubsubclient
Example 2. How Virtuino can communicate with an an ESP8266 or ESP32 board using the public MQTT broker HiveMQ
a. How connect Virtuino to an MQTT broker
b. How upoload sensor values from an ESP8266 or ESP32 to an MQTT broker
c. Send commands using Virtuino to enable or disable the ESP8266 pins
Code example: https://virtuino.com/downloads/examples/virtuino_mqtt_HiveMQ_public_esp.zip
MQTT library: https://github.com/knolleary/pubsubclient
Example 3. Virtuino MQTT + HiveMQ example for ESP8266 or ESP32 board (private connection)
a. How connect Virtuino to the broker HiveMQ
b. How upoload sensor values from an ESP8266 or ESP32 to HiveMQ
c. Send commands using Virtuino to enable or disable the ESP8266 pins
Code example: https://virtuino.com/downloads/examples/virtuino_mqtt_HiveMQ_private_esp.zip
MQTT library: https://github.com/knolleary/pubsubclient
Example 4. How Virtuino MQTT can communicate with an an ESP8266 or ESP32 board using the MQTT broker Thingspeak
a. How configure Virtuino MQTT to communicate with an MQTT broker
b. How upoload sensor values to the Thingspeak MQTT broker from an ESP8266 or ESP32 board
c. How to send commands to enable or disable the ESP pins from an Android phone using Virtuino MQTT app
d. How communicate with the MQTT server Thingspeak.com
Download the example code from here: http://virtuino.com/downloads/examples/virtuinoMQTT_esp_thingspeak_example.zip