EmbeddedRelated.com
Books
The 2026 Embedded Online Conference

Internet of Things Projects with ESP32: Build exciting and powerful IoT projects using the all-new Espressif ESP32

Kurniawan, Agus 2019

With the help of Espressif's ESP32 chip, develop and program impressive Internet of Things projects

Key Features

  • Build smart IoT projects such as a Wi-Fi camera, sensor monitoring logger, and weather station
  • Configure ESP32 on the cloud and explore networkable modules for your IoT projects
  • Learn basic to advanced IoT concepts with ESP32

Book Description

ESP32, a low-cost MCU with integrated Wi-Fi and BLE capabilities, has a variety of modules and development boards for building IoT applications effectively. Wi-Fi and BLE are common network stacks in Internet of Things applications that provide cost-effective solutions for your business and project needs.

This book is a fundamental guide for developing ESP32 programs, and begins by explaining GPIO (General Purpose I/O) programming with sensor devices. You'll get up to speed with ESP32 development through a number of IoT projects such as weather stations, sensor loggers, smart homes, Wi-Fi cams, and Wi-Fi wardriving. As you progress, you'll learn how to use ESP32 boards to facilitate interactions between mobile applications and cloud servers, such as AWS.

By the end of this book, you'll have learned how to run a range of IoT projects using the ESP32 chip.

What you will learn

  • Understand how to build a sensor monitoring logger
  • Build a weather station to sense temperature and humidity using ESP32
  • Build your own Wi-Fi wardriving hardware with ESP32
  • Use BLE to initiate interactions between ESP32 and mobile applications
  • Discover how to establish interactions between ESP32 boards and cloud servers
  • Develop an IoT application-based ESP32 board

Who this book is for

If you're an IoT developer, system developer, or anyone who wants to build powerful and inexpensive IoT projects using ESP32, this book is for you. You'll also find this book useful if you are just getting started with IoT or have experience with other platforms such as Arduino, ESP8266, and Raspberry Pi.

Table of Contents

  1. Getting Started with ESP32
  2. Making Visual Data and Animation on an LCD
  3. Building a Simple Game with an Embedded ESP32 Board
  4. Building a Sensor Monitoring Logger
  5. Controlling IoT Devices over the Internet
  6. Building an IoT Weather Station
  7. Making Your Own Wi-Fi Wardriving
  8. Building Your Own Wi-Fi Cam
  9. Making IoT Devices Interact with Mobile Applications
  10. Building IoT Monitoring with Cloud Technology


Why Read This Book

You will get a hands-on, project-driven introduction to the ESP32 that takes you from basic setup to complete networked IoT builds — including Wi‑Fi cameras, data loggers, and cloud-connected sensors. The book emphasizes practical recipes and real-world wiring, code examples, and deployment tips so you can prototype working devices quickly.

Who Will Benefit

Hardware and firmware engineers, hobbyists, and makers with some embedded or Arduino experience who want to build networked IoT projects using the ESP32.

Level: Intermediate — Prerequisites: Basic programming familiarity (C/C++ or Arduino), basic electronics (reading schematics, wiring sensors/actuators), and a PC with experience installing toolchains.

Get This Book

Key Takeaways

  • Set up ESP32 development environments using the Arduino core and ESP-IDF to upload and debug firmware
  • Interface sensors, actuators, SD cards, and cameras with ESP32 GPIO, I2C, SPI, and ADC peripherals
  • Implement Wi‑Fi and BLE features, including web servers, REST endpoints, and BLE services
  • Connect devices to cloud services and brokers using MQTT, HTTP, and common IoT platforms
  • Build low‑power and production‑ready behaviors such as deep sleep, OTA updates, and basic security practices
  • Assemble complete projects (e.g., Wi‑Fi camera, weather station, data logger) from hardware to cloud

Topics Covered

  1. Introduction to the ESP32 and development boards
  2. Getting started: toolchains, Arduino IDE, ESP-IDF, and flashing
  3. GPIO, PWM, ADC, DAC, and basic peripherals
  4. Serial protocols: I2C, SPI, UART, and sensor interfacing
  5. Networking basics: Wi‑Fi fundamentals and connecting to networks
  6. Building web servers and REST APIs on the ESP32
  7. Bluetooth Low Energy (BLE): services, characteristics, and examples
  8. Data logging, SD card use, and local storage
  9. MQTT, cloud integration, and mobile dashboards
  10. ESP32 camera projects and video streaming (ESP32-CAM)
  11. Power management, deep sleep, and battery‑powered designs
  12. Over-the-air (OTA) updates and deployment workflows
  13. Security basics for IoT devices (credentials, encryption, secure OTA)
  14. Complete project walkthroughs: weather station, sensor logger, Wi‑Fi camera
  15. Appendices: pinouts, common modules, and troubleshooting tips

Languages, Platforms & Tools

CC++Arduino (C++)MicroPythonEspressif ESP32 familyESP32‑CAM and common ESP32 dev boardsGeneric sensors and actuators used in IoT projectsArduino IDEESP-IDFPlatformIOesptoolMQTT brokers (e.g., Mosquitto)Cloud dashboards (e.g., ThingSpeak/Blynk or similar)

How It Compares

More project‑oriented and beginner‑friendly than Neil Kolban's exhaustive ESP32 technical reference, and more hands‑on than short online tutorials or cookbook-style guides.

Related Books

Bryant, Randal, O'Hallaron,...
The 2026 Embedded Online Conference