Book description
Develop a variety of projects and connect them to microcontrollers and web servers using the lightweight messaging protocol MQTT
Key Features
- Leverage the power of MQTT to build a pet food dispenser, e-ink to-do list, and a productivity cube
- Learn about technologies like laser cutting, 3D printing, and PCB production for building robust prototypes
- Explore practical uses cases to gain an in-depth understanding of MQTT
Book Description
MQ Telemetry Transport (MQTT) is a lightweight messaging protocol for smart devices that can be used to build exciting, highly scalable Internet of Things (IoT) projects.
This book will get you started with a quick introduction to the concepts of IoT and MQTT and explain how the latter can help you build your own internet-connected prototypes. As you advance, you'll gain insights into how microcontrollers communicate, and you'll get to grips with the different messaging protocols and techniques involved. Once you are well-versed with the essential concepts, you'll be able to put what you've learned into practice by building three projects from scratch, including an automatic pet food dispenser and a smart e-ink to-do display. You'll also discover how to present your own prototypes professionally. In addition to this, you'll learn how to use technologies from third-party web service providers, along with other rapid prototyping technologies, such as laser cutting, 3D printing, and PCB production.
By the end of this book, you'll have gained hands-on experience in using MQTT to build your own IoT prototypes.
What you will learn
- Explore MQTT programming with Arduino
- Discover how to make your prototypes talk to each other
- Send MQTT messages from your smartphone to your prototypes
- Discover how you can make websites interact with your prototypes
- Learn about MQTT servers, libraries, and apps
- Explore tools such as laser cutting and 3D printing in order to build robust prototype cases
Who this book is for
If you are an IoT developer or enthusiast who wants to start building IoT prototypes using MQTT, this book is for you. Basic knowledge of programming with Arduino will be useful.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: An Introduction to IoT and MQTT
- The Internet of Things in a Nutshell
- Basic Architecture of an IoT Prototype
- Getting Started with MQTT
- Section 2: Using MQTT in IoT projects
-
Setting Up a Lab Environment
- Hardware shopping list
- Installing the essential tools and libraries
- Understanding the shiftr.io web service
- Troubleshooting
- Summary
- Questions 
- Further reading
- Building Your Own Automatic Pet Food Dispenser
-
Building a Smart E-Ink To-Do List
- Technical requirements
- Connecting the e-paper module/running the example
- Simplifying the e-paper example
- Modifying the e-paper example
- Making your e-paper device accessible via serial
- Preparing the MQTT integration
- Making your e-paper device accessible with MQTT
- Sending messages via MQTT
- Enhancements and building a case
- Summary
- Questions
- Further reading
- Building a Smart Productivity Cube, Part 1
- Building a Smart Productivity Cube, Part 2
- Section 3: Prototypes
- Presenting Your Own Prototype
-
Assessments
- Chapter 1: The Internet of Things in a Nutshell
- Chapter 2: Basic Architecture of an IoT Prototype
- Chapter 3: Getting Started with MQTT
- Chapter 4: Setting Up a Lab Environment
- Chapter 5: Building Your Own Automatic Pet Food Dispenser
- Chapter 6: Building a Smart E-Ink To-Do List
- Chapter 7: Build a Smart Productivity Cube, Part 1
- Chapter 8: Building a Smart Productivity Cube, Part 2
- Other Books You May Enjoy
Product information
- Title: Hands-On Internet of Things with MQTT
- Author(s):
- Release date: October 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789341782
You might also like
book
IoT Penetration Testing Cookbook
Over 80 recipes to master IoT security techniques. About This Book Identify vulnerabilities in IoT device …
book
Raspberry Pi and MQTT Essentials
Get familiar with all the concepts related to Raspberry Pi and MQTT, build innovative IoT projects, …
book
Orchestrating and Automating Security for the Internet of Things: Delivering Advanced Security Capabilities from Edge to Cloud for IoT
Discover high-value Azure security insights, tips, and operational optimizations Master powerful techniques and approaches for securing …
book
Hands-On MQTT Programming with Python
Explore the features included in the latest versions of MQTT for IoT and M2M communications and …