Reader small image

You're reading from  Python Robotics Projects

Product typeBook
Published inMay 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788832922
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Prof. Diwakar Vaish
Prof. Diwakar Vaish
author image
Prof. Diwakar Vaish

Prof. Diwakar Vaish is a robotics scientist and the inventor of Manav (India's first indigenous humanoid robot), the world's first mind-controlled wheelchair, brain cloning, and the world's cheapest ventilator. He has also been a guest lecturer at over 13 IITs and various other institutions. He is the founder of A-SET Robotics, a leading robotics research company based in New Delhi.
Read more about Prof. Diwakar Vaish

Right arrow

The MQTT protocol


MQTT is an ISO-certified protocol and is in use very widely. The interesting thing about this protocol is that it was developed by Andy Stanford and Arlen Nipper in 1999 for monitoring of an oil pipeline through the desert. As you can imagine, in middle of a desert, the protocol they developed had to be energy efficient and bandwidth efficient as well.

How this protocol works is quite interesting. It has a publish-subscribe architecture. This means, it has a central server, which we also call a broker. Any device can register with this broker and publish any meaningful data onto it. Now, the data that is being published should have a topic, for example, air temperature.

These topics are particularly important. Why, you may ask? To the broker, there can be one or many devices that can be connected. With the connection, they also need to subscribe to a topic. Let's say they are subscribed to the topic Air-Temperature. Now, whenever any new data comes, it gets published to the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Python Robotics Projects
Published in: May 2018Publisher: PacktISBN-13: 9781788832922

Author (1)

author image
Prof. Diwakar Vaish

Prof. Diwakar Vaish is a robotics scientist and the inventor of Manav (India's first indigenous humanoid robot), the world's first mind-controlled wheelchair, brain cloning, and the world's cheapest ventilator. He has also been a guest lecturer at over 13 IITs and various other institutions. He is the founder of A-SET Robotics, a leading robotics research company based in New Delhi.
Read more about Prof. Diwakar Vaish