The most popular IoT protocol

The most popular IoT protocol

All about MQTT

Learn all about MQTT protocol which has been used in many IoT applications.

What is MQTT ?

What is MQTT ?

 MQTT is a lightweight IoT protocol, that works on the publish subscribe model and it works well on unreliable networks. It is used where bandwidth, speed, and battery life matters.

History of MQTT

History of MQTT

 MQTT was developed in 1999, to monitor oil and gas pipelines over the satellite. It is also used by Facebook messenger to achieve phone to phone delivery in hundred of milliseconds.

Terminologies of MQTT

Terminologies of MQTT

> MQTT BROKER > MQTT CLIENT > Publish / Subscribe > MQTT Topics 

These components work on publish subscribe model to deliver the MQTT messages.

MQTT Broker

MQTT Broker

 An MQTT broker is a central software entity in the MQTT architecture. It handles the message transactions between MQTT clients.

MQTT Client

MQTT Client

MQTT client is a device that connects to an MQTT broker over a network. e.g. the client can be a very small, resource-constrained device has a bare-minimum library.

Publish/subscribe Model

Publish/subscribe Model

MQTT clients subscribes to topics for example "Home". When another device publish a message to topic "Home", all the devices subscribing to this topic will receive messages.

Image credit: https://ledlightstation.com/

MQTT Topics

MQTT Topics

MQTT topics are very lightweight and used to identify the receivers of the message. The client does not need to create the desired topic before they publish or subscribe to it. 

Watch Youtube video

Watch Youtube video

What is MQTT protocol ?

This video will give you in-depth knowledge of MQTT in 4 minutes .