Book Image

Developing IoT Projects with ESP32

By : Vedat Ozan Oner
Book Image

Developing IoT Projects with ESP32

By: Vedat Ozan Oner

Overview of this book

Developing IoT Projects with ESP32 provides end-to-end coverage of secure data communication techniques from sensors to cloud platforms that will help you to develop production-grade IoT solutions by using the ESP32 SoC. You'll learn how to employ ESP32 in your IoT projects by interfacing with different sensors and actuators using different types of serial protocols. This book will show you how some projects require immediate output for end-users, and cover different display technologies as well as examples of driving different types of displays. The book features a dedicated chapter on cybersecurity packed with hands-on examples. As you progress, you'll get to grips with BLE technologies and BLE mesh networking and work on a complete smart home project where all nodes communicate over a BLE mesh. Later chapters will show you how IoT requires cloud connectivity most of the time and remote access to smart devices. You'll also see how cloud platforms and third-party integrations enable endless possibilities for your end-users, such as insights with big data analytics and predictive maintenance to minimize costs. By the end of this book, you'll have developed the skills you need to start using ESP32 in your next wireless IoT project and meet the project's requirements by building effective, efficient, and secure solutions.
Table of Contents (18 chapters)
1
Section 1: Using ESP32
7
Section 2: Local Network Communication
12
Section 3: Cloud Communication

Preface

Internet of Things (IoT) technology has been in our lives for more than a decade now. When I first came across a single-board computer at an expo 20 years ago, I was fascinated, as a young computer engineer, by the possibilities that this device introduced. It was the gateway, in my eyes, to a smart home where you could know what was going on at home when you were miles away!

Since then, I have participated in many IoT projects in different positions, so I have had many chances to see IoT products from different perspectives. As developers, we mostly tend to forget about what the use of technology is while trying to solve a technical problem. However, as we develop an IoT product, the first question that we should ask is what is the value of this product, what benefit will people get from it? It doesn't matter if it is a consumer product or an industrial IoT solution; it should help people to solve real problems. In the last chapter of each part of this book, you will find a complete project that can help people in their daily lives.

There is no single driving force behind IoT, but we can count several strong enablers, such as the emergence of inexpensive silicon chips available in large quantities, mobile technologies, and cloud computing, to name just a few. I think ESP32 has contributed to this on its own terms. When it was launched in 2016 by Espressif Systems, I was working for a smart home company as a technical product manager. We had seen the opportunity immediately – that this chip could cut the cost of our home gateway to a quarter of the one that we had! There was no other Wi-Fi system on a chip (SoC) on the market as a complete computing solution with that price tag. I know it is not possible to discuss everything that we can do with ESP32, but I believe you will find this book quite useful before starting your next IoT project with ESP32.

Besides as a profession, it is my hobby to build new IoT devices together with my daughter at home. I always love sharing my knowledge and experience with her and with people around me, as well as learning from them. I hope you enjoy reading this book and developing the projects together with me.