Book Image

Developing IoT Projects with ESP32 - Second Edition

By : Vedat Ozan Oner
3 (2)
Book Image

Developing IoT Projects with ESP32 - Second Edition

3 (2)
By: Vedat Ozan Oner

Overview of this book

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!
Table of Contents (15 chapters)
13
Other Books You May Enjoy
14
Index

Questions

Here are some questions to review what we have learned in this chapter:

  1. Which one of the following statements is FALSE?
    1. ESP32 can start in Wi-Fi STA mode
    2. ESP32 can start in Wi-Fi AP mode
    3. In STA mode, a static IP is required
    4. Wi-Fi events are delivered over an event loop
  2. Which of the following is not a method provided by ESP-IDF?
    1. NFC provisioning
    2. Unified provisioning
    3. Smart Config
    4. Easy Connect
  3. Which protocol makes use of topics to publish and subscribe?
    1. HTTP
    2. WebSocket
    3. CoAP
    4. MQTT
  4. Which of the following is the correct HTTP method to request a resource from a RESTful server?
    1. PUT
    2. DELETE
    3. POST
    4. GET
  5. Which HTTP status code can we expect from a RESTful service when we try to create a resource by sending a POST request?
    1. 201...