English | 2022 | ISBN: 1803244488 | 272 pages | True PDF | 25.19 MB
Get familiar with all the concepts related to Raspberry Pi and MQTT, build innovative IoT projects, and discover how to scale these projects to the next level
Key Features
Learn some of the most popular tools used in IoT – Raspberry Pi, MQTT, ESP8266 and more
Build exciting projects such as an IoT weather station and a smart switch board
Discover the advantages of taking your MQTT broker global
Book Description
The future of IoT has the potential to be limitless. Wouldn't it be great if you could add it to your own technological stacks? But where to start? With the basics, of course.
In this book, you will start by learning about the most popular hardware and communication protocol, Raspberry Pi and MQTT. You will see how to use them together by setting up your own MQTT server on Raspberry Pi and understand how it works.
This book explores MQTT in detail, including the clients and devices that you can connect to your server. You will discover two very popular IoT development boards among project developers: the ESP8266 and ESP32 development boards. Then, you will learn how to build interactive dashboards on your Pi and monitor your client devices. The book also shows you how to build a dashboard using another popular software – Node-RED. You will be able to put your skills to the test by creating two full-scale projects. That's not all: you will also learn how to host your own MQTT server on a virtual cloud service. Finally, you will be guided on how to move forward from here, what technologies to learn, and some project recommendations to polish or test your knowledge.
By the end of this book, you will be able to build meaningful projects using Raspberry Pi and MQTT and create dashboards for your projects on Node-RED.
What you will learn
Configure and use a Raspberry Pi for IoT projects
Implement the MQTT communication protocol for projects
Understand how to set up the NodeMCU and ESP32 boards as MQTT clients
Control a NodeMCU board through a Node-RED dashboard hosted on Raspberry Pi
Get LAMP server, Home Assistant, and MariaDB on the Raspberry Pi
Set up an online MQTT broker on a cloud service or enterprise service provider platform
Build full-scale, end-to-end prototype projects