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 the sensor monitoring logger

A logging system is a system that can write data and information.

Data and information could include sensor data, system events, and error messages. All data and information is usually stored in external storage such as SD cards, microSD cards, or on a hard disk.

In general, a logging system can be described as in the following figure. An MCU with sensor devices attached can sense things such as temperature and humidity. This sensor data can also be stored in external storage:

Figure 4-1: A general model for a logging system

In this chapter, we explore how to work with external storage from an ESP32 board. We will build a simple logging system to store sensor data in external storage.