Mastering MQTT

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

October 2020 Update

What you’ll 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.

Course Content

  • About the Course –> 4 lectures • 5min.
  • MQTT fundamentals –> 8 lectures • 17min.
  • Mosquitto MQTT broker –> 2 lectures • 4min.
  • Mosquitto broker on Raspberry pi –> 8 lectures • 20min.
  • Mosquitto broker on Windows Laptop –> 4 lectures • 9min.
  • MQTT Client tool –> 4 lectures • 10min.
  • Working of MQTT data transfer protocol –> 7 lectures • 15min.
  • All about ESP8266 –> 7 lectures • 18min.
  • How Raspberry pi publish-subscribe messages through ESP8266 –> 6 lectures • 30min.
  • Swachh Garbage system –> 5 lectures • 17min.
  • Conclusion –> 1 lecture • 2min.

Auto Draft


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.

Get Tutorial