Mastering MQTT

Learn about the MQTT protocol by developing a project with NodeMCU/ESP8266 and Raspberry Pi

updated on icon Updated on Oct, 2023

language icon Language - English

person icon Venkatesh Varadachari

architecture icon IT & Software,Hardware

Lectures -55

Resources -20

Duration -2 hours


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

October 2020 Update

  • Added a Bill Of Materials PDF and an Update Video

June 2019 Update

  • Included Documentation to implement Secure MQTT Authentication in Mosquitto.

  • Included Circuit Diagrams of Projects with NodeMCU ESP8266 Board.

  • Included Standard Operating Procedure for doing the projects in NodeMCU ESP8266 Board.

  • Updated all Software download links, codes and added links to resources.

  • Updated all Raspberry Pi commands with updated working commands.

Hello, learners! Greetings from Makerdemy. In this course, you will learn about the MQTT Data transfer protocol with the help of Examples and Projects.

The course is a beginner level course on MQTT. The course takes off with the introduction of MQTT and sheds light on the Features that define the purpose of the protocol. Then the course explains how MQTT benefits the field of Internet of Thing.Next, the course moves on to the MOSQUITTO MQTT BROKER which is one of the standard MQTT broker tool available and teaches how to install and test in on Raspberry pi 3 and Laptop running Windows OS. The course then introduces the MQTT Client tools that help to Publish and Subscribe messages effectively.

The course then introduces the ESP8266 which is a low-cost WiFi module that can be programmed using the Arduino IDE. Then the course demonstrates two projects that use MQTT protocol with the ESP8266 12E module.

Project 1: In this project, you will learn how to Remotely control LED and Publish readings from temperature and humidity sensor using Raspberry Pi, ESP8266 and MQTT Protocol

Project 2: In this project, you will learn about the Swachh garbage system where an ultrasonic sensor is used along with ESP8266 and Raspberry Pi to monitor the percentage of the garbage-filled in the bins.

The projects are designed to showcase the potential use cases of the MQTT protocol and the ESP8266 module such that you can build your projects.

While doing your projects and going through the course, you can feel free to ask your doubts on the TutorialsPoint Questions Section. You will get a response within one working day. Thank you and have a nice time learning.

Who this course is for:

  • Anyone who wants to learn about the MQTT protocol
  • Anyone who wants to learn to work with ESP8266 and Sensors
  • Anyone who wants to learn to build Wireless standalone monitoring system


What will you learn in this course:

  • Understand the Message Queuing Telemetry Transport IoT protocol

  • You will learn the features of MQTT with the help of examples

  • Be productive with the Arduino IDE, write, compile and upload sketches, install libraries

  • You will learn to setup Mosquitto MQTT Broker

  • Understand the utilities of the ESP8266 chip

  • You will learn to use ESP8266, MQTT and Raspberry pi to publish DHT sensor measurements

  • You will learn to use ESP8266, MQTT to control LED from a Raspberry pi web server

  • You will learn to Develop a Garbage monitoring system using Ultrasonic sensor, ESP8266, Raspberry pi and MQTT


What are the prerequisites for this course?

  • No pre-requisites are required for the first few sections.

  • Essential tools: a mini breadboard, jumper wires, a multimeter, a soldering iron and solder, wire cutter

  • Essential modules: 1 x Raspberry pi 3 , 1 x ESP8266 12E module, 1 x Ultrasonic sensor HCSR-04, 1x DHT11 temperature and Humidity sensor

Mastering MQTT


Check out the detailed breakdown of what’s inside the course

About the Course
3 Lectures
  • play icon Introduction 02:24 02:24
  • play icon Goals of this course 01:16 01:16
  • play icon Prerequisites 01:01 01:01
MQTT fundamentals
8 Lectures
Mosquitto MQTT broker
2 Lectures
Mosquitto broker on Raspberry pi
8 Lectures
Mosquitto broker on Windows Laptop
4 Lectures
MQTT Client tool
4 Lectures
Working of MQTT data transfer protocol
7 Lectures
All about ESP8266
7 Lectures
How Raspberry pi publish-subscribe messages through ESP8266
6 Lectures
Swachh Garbage system
5 Lectures
1 Lectures

Instructor Details

Venkatesh Varadachari

Venkatesh Varadachari

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best



Khairul Basar

Should have given the link to the course.

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us