Hans-Petter Halvorsen



Message Queueing Telemetry Transport (MQTT) is an IoT protocol MQTT is used in applications with thousands of sensors. MQTT is efficient in terms of bandwidth, battery, and resources. MQTT uses a publish/subscribe model.


The 3 main parts of a MQTT system is:

See Figure below.

MQTT has become the defacto IoT communication protocol. This means if you want to work with IoT projects, you will sooner or later need to use this protocol.

For more details and practical examples regarding MQTT, see the resources below.

Introduction to MQTT with Practical Examples:

MQTT (YouTube) + PowerPoint (PDF)


MQTT with Python

Python is an open source and cross-platform programming language, that has become increasingly popular over the last ten years. It was first released in 1991. CPython is the reference implementation of the Python programming language. Written in C, CPython is the default and most widely-used implementation of the language.

Python is a mult-purpose programming languages (due to its many extensions), examples are scientific computing and calculations, simulations, web development, etc. LabVIEW Resources.

MQTT with Python (YouTube) + PowerPoint (PDF)



LabVIEW is a graphical programming language, and it has powerful features for simulation, control and DAQ applications. Python Resources.

MQTT with LabVIEW (YouTube) + PowerPoint (PDF)


Additional MQTT Resources

MQTT consists of a MQTT Broker, MQTT Publishers and MQTT Subscribers.

Getting started with MQTT

MQTT Basics - Mathworks


MQTT Software

HiveMQ Cloud - MQTT Broker in the Cloud

MQTT X - MQTT X is an MQTT 5.0 Open-source Desktop Client






Python Client Web Page

Eclipse Paho MQTT Python Client (GitHub)

MQTT and Python for Beginners - Tutorials


IoT Resources

Below you will find more interesting IoT resources


Here you can learn Arduino and find lots of applications

Raspberry Pi

Here you can learn Raspberry Pi and find lots of applications

Industrial IT

Here you can learn more about Industrial IT

Automation and Control

Automation and Control Resources

IoT Projects

Here you find lots of interesting IoT Projects, etc.

Industry 4.0

Industry 4.0 Resources


ThingSpeak Resouces


Cloud Services, Computing and Hosting

Cyber Security

Cyber Security Resources

Machine Learning

Machine Learning resources