Developing IoT Projects with ESP32 – Second Edition: Unlock the full Potential of ESP32 in IoT development to create production-grade smart devices 2nd ed. Edition
“Developing IoT Projects with ESP32” is packed with practical examples, source code, and advice that can be used right away in real projects.
From smart sensors to cloud integration and the world of TinyML, this book is your comprehensive guide to the IoT ecosystem, using ESP32 and industry-standard tools and technologies.
Key Features:
- Build IoT projects from scratch using the ESP32.
- Customize solutions, take them to the cloud, visualize real-time data, and implement security features.
- Practice using a variety of hands-on projects, such as an audio player, a smart home, and more.
Book Description:
ESP32, a low-cost and energy-efficient system-on-a-chip microcontroller, has become the backbone of numerous WiFi devices, fueling IoT innovation. This book offers a holistic approach to building an IoT system from the ground up, ensuring secure data communication from sensors to cloud platforms, and empowering you to create production-grade IoT solutions using the ESP32 SoC.
Starting with IoT essentials supported by real-world use cases, this book walks you through the entire process of constructing an IoT device using ESP32. Each chapter introduces new dimensions to your IoT applications, covering sensor communication, the integration of prominent IoT libraries like LittleFS and LVGL, connectivity options via WiFi, security measures, cloud integration, and the visualization of real-time data using Grafana. Furthermore, a dedicated section explores AI/ML for embedded systems, guiding you through building and running ML applications with tinyML and ESP32-S3 to create state-of-the-art embedded products.
This book adopts a hands-on approach, ensuring you can start building IoT solutions right from the beginning. Toward the end of the book, you'll tackle a full-scale smart home project, applying all the techniques you've learned in real-time.
Embark on your journey to build secure, production-grade IoT systems with the ESP32 today!
What you'll learn:
- For effective IoT creation, explore ESP32 with the IDE and debugging tools.
- Drive GPIO, I2C, multimedia, and storage for seamless integration of external devices.
- Utilize handy IoT libraries to enhance your ESP32 projects.
- With STA and AP modes, provisioning, and ESP Rainmaker framework features.
- Ensure robust IoT security with secure boot and OTA firmware updates.
- Utilize AWS IoT for data handling and Grafana for stunning visualization.
- Enhance your projects with voice capabilities using ESP, AFE, and speech recognition.
- On the ESP32-S3 and Edge Impulse platforms, innovate with tinyML.
Who this book is for:
If you are an embedded software developer, an IoT software architect or developer, a technologist, or anyone who wants to learn how to use ESP32 and its applications, this book is for you.
To begin with the book, you must understand embedded systems, programming, networking, and cloud computing concepts.
Table of Contents:
- Introduction to IoT development and the ESP32 platform
- Understanding the development tools
- Using ESP32 Peripherals
- Employing third-party libraries in ESP32 projects
- Project: Audio Player
- Using Wi-Fi Communication for Connectivity
- ESP32 security features for production-grade devices
- Connecting to Cloud Platforms and Using Services
- Project: Smart Home
- Machine learning with the ESP32
- Developing on Edge Impulse
- Project: Baby Monitor
Review
“The ‘Developing IoT Projects with ESP32' second edition covers crucial IoT topics, guiding from basics to advanced ESP32 features. It includes new chapters, notably on third-party libraries like Espressif Component Manager. The book addresses securing production-grade devices with a dedicated chapter on Secure Boot, Digital Signature, Privilege Separation, and OTA. Touching on ESP32 peripherals maintains an easy-to-understand approach, focusing more on software than hardware. For those exploring the latest IoT trends, it provides rich and comprehensive content.”
Pedro Minatel, Developer Advocate, Espressif Systems
About the author
Vedat Ozan Oner is an IoT product developer and software architect, with an excellent blend of technical knowledge and experience. During his career, he has contributed to several IoT projects in different roles, which has allowed him to discover all the key aspects of developing successful IoT products in highly competitive markets. Vedat has a bachelor's degree in METU/computer engineering and holds several industry-recognized credentials and qualifications, including PMP®, ITIL®, and AWS Certified Developer. Vedat founded his limited company, Mevoo Ltd., in London in 2018 to provide consultancy services to his clients and develop his own IoT products. He still lives in London with his family.
Andy Seubert –
As someone who has been toying with an IoT idea for some time, finding a resource that moves beyond the basics has been a challenge. “Developing IoT Projects with ESP32” by Vedat Ozan Oner, however, stands out as a beacon of hope. Aimed primarily at C++ programmers, the book presents concepts that are solidly constructed and applicable across languages, including C. This adaptability is a testament to the author’s thorough approach.
Milton Mendieta –
I found the content of the book fascinating and very complete. I returned it because specific hardware is required. I thought that only an ESP32 module was needed. This should be noted in the book’s description before buying.
Cliff. –
The book is expansive, covering a breadth of topics essential for IoT development. What sets it apart is the manner in which example code is not only explained but also supplemented with GitHub resources for practical testing. This hands-on approach is further enhanced by detailed testing and troubleshooting guides for each example—a rarity in computer programming literature and a feature for which Oner deserves high praise.
Djordje Dimitrov –
The book has been excellent so far; I’m just wrapping up Chapter 3. It covers everything you need to know about debugging, wiring, and different IDEs—pretty much all the details to dive into the ESP32 world. Note that some libraries and code require updates since the book was published, but there’s an updated branch on the official GitHub page with the latest revisions. Additionally, you can easily use the ESP32-S3-Box-3, which is widely available, instead of the Box-3 Lite, as the newest updates were made for this device.
Pedro A Sanchez –
The book is expansive, covering a breadth of topics essential for IoT development. What sets it apart is the manner in which example code is not only explained but also supplemented with GitHub resources for practical testing. This hands-on approach is further enhanced by detailed testing and troubleshooting guides for each example—a rarity in computer programming literature and a feature for which Oner deserves high praise.