Mastering MQTT
3.5 (279 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,576 students enrolled

Mastering MQTT

Learn about the MQTT protocol by developing a project with NodeMCU/ESP8266 and Raspberry Pi
3.5 (279 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,576 students enrolled
Last updated 7/2019
English
Current price: $126.99 Original price: $194.99 Discount: 35% off
2 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2.5 hours on-demand video
  • 6 articles
  • 15 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
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
Requirements
  • 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
Description

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.

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
Course content
Expand all 55 lectures 02:27:21
+ About the Course
3 lectures 04:49

Introduces to the course and briefly explains about the structure of the course.

Preview 02:32

This lecture will briefly tell the learning outcomes of this course

Preview 01:16

This lecture will tell the Prerequisites for this course.

Preview 01:01
+ MQTT fundamentals
8 lectures 17:29

This lecture gives the complete description of what you will learn in this Section of the course.

Preview 00:35

This lecture briefly explains about Internet of Things.

Preview 01:36

This lecture explains the security issues present in the Internet of Things.

Preview 01:19

This lecture explains the need for MQTT.

Why MQTT ?
01:22

This lecture explains what MQTT is.

What is MQTT?
01:48

This lecture explains the terminologies involved in MQTT

Terminologies used in MQTT
03:20

This lecture explains the different features of MQTT

Features of MQTT
06:26

This lecture explains the MQTT Message Frame Format.

Additional: Message Frame Format
01:03
+ Mosquitto MQTT broker
2 lectures 03:45

This lecture gives the complete description of what you will learn in this Section of the course.


Description
00:25

This lecture explains the utilities and features of Mosquitto MQTT broker.

Mosquitto MQTT: Utility and Features
03:20
+ Mosquitto broker on Raspberry pi
8 lectures 19:48
This lecture gives the complete description of what you will learn in this Section of the course.
Description
00:26

This lecture gives the list of Hardware and software requirements to setup Mosquitto MQTT broker on Raspberry pi

Hardware and software requirements
00:45
Changes in setting static IP on Raspberry Pi
00:35

This lecture Introduces to the basic setup of Raspberry pi 3.

Setting up Raspberry pi​ ​
09:58

This lecture explains the installation of Mosquitto broker on Raspberry Pi 3.

Installation
03:29

This lecture contains the commands for installing Mosquitto on Raspbian Stretch OS 

Installation of Mosquitto on Raspbian Stretch
00:27

This lecture explains the Testing of Mosquitto broker on Raspberry pi.

Testing of MOSQUITTO BROKER
04:02
Adding Authentication to Mosquitto MQTT
00:06
+ Mosquitto broker on Windows Laptop
4 lectures 09:07

This lecture gives the complete description of what you will learn in this Section of the course.

Description
00:23

This lecture explains the installation of Mosquitto broker on Laptop running Windows OS

Installation
04:45

This lecture explains the setting up of Mosquitto MQTT broker on Laptop

Setting up of mosquitto broker
01:14

This lecture explains the testing of Mosquitto broker installed on Laptop.

Testing of Mosquitto Broker
02:45
+ MQTT Client tool
4 lectures 09:44

This lecture gives the complete description of what you will learn in this Section of the course.

Description
00:30

This lecture explains what MQTT client tool is.

What is MQTT Client tool
02:29

This lecture explains about the Mqtt.fx client tool.

Mqtt.fx tool
04:54

This lecture explains about the MyMQTT client tool.

MyMQTT tool
01:51
+ Working of MQTT data transfer protocol
7 lectures 15:29

This lecture gives the complete description of what you will learn in this Section of the course.

Description
00:30

This lecture explains the initial setup that is to be done before proceeding with the examples.

Initial setup
01:34

This lecture explains the first example where the MQTT Broker-Publisher is running on Windows OS and subscriber is the MQTT.fx client tool

EXAMPLE 1: Broker-Publisher is Windows OS subscriber is MQTT.fx client tool
02:34

This lecture explains the second example where the MQTT Broker-Publisher is running on Windows OS and subscriber is the MyMQTT client tool


EXAMPLE 2: Broker-Publisher is Windows OS subscriber is MyMQTT client tool
02:15

This lecture explains the third example where the Broker is running on Raspberry pi 3, Publisher is the MyMQTT tool and Mqtt.fx is the subscriber.


EXAMPLE 3: Broker-Raspberry pi 3, Publisher-MyMQTT tool and Mqtt.fx-subscriber
02:45

This lecture explains the QOS and Retained message features of MQTT using a simple example.


EXAMPLE 4: QOS and Retained message
01:59

This lecture explains the Wildcard feature of MQTT using a simple example.


EXAMPLE 5: Wildcards Implementation
03:52
+ All about ESP8266
7 lectures 18:09

This lecture gives the complete description of what you will learn in this Section of the course.

Description
00:31

This lecture Introduces to the ESP8266 12E module.

Introduction to ESP8266 12E
03:05

This lecture explains the Setting up of ESP8266 12E module.

Setting up ESP8266 12E
02:33
Circuit Diagram for NodeMCU ESP8266
00:00

This lecture explains the testing of ESP8266 module.

Testing ESP8266
04:49

This lecture explains the programming of ESP8266.

Programming ESP8266
05:55

In this lecture, we will check the ESP8266's wifi connection by performing a GET request from a http page that is hosted from your personal computer.

Checking ESP8266 WiFi connection
01:16
+ How Raspberry pi publish-subscribe messages through ESP8266
6 lectures 30:11

This lecture gives the complete description of what you will learn in this Section of the course.

Description
00:39

This lecture introduces to the project where publishing DHT sensor readings to the Raspberry Pi.

Introduction
03:03

This lecture explains the programming at the client end - ESP8266 module.

Client end - ESP8266 module
09:56

This lecture explains the Installation of required files on raspberry pi -server end 

Installing required files on raspberry pi-server end
11:22
Step By Step Procedure for the Project
02:58

This lecture shows the real time demo of the project explained in the section

Real time demo
02:13
+ Swachh Garbage system
5 lectures 16:35

This lecture gives the complete description of what you will learn in this Section of the course.

Description
00:39

This lecture introduces the Swachh garbage project that uses Ultrasonic sensor and ESP8266 module.

Preview 02:51

This lecture explains the programming at the client end - ESP8266 module.

Client end - ESP8266 module
06:58

This lecture explains the core script of the project that sets up the raspberry pi to communicate with the ESP.

Creating python script - server end
04:30

This lecture shows the real time demo of the project explained in the section

Real time demo
01:37