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)

Introducing Wi-Fi cams

A Wi-Fi cam is a system that performs sensing through a camera. With the use of a camera, we can obtain the current image within a moving video format.

In this chapter, we will focus on working with a camera on an ESP32 board. Technically, we can connect a camera module on the ESP32 board through a Serial Peripheral Interface (SPI) protocol. SPI is a serial communication protocol such as UART, but SPI has a synchronous interface that uses a dedicated clock signal. SPI usually has three pins: MOSI, MISO, and CS. You can find these pins on the ESP32 board layout.

The ESP-WROVER-KIT board provides a camera connector; this is shown in Figure 8.1:

Figure 8.1: A camera connector on the ESP-WROVER-KIT v4 board

The camera connector on the ESP-WROVER-KIT board is supported by the OV7670 camera module. This module is shown in Figure 8.2; it is cost-friendly and you...