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 Wardriving

Wi-Fi Wardriving is the act of performing Wi-Fi hotspot profiling and then mapping the area to its current location in a certain region. Wi-Fi Wardriving is usually executed by driving with a vehicle. In this chapter, we will explore how to implement simple Wi-Fi Wardriving.

We can gather all the SSID names from existing Wi-Fi hotspots. Furthermore, we can store a result into local storage such as a microSD card. Then we can analyze the data by plotting it on a map engine such as Google Maps:

Figure 7.1: A simple Wi-Fi Wardriving implementation for ESP32

You can see that Wi-Fi hotspots are mapped onto Google Maps in Figure 7.2; these are simple fake Wi-Fi hotspot positions. You can also use other map engines to render the Wi-Fi hotspot positions:

Figure 7.2: Mapping a hotspot on Google Maps

Next, we will review the GPS modules for ESP32 boards.