Skip to Content
First Steps with MQTT

First Steps with MQTT

MQTT is how machine data reaches SCADA systems, historians and cloud platforms. This course explains how publish/subscribe works, how to install and secure an Eclipse Mosquitto broker, and how to connect Arduino, ESP32 and Raspberry PLCs as MQTT clients.

What you will be able to do

  • Explain topics, QoS, retained messages and last will, and design a topic structure.
  • Install a Mosquitto broker on a PLC and protect it with authentication.
  • Publish and subscribe from Arduino and ESP32 PLCs over Ethernet and Wi-Fi.
  • Connect a Raspberry PLC as an MQTT client.

Who it is for

Integrators and engineers who bring PLC data to dashboards, SCADA or the cloud. Basic programming knowledge is enough.

See the PLC range at www.industrialshields.com.

Responsible Support Team
Last Update 17/10/24
Completion Time 2 hours 24 minutes
Members 129
Basic mqtt
  • Introduction
    1Lessons · 30 min
    • MQTT basics: publish/subscribe, topics, QoS and security
      10 xp
  • How to use
    4Lessons · 1 hr 54 min
    • Eclipse Mosquitto: install a broker and secure it
      10 xp
    • MQTT client on Arduino and ESP32 PLCs over Ethernet
      10 xp
    • MQTT client on ESP32 PLCs over Wi-Fi
      10 xp
    • MQTT client on Raspberry PLCs
      10 xp