0%

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

Who this book is for

This book is for students who are interested in IoT and want to build projects using the available developer hardware. Educators who want to introduce a course on IoT into their curriculum, technology enthusiasts, and IoT developers who are just getting started will also benefit from this book. No prior knowledge about the two main topics that the book covers is required - Raspberry Pi and MQTT. A basic understanding of what IoT is will also be useful but not mandatory.

Table of Contents

  1. Raspberry Pi and MQTT Essentials
  2. Contributors
  3. About the author
  4. About the reviewer
  5. Preface
  6. Part 1:Covering the Basics
  7. Chapter 1: Introduction to Raspberry Pi and MQTT
  8. Chapter 2: MQTT in Detail
  9. Chapter 3: Introduction to ESP Development Boards
  10. Chapter 4: Node-RED on Raspberry Pi
  11. Part 2: Practical Implementation – Building Two Full-Scale Projects
  12. Chapter 5: Major Project 1: IoT Weather Station
  13. Chapter 6: Major Project 2: Smart Home Control Relay System
  14. Part 3: How to Take Things Further – What Next?
  15. Chapter 7: Taking Your MQTT Broker Global
  16. Chapter 8: Project Prototype to Product – How?
  17. Index
  18. Other Books You May Enjoy