• 1
    Introduction

    Hey, what's up, Guys! Akarsh here from CETech.

    Weighs as a feather and quick as light this is how we can introduce someone to the technology about which we are going to learn today. The Technology named MQTT is what we are going to learn about today. It is a messaging protocol that is rapidly becoming a part of many IoT-related applications. One such example where MQTT plays a very essential part is the Smart Home. So in this tutorial, we will learn what MQTT is, why we should use it, and how it works. Towards the end of this tutorial, we will also look at an MQTT Broker from Reyax. Don't worry we will also cover MQTT broker in this tutorial. We will not be doing anything on the application end today. We will leave that thing for our next tutorial. You can consider it as an introductory tutorial for the one in which we will actually work on MQTT. So that we feel more comfortable and familiar when we get our hands on it.

    Now let's jump on to the main part and take a look at this great technology.

  • 2
    Get PCBs for Your Projects Manufactured
    pcbway.JPG

    You must check out PCBWAY for ordering PCBs online for cheap!

    You get 10 good-quality PCBs manufactured and shipped to your doorstep for cheap. You will also get a discount on shipping on your first order. Upload your Gerber files onto PCBWAY to get them manufactured with good quality and quick turnaround time. Check out their online Gerber viewer function. With reward points, you can get free stuff from their gift shop.

  • 3
    What is MQTT?
    1.JPG

    First of all, we will get to know what MQTT is. So, MQTT is a lightweight publish/subscribe protocol that requires a minimal footprint and bandwidth to connect to an IoT device. The device that sends the data is termed as a publisher and the device that is going to receive and use that data is the one that is termed as the subscriber. When we talk about the data that we transfer over MQTT then we come to know that it transfers a very small amount of data like 0 and 1 or you can say ON and OFF that's why it is considered lightweight and the message delivery is quick and reliable. It is a bidirectional communication protocol i.e. the transfer of data can be done from both ends. MQTT is event-driven and enables messages to be pushed to clients. This type of architecture decouples the clients from each other to enable a highly scalable solution without dependencies between data producers and data consumers.

    It was designed by Andy Stanford-Clark (IBM) and Arlen Nipper in 1999 for connecting Oil Pipeline telemetry systems over satellite. Although it started as a proprietary protocol it was released Royalty free in 2010 and became an OASIS standard in 2014. MQTT stands for MQ Telemetry Transport but previously was known as Message Queuing Telemetry Transport. MQTT is fast becoming one of the main protocols for IoT (internet of things) deployments.