Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

Mastering MQTT

person icon Venkatesh Varadachari

4.2

Mastering MQTT

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

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Venkatesh Varadachari

English [CC]

category icon IT and Software ,Hardware,

Lectures -55

Resources -20

Duration -2 hours

Lifetime Access

4.2

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point 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, and 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 tools available and teaches how to install and test it on Raspberry Pi 3 and a 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 the 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 sensors 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 in the TutorialsPoint Questions Section. You will get a response within one working day. Thank you and have a nice time learning.

Who is this course 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 a Wireless standalone monitoring system.

Goals

  • 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, and install libraries.

  • You will learn to set up 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, and MQTT to control LED from a Raspberry Pi web server.

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

Prerequisites

  • No prerequisites 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

Curriculum

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
Tutorialspoint

Mosquitto MQTT broker

2 Lectures
Tutorialspoint

Mosquitto broker on Raspberry pi

8 Lectures
Tutorialspoint

Mosquitto broker on Windows Laptop

4 Lectures
Tutorialspoint

MQTT Client tool

4 Lectures
Tutorialspoint

Working of MQTT data transfer protocol

7 Lectures
Tutorialspoint

All about ESP8266

7 Lectures
Tutorialspoint

How Raspberry pi publish-subscribe messages through ESP8266

6 Lectures
Tutorialspoint

Swachh Garbage system

5 Lectures
Tutorialspoint

Conclusion

1 Lectures
Tutorialspoint

Instructor Details

Venkatesh Varadachari

Venkatesh Varadachari

Venkatesh Varadachari is the founder of MAKERDEMY, a pioneer maker education company head-quartered in Singapore.

    Venkatesh believes that knowledge should be made available to people in all walks of life. Venkatesh also believes in the power of education to transform lives. 

    Venkatesh has an MBA from the prestigious Indian Institute of Management, Bangalore. 

    He also has a degree in Electrical Engineering from Madras University and a Masters in Financial Engineering from National University of Singapore. 

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

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
Annual Membership

Online Certifications

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

Explore Now
Online Certifications

Talk to us

1800-202-0515