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
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
Dan GJan 19, 2024
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
mperezNov 30, 2023
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
Chris RichardsJan 30, 2024
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
Brian TolDec 01, 2023
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.
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 allowed him to discover all 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 started his limited company, Mevoo Ltd, in London in 2018 to provide consultancy services to his clients as well as develop his own IoT products. He still lives in London with his family.
A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content
How can I cancel my subscription?
To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.
What are credits?
Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.
What happens if an Early Access Course is cancelled?
Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.
Where can I send feedback about an Early Access title?
If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team.
Can I download the code files for Early Access titles?
We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.
When we publish the book, the code files will also be available to download from the Packt website.
How accurate is the publication date?
The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.
How will I know when new chapters are ready?
We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.
I am a Packt subscriber, do I get Early Access?
Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.
How is Early Access delivered?
Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.
How do I buy Early Access content?
Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.
What is Early Access?
Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.