Raspberry Pi and MQTT Essentials
Raspberry Pi and MQTT Essentials
Language - English
Updated on Jan, 2023
About the Book
Book description
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.

eBook Preview
Author Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now