Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Developing IoT Projects with ESP32
Developing IoT Projects with ESP32

Developing IoT Projects with ESP32: Unlock the full Potential of ESP32 in IoT development to create production-grade smart devices , Second Edition

Arrow left icon
Profile Icon Vedat Ozan Oner
Arrow right icon
Can$44.99 Can$50.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (46 Ratings)
eBook Nov 2023 578 pages 2nd Edition
eBook
Can$44.99 Can$50.99
Paperback
Can$63.99
Subscription
Free Trial
Arrow left icon
Profile Icon Vedat Ozan Oner
Arrow right icon
Can$44.99 Can$50.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (46 Ratings)
eBook Nov 2023 578 pages 2nd Edition
eBook
Can$44.99 Can$50.99
Paperback
Can$63.99
Subscription
Free Trial
eBook
Can$44.99 Can$50.99
Paperback
Can$63.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Developing IoT Projects with ESP32

Understanding the Development Tools

After getting a quick overview of Espressif’s ESP32 technology in the first chapter, we are now ready to start on some development with the real hardware. For this, we need to understand the basics and how to use the available tools for the job. It is a learning process and takes some time; however, we’ll have acquired the fundamental knowledge and gained hands-on experience to develop actual applications on ESP32 by the end of the chapter.

In this chapter, we’re going to install the development environment on our machines and use our development kits to run and debug the applications. The topics covered are as follows:

  • ESP-IDF
  • PlatformIO
  • FreeRTOS
  • Debugging
  • Unit testing

Let’s start by looking into the development framework by Espressif Systems, ESP-IDF.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Build IoT projects from scratch using ESP32
  • Customize solutions, take them to cloud, visualize real-time data, implement security features
  • Practice using a variety of hands-on projects such as an audio player, smart home, and more

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, empowering you to create production-grade IoT solutions using the ESP32 SoC. Starting with IoT essentials supported by real-world use cases, this book takes 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. Towards 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 ESP32 today!

Who is this book 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. A basic understanding of embedded systems, programming, networking, and cloud computing concepts is necessary to get started with the book.

What you will learn

  • Explore ESP32 with IDE and debugging tools for effective IoT creation
  • Drive GPIO, I2C, multimedia, and storage for seamless integration of external devices
  • Utilize handy IoT libraries to enhance your ESP32 projects
  • Manage WiFi like a pro with STA & AP modes, provisioning, and ESP Rainmaker framework features
  • Ensure robust IoT security with secure boot and OTA firmware updates
  • Harness AWS IoT for data handling and achieve stunning visualization using Grafana
  • Enhance your projects with voice capabilities using ESP AFE and Speech Recognition
  • Innovate with tinyML on ESP32-S3 and the Edge Impulse platform

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 30, 2023
Length: 578 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803244815
Vendor :
Espressif Systems
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Nov 30, 2023
Length: 578 pages
Edition : 2nd
Language : English
ISBN-13 : 9781803244815
Vendor :
Espressif Systems
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Can$ 160.97
Developing IoT Projects with ESP32
Can$63.99
Building Smart Home Automation Solutions with Home Assistant
Can$40.99
TinyML Cookbook
Can$55.99
Total Can$ 160.97 Stars icon

Table of Contents

14 Chapters
Introduction to IoT development and the ESP32 platform Chevron down icon Chevron up icon
Understanding the Development Tools Chevron down icon Chevron up icon
Using ESP32 Peripherals Chevron down icon Chevron up icon
Employing Third-Party Libraries in ESP32 Projects Chevron down icon Chevron up icon
Project ā€“ Audio Player Chevron down icon Chevron up icon
Using Wi-Fi Communication for Connectivity Chevron down icon Chevron up icon
ESP32 Security Features for Production-Grade Devices Chevron down icon Chevron up icon
Connecting to Cloud Platforms and Using Services Chevron down icon Chevron up icon
Project ā€“ Smart Home Chevron down icon Chevron up icon
Machine Learning with ESP32 Chevron down icon Chevron up icon
Developing on Edge Impulse Chevron down icon Chevron up icon
Project ā€“ Baby Monitor Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(46 Ratings)
5 star 67.4%
4 star 17.4%
3 star 4.3%
2 star 4.3%
1 star 6.5%
Filter icon Filter
Top Reviews

Filter reviews by




sgmustadio Feb 24, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Full disclosure: I was given a copy of the book to write a review.The ESP32 is a fan favorite among engineers, makers, and tinkerers looking to create various IoT projects. For the most part, I stick with the Arduino IDE and libraries when working with the ESP32. However, the non-Arduino option for development, ESP-IDF, is a wonderful suite of tools built to work with nearly any editor. If you are looking to develop professional, robust IoT projects with the ESP32, you will likely gravitate toward ESP-IDF.ā€œDeveloping IoT Projects with ESP32ā€ starts with a brief overview of the ESP32 hardware and ESP-IDF. In reality, the author assumes you have some working knowledge and experience with the ESP32, which is not a bad thing. This is not a book for beginners. Even though a ā€œgetting startedā€ tutorial is provided for ESP-IDF, I would highly recommend using other online resources for setting up and using ESP-IDF. The official Espressif documentation covers more details and is plenty easy to follow.However, the book really shines after you have a basic grasp of ESP-IDF. It covers many topics required for developing professional projects that are sorely lacking in most online content. For example, it goes over the basics of FreeRTOS (the ESP-IDF flavor), step-through debugging, advanced libraries, REST, MQTT, security, IoT cloud services, and machine learning. If I were considering using the ESP32 for developing a professional project, this is the book I would want as my companion and reference guide.The biggest drawback is the lack of Bluetooth content. This chapter was apparently present in the first edition but sadly removed for this version. Even if WiFi is more popular, I think dismissing Bluetooth is a mistake, as plenty of developers still want to use low-energy, wireless connections to various devices (such as smartphones). The addition of machine learning chapters is welcome, but having both Bluetooth and ML would have been better.Additionally, the book switches between PlatformIO and native ESP-IDF tooling for installing third-party libraries. I recognize that PlatformIO is very popular, but I have generally struggled with it. My preference would be a focus on using the ESP-IDF and CMake for installing/linking such libraries, as that is a more portable approach.While the book is best used as a reference guide, it contains several projects that you can build to further grasp the concepts and tools: an audio player, a smart home plug, and a baby monitor. I highly recommend the book to anyone who wants to move beyond Arduino and level up their IoT skills using the ESP32.
Amazon Verified review Amazon
Dan G Jan 19, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book meticulously steps through the necessary tools and coding for building real IoT projects with the ESP32. I honestly can't think of a better book to learn and expand your knowledge on embedded and IoT. The examples are practical and provide a wide spectrum on the details of working with the internals, peripherals, cloud services, and user interfaces of a working solution. I really appreciate the syntax highlighting of the code samples. There is a lot packed into this book and it is well worth every step to follow along. Great job putting this second edition together with all new material.
Amazon Verified review Amazon
mperez Nov 30, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Disclaimer: I was given an early review copy of this book and did not purchase it.TLDR: Loved the book, definitely keeping it nearby while developing IoT projects This book does a fantastic job on many fronts:- succinctly highlighting details about the ESP32 family- thorough explanations on build setup (a major pain in many projects)- thorough code snippets that include full configuration parameters, making it a great reference- introducing first and third-party libraries that would cover a majority of needs (file systems, json, etc).- demonstrating projects of different scales, increasing the scope in large but exciting steps.- including sections on cloud integrations and ML- emphasizing different aspects of security in well-placed chunksComments:- I was really hoping to see sections involving bluetooth or LoRa- I like that the book used devices with both Xtensa and RISC-V architecturesIf I were to characterize the readers that would benefit most from this book, it would be Advanced Beginners in embedded projects. Programmers from other domains that are interested in IoT, engineering students, hobbyists that have already dabbled in microcontrollers, anyone in the "Ok, I can flash firmware and blink an LED, what's next?" phase or above.
Amazon Verified review Amazon
Chris Richards Jan 30, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
When I started my journey with the ESP32 the first edition of this book was the go to reference for everyone. Everywhere I looked to find guidance on how to begin with this awesome platform I was met with a clear "go read Vedat's book". The new second edition has improved on that reverential text in many ways. The examples are relevant, clear, and concise. The demonstration hardware was out of stock while I was reviewing the book but comparable kits are all over the place; if you know what to look for.And that is the rub, like the first edition before it this book assumes a level of familiarity with coding and microcontrollers you won't likely have if it is your first time. And while the first edition dominated the landscape because there were no beginner friendly alternatives, now we have a plethora of choices for all levels of experience. So, who is this book for?If you are just getting started in microcontrollers with no or very little coding experience, I suggest you start with Arduino. There are many websites and books devoted to you.If you are already comfortable in embedded C/C++ this book may be interesting but honestly you will probably get more value out of the Espressif IDF online documentation, it is fantastic.For C++ developers who have never played with a microcontroller before this book is exactly where you should begin. You will get elegant step by step guidance through the basic applications of the ESP32 using modern code structures.If you are not comfortable with C++, this book could be great as your first experience in microcontrollers as long as you take the time to work through the additional reference texts provided by the author. It will be a lot of work, but very fulfilling when you see the device light up for the first time. It is a magical feeling.Over all, highly recommended, as long as it is to the right audience.
Amazon Verified review Amazon
Brian Tol Dec 01, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I found "Developing Products with the ESP32" to be a valuable resource. The book provides a well-rounded introduction to the ESP32 line of chips, emphasizing their security features, which is crucial in the IoT space.The author's detailed overview of hardware debugging and unit testing is especially beneficial, given the complexity often encountered in these areas. Additionally, the solid coverage of Real-Time Operating Systems (RTOSes), with a focus on FreeRTOS, complements the technical depth of the book. The book assumes a basic level of electronics knowledge and a solid programming background.For developers delving into embedded systems, the book covers the essentials: storage, GPIO, GUI, and WiFi, alongside a useful introduction to MQTT and REST protocols. While it doesn't dive deep into other IoT protocols and GraphQL, this choice by the author streamlines the content without compromising its utility.The inclusion of discussions on the Rainmaker IoT Platform and AWS IoT Core, with insights into device shadows and time series data, is particularly pertinent. The book also touches upon AI and TinyML, bringing an added dimension to IoT development.What I appreciate most is how the author ties these diverse topics together with practical smart-home projects, offering plenty of examples and clear explanations. It's worth noting, though, that the book is lighter on protocols like BLE, LoRa, and NB-IoT. While these are conscious choices by the author, readers should be aware of the need to seek additional resources for these areas.Overall, it's an excellent introduction to the ESP32 and basic IoT development, but it's not a beginner's guide. For anyone looking to enter the IoT domain, this book provides a solid foundation, although it doesn't delve into the finer details of production-grade systems. Highly recommended for those wanting to get up to speed with the Espressif ecosystem and the essentials of IoT development.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.