MQTT demo

Mosquitto (MQTT broker) Demo

MQTT stands for Message Queuing Telemetry Transport which is an ISO standard (ISO/IEC PRF 20922) publish-subscribe-based "lightweight" messaging protocol for use on top of the TCP/IP protocol. It is designed for connections to remote locations where a "small code footprint" is required or the network bandwidth is limited. The publish-subscribe messaging pattern requires a message broker. The broker is responsible for distributing messages to interested clients based on the topic of a message. Andy Stanford-Clark and Arlen Nipper of Cirrus Link Solutions authored the first version of the protocol in 1999 [1]. 

In this demo, I work on Mosquitto platform (An Open source MQTT v3.1/v3.1.1 Broker)

The picture shows the basic MQTT protocol. MQTT broker - Mosquitto is installed into a PC (Windows, Linux, Raspbian,...). The clients - Publisher/Subscriber connect to MQTT broker via WiFi which is established by the PC. The Subscriber is an Arduino board with WiFi module that subscribes a Topic (for example "Node01") to receive a message. The Publisher is a smartphone running MQTT client software that will publish a message to a topic (for example "Node01").

Read more detail:

Video demo


Popular posts from this blog

Final report for Open IoT Challenge 3.0

Overview and Architecture of Wireless Sensor Network System (WSN)