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)

Building your own Wi-Fi Wardriving with ESP32

In this section, we will combine our previous project with building our own Wi-Fi Wardriving with the ESP32 board – to read GPS data and the SSID name from Wi-Fi hotspots. To do this, we must read the current position via the GPS module and store it in a certain variable. Next, we perform Wi-Fi scanning to retrieve the Wi-Fi SSID.

So, let's start!

Hardware wiring

To build your own Wi-Fi Wardriving board we will use the same hardware wiring from the gpsdemo project in the previous section.

Writing a program

To write...