Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Mastering MQTT

Learn about the MQTT protocol by developing a project with NodeMCU/ESP8266 and Raspberry Pi
(362 reviews)
2,170 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 2h 27m
Language: English
Next start: On Demand

Table of contents


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 Udemy discussion forum. You will get a response within one working day. Thank you and have a nice time learning.

You will learn

✓ 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


• 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

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
    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. 
Browse all courses by on Coursemarks.
Platform: Udemy
Video: 2h 27m
Language: English
Next start: On Demand

Students are also interested in