IoT in practice: MQTT
Mosquitto broker , Amazon Web Services IoT core, ESP32, Raspberry Pi
Description
In this course, I will look at the main points that allow your devices to exchange messages with each other over the MQTT protocol.
First, I will tell you about the MQTT protocol itself and the basic principles of its operation, I will explain what MQTT broker is. Then we will download and install the most popular MQTT mosquito broker for Windows and learn how to configure it. First we will do it on your machine, and then through the local network. Next, we will write a program for ESP32 that allows you to communicate with mosquitto broker, connect it via WiFi and test how the program works with mosquito broker. After that, we will install the mosquitto under linux on Raspberry Pi and connect ESP32 to it. We will also write a client that works through mosquito API, which you can embed into your programs.
And then we will learn how to work with the most popular cloud service for the Internet of Things Amazon Web Services IoT core. You will learn how to connect your devices to it and create a certificate and a policy for them. Next, we will modify our program for ESP32 so that it can work with the Amazon Web Services IoT Core. Then I'll show you how you can use one certificate and policy for multiple devices.
What You Will Learn!
- You will learn what mqtt is and how it works.
- You will be able to install and configure the mosquito mqtt broker on Windows PC and Raspberry Pi.
- We will write a program for ESP32 that works with mosquito broker.
- You will learn how to work with Amazon Web Services IoT core, most popular mqtt cloud service.
- We will modify the previously written program for ESP32 so that your devices can work with AWS IoT core.
- We will write the pub/sub client for Windows and Raspberry Pi
- You will learn how to generate your TLS certificate and use it in your programs
Who Should Attend!
- This course could be suitable for electronics engineers or amateurs interested in the Internet of Things.