Skip to content

Arduino MQTT IPv6

Arduino MQTT is available via IPv6.

WIZnet

Published May 31, 2023

Original author: Taylor.AnOriginal source (new tab)

Arduino MQTT IPv6

Components

Hardware components

Project description

WIZnet Ethernet Library

The WIZnet arduino-mqtt IPv6 branch requires the WIZnet Ethernet Library IPv6 branch.

Download

Go to the WIZnet arduino-mqtt Github and choose the IPv6 branch.

WIZnet arduino-mqtt IPv6

Arduino MQTT IPv6, Download
 
Arduino MQTT IPv6, Download
 

If you don’t want to use any git client, you can choose Download ZIP.

Arduino MQTT IPv6, Download
 

No sign-in required and no sign-up required.

Arduino MQTT IPv6, Download
 

Extract

Copy an arduino-mqtt-IPv6.zip downloaded and paste to Arduino User Library directory.

Arduino MQTT IPv6, Extract
 

Extract an arduino-mqtt-IPv6.zip and rename to arduino-mqtt. The directory name must be arduino-mqtt.

Arduino MQTT IPv6, Extract
 

The following is tree view after extracted and renamed.

Arduino MQTT IPv6, Extract
 

Run

Now you can run the Arduino IDE and just Choose File -> Examples -> MQTT -> W6100EthernetShield.

You can see the W6100EthernetShield of WIZnet arduino-mqtt.

Arduino MQTT IPv6, Run
 

After Upload, you can see the network information messages via Serial Monitor.

This W6100EthernetShield example connects to test.mosquitto.org via IPv6. And it publishes to topic of W6100. It also subscribes topic of W6100.

Arduino MQTT IPv6, Run
 

HIVEMQ Web Socket Client

You also subscribe it at any place via web browser.

Run web browser and access HIVEMQ Web Socket Client.

HIVEMQ Web Socket Client
 

Set Connection Host, Port

  • Host : test.mosquitto.org
  • Port : 8080
HIVEMQ Web Socket Client
 

And Connect

HIVEMQ Web Socket Client
 

Finally, you can subscribe W6100 topic.

HIVEMQ Web Socket Client
 

And you can see the message from test.mosquitto.org which W6100EthernetShield published.

HIVEMQ Web Socket Client

Documents

  • WIZnet arduino-mqtt - IPv6 Branch

  • WIZnet Ethernet Library - IPv6 Branch

  • W6100 MKR-Ethernet Shield Schematic

Comments

Similar projects you might like

Comments