Mastering MQTT

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

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


"This course is really useful for the beginners to have an idea about the MQTT protocol and it's usage. At the same time this gives students to a good starting point to setup, and start working with MQTT in IoT development."

- Inuri Jayanika Ginige

"I am still working on the last project of this course, but I have to say that this course is worth it. I have learned so much about MQTT that I am already able to write my own client applications in just a short time. The concepts were explained clearly and I appreciate the effort you put in answering the questions. Thank you very much Makerdemy."

- Albert Aquino

"This course gives a basic understanding of what and why we use and need MQTT protocols for IoT systems.

Every beginner to IoT should take this course and try the examples to really understand the concept of communication between a broker/server and client devices."

- Lekshmi

"A very good course to understand and practice MQTT with the use of sample projects using Raspberry Pi and ESP8266. Recommended for anyone who is looking to gain knowledge on IoT basics and MQTT protocol. Python coding used for the sample projects are well explained during the lecture."

- Vinod Thomas

"Very well organised and divided into distinct chunks of information. It's a good starting point on a journey."

- Kevin Yendall

Your Instructor


Venkatesh Varadachari
Venkatesh Varadachari

Venkatesh Varadachari is the founder of MAKERDEMY, a pioneer company in the field of maker education.

MAKERDEMY is a pioneer in teaching technology related maker courses online.

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 Curriculum


  Mosquitto MQTT broker
Available in days
days after you enroll
  Conclusion
Available in days
days after you enroll

Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Get started now!