Book Image

Internet of Things Projects with ESP32

By : Agus Kurniawan
Book Image

Internet of Things Projects with ESP32

By: Agus Kurniawan

Overview of this book

ESP32 is a low-cost MCU with integrated Wi-Fi and BLE. Various modules and development boards-based on ESP32 are available for building IoT applications easily. Wi-Fi and BLE are a common network stack in the Internet of Things application. These network modules can leverage your business and projects needs for cost-effective benefits. This book will serve as a fundamental guide for developing an ESP32 program. We will start with GPIO programming involving some sensor devices. Then we will study ESP32 development by building a number of IoT projects, such as weather stations, sensor loggers, smart homes, Wi-Fi cams and Wi-Fi wardriving. Lastly, we will enable ESP32 boards to execute interactions with mobile applications and cloud servers such as AWS. By the end of this book, you will be up and running with various IoT project-based ESP32 chip.
Table of Contents (12 chapters)

Demo – building a Wi-Fi cam

In this section, we will build a simple program for a Wi-Fi cam over a network. We will use a camera module on the ESP32 board and then we will access the camera connected from a browser.

Figure 8.8 shows our demo scenario; the ESP32 board will run on a simple web server. When a browser accesses the ESP32 board, our program will send a response with a picture of the current environment:

Figure 8.8: The Wi-Fi cam project scenario

For demo purposes, we will use the OV7670 camera module and the ESP-WROVER-KIT board for implementation.

Hardware wiring

If you have the OV7670 camera module and the ESP-WROVER-KIT board, you can attach the camera module into the board directly. You can see my wiring...