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 a weather station

In Chapter 2, Making Visual Data and Animation on an LCD, we learned what a weather monitoring system is. To build a weather station, we require an understanding of weather monitoring systems. We will focus on building a weather station in this chapter. A weather station has more features than a weather monitoring system; we can send a result of the measurement to the backend server on a weather station. In general, we can describe a simple model of a weather station-based IoT as shown in Figure 6.1. A weather station consists of the following modules:

  • An MCU is used to process all computations.
  • Environmental sensors are sensor devices used to convert physical objects into digital form. In the context of weather stations, environmental sensors can be temperature, humidity, wind speed, and direction.
  • A network module is used to transfer sensor data...