0%

Book Description

Create and program Internet of Things projects using the Espressif ESP32.

Key Features

  • Getting to know the all new powerful EPS32 boards and build interesting Internet of Things projects
  • Configure your ESP32 to the cloud technologies and explore the networkable modules that will be utilised in your IoT projects
  • A step-by-step guide that teaches you the basic to advanced IoT concepts with ESP32

Book Description

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.

What you will learn

  • Understand how to build a sensor monitoring logger
  • Create a weather station to sense temperature and humidity using ESP32
  • Build your own W-iFi wardriving with ESP32. Use BLE to make interactions between ESP32 and Android
  • Understand how to create connections to interact between ESP32 and mobile applications
  • Learn how to interact between ESP32 boards and cloud servers
  • Build an IoT Application-based ESP32 board

Who this book is for

This book is for those who want to build a powerful and inexpensive IoT projects using the ESP32.Also for those who are new to IoT, or those who already have experience with other platforms such as Arduino, ESP8266, and Raspberry Pi.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. Internet of Things Projects with ESP32
  3. About Packt
    1. Why subscribe?
    2. Packt.com
  4. Contributors
    1. About the author
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. Getting Started with ESP32
    1. Technical requirements
    2. Introduction to ESP32
    3. Reviewing development boards-based ESP32
      1. The official ESP32 development kit
      2. Third-party boards-based ESP32
    4. Setting up the development environment
    5. Demo 1 – building your first ESP32 program
      1. Wiring
      2. Creating a project
      3. Writing the program
      4. Configuring the project
      5. Compiling and flashing
    6. Arduino programming for ESP32
    7. Demo 2 - making an Arduino Sketch program with ESP32
    8. Summary
    9. Further reading
  7. Making Visual Data and Animation on an LCD
    1. Technical requirements
    2. Introduction to ESP32 GPIO
    3. Introduction to IoT for weather monitoring systems
    4. Reading temperature and humidity from a sensor device
      1. Wiring
      2. Building a program
      3. Running the program
    5. Displaying information using an LCD
      1. Hardware wiring
      2. Creating a project
      3. Writing an ESP32 program
      4. Configuring the ESP-WROVER-KIT v4 board
      5. Flashing and running a program
      6. Displaying image files
    6. Making a weather monitoring system
      1. Creating a project
      2. Hardware wiring
      3. Writing a program
      4. Flashing and running
    7. Summary
    8. Further reading
  8. Building a Simple Game with an Embedded ESP32 Board
    1. Technical requirements
    2. Introducing game-embedded systems
    3. Introducing the joystick sensor module
    4. Working with the joystick sensor module
      1. Wiring
      2. Creating a project
      3. Writing the program
      4. Running the program
    5. Working with a sound buzzer
      1. Connecting the sound buzzer with the ESP32
      2. Writing a program for the sound buzzer with the ESP32
    6. Demo – building a simple embedded game
      1. The game scenario
      2. Hardware wiring
      3. Developing the game program
      4. Playing the game
    7. Summary
  9. Building a Sensor Monitoring Logger
    1. Technical requirements
    2. Introducing the sensor monitoring logger
    3. Accessing a microSD card from the ESP32
    4. Demo – accessing microSD cards from the ESP32
    5. Storing sensor data on a microSD card
    6. Project – building a sensor monitoring logger
      1. Designing our program
      2. Writing the program
      3. Running the program
    7. Summary
  10. Controlling IoT Devices over the Internet
    1. Technical requirements
    2. Introducing ESP32 Wi-Fi development
    3. Scanning Wi-Fi hotspot
    4. Connecting to an existing Wi-Fi network
    5. Accessing data from a web server
    6. Building your own web server inside ESP32
      1. Building HTTP requests
      2. Building a web server
      3. Testing the program
    7. Project - making a smart home
      1. Hardware wiring
      2. Handling HTTP requests
      3. Writing a web server program
      4. Testing the program
    8. Summary
  11. Building an IoT Weather Station
    1. Technical requirements
    2. Introducing a weather station
    3. Working with DHT sensors
    4. Building an IoT weather station
      1. Hardware wiring
      2. Writing the program
      3. Testing the program
    5. The auto-refresh weather application
    6. Handling a massive data request for a weather station
      1. Writing a program for ESP32
      2. Writing a program for Node.js
      3. Testing the program
    7. Summary
  12. Making Your Own Wi-Fi Wardriving
    1. Technical requirements
    2. Introducing Wi-Fi Wardriving
    3. Reviewing the GPS module
    4. Accessing your location via the GPS module
      1. Hardware wiring
      2. Writing a program
      3. Running a program
    5. Parsing GPS data
    6. Building your own Wi-Fi Wardriving with ESP32
      1. Hardware wiring
      2. Writing a program
      3. Testing a program
    7. Mapping Wi-Fi hotspots to Google Maps
    8. Privacy issues
    9. Summary
  13. Building Your Own Wi-Fi Cam
    1. Technical requirements
    2. Introducing Wi-Fi cams
    3. Reviewing camera modules
    4. Accessing the camera from ESP32
    5. Demo – building a Wi-Fi cam
      1. Hardware wiring
      2. Writing a program
        1. Handling HTTP requests
        2. Developing the main program
      3. Testing
    6. Summary
  14. Making IoT Devices Interact with Mobile Applications
    1. Technical requirements
    2. Introducing mobile applications
    3. Making a mobile application and ESP32 interact
    4. Controlling ESP32 from a mobile application
      1. Hardware wiring
      2. Developing the ESP32 program
      3. Developing an Android application
        1. Creating an Android project
        2. Configuring the Android project
        3. Building the UI Android program
        4. Writing an Android program
      4. Testing a program with Postman
      5. Testing the program with Android
    5. Summary
  15. Building IoT Monitoring with Cloud Technology
    1. Technical requirements
    2. Introducing cloud technology
    3. Connecting ESP32 to cloud platforms
    4. Building IoT monitoring with ESP32 and AWS
      1. Hardware wiring
      2. Registering an IoT device
      3. Configuring a device security policy
      4. Developing an ESP32 program
        1. Creating a project
        2. Configuring a project
        3. Writing the ESP32 program
      5. Compiling, flashing, and testing
    5. Summary
    6. Further reading
  16. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
3.138.175.180