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)

Accessing a microSD card from the ESP32

To work with external storage such as SD and microSD cards, we should have an SD/microSD card breakout device. We attach this breakout device into the ESP32 board through SPI and SDMC pins.

SD/microSD card breakout devices are widely available in electronics stores. For example, you can use the SparkFun microSD Transflash Breakout. You can attach a microSD card into this breakout, which you can find at SparkFun's website: A form of the SparkFun microSD Transflash Breakout is shown in the following photo:

Figure 4-2: SparkFun microSD Transflash Breakout

If you prefer to use an SD card with the ESP32, you can choose a breakout device for an SD card. For example, you can use the SparkFun SD/MMC Card Breakout. You can get this device on the official website: