Cover image for MQTT

MQTT

MQTT (MQ Telemetry Transport, not Message Queuing Telemetry Transport as its often mistakenly called) is a lightweight messaging protocol designed by IBM for low-bandwidth, high-latency, unreliable networks.

Robot Tips MQTT How it works

12 January 2023 by Kevin McAleer | Share this article on


MQTT (MQ Telemetry Transport, not Message Queuing Telemetry Transport as its often mistakenly called) is a lightweight messaging protocol designed by IBM for low-bandwidth, high-latency, unreliable networks.

It works by establishing a connection between two or more devices, and then sending messages between them.

The messages are organized into topics, and each device is assigned an ID that is used to identify it when sending and receiving messages. The protocol is designed to be lightweight, efficient and secure. It is used in many Internet of Things (IoT) applications, such as controlling home automation systems and monitoring sensors. The MQTT protocol is based on a publish-subscribe model, where one device (the publisher) sends messages to other devices (subscribers) that are subscribed to the same topic. This allows for quick, efficient communication between devices, and allows for multiple devices to be involved in the same conversation. Thanks to its efficient design, MQTT is ideal for applications with limited bandwidth or high latency.


Slides from video


Slides from video


Slides from video


Slides from video


Slides from video


Video

Here is a video about MQTT, and how to use it with Node-Red.


Did you find this content useful?


If you found this high quality content useful please consider supporting my work, so I can continue to create more content for you.

I give away all my content for free: Weekly video content on YouTube, 3d Printable designs, Programs and Code, Reviews and Project write-ups, but 98% of visitors don't give back, they simply read/watch, download and go. If everyone who reads or watches my content, who likes it, helps fund it just a little, my future would be more secure for years to come. A price of a cup of coffee is all I ask.

There are a couple of ways you can support my work financially:


If you can't afford to provide any financial support, you can also help me grow my influence by doing the following:


Thank you again for your support and helping me grow my hobby into a business I can sustain.
- Kevin McAleer