Book Image

Building Smart Drones with ESP8266 and Arduino

By : Syed Omar Faruk Towaha
Book Image

Building Smart Drones with ESP8266 and Arduino

By: Syed Omar Faruk Towaha

Overview of this book

With the use of drones, DIY projects have taken off. Programmers are rapidly moving from traditional application programming to developing exciting multi-utility projects. This book will teach you to build industry-level drones with Arduino and ESP8266 and their modified versions of hardware. With this book, you will explore techniques for leveraging the tiny WiFi chip to enhance your drone and control it over a mobile phone. This book will start with teaching you how to solve problems while building your own WiFi controlled Arduino based drone. You will also learn how to build a Quadcopter and a mission critical drone. Moving on you will learn how to build a prototype drone that will be given a mission to complete which it will do it itself. You will also learn to build various exciting projects such as gliding and racing drones. By the end of this book you will learn how to maintain and troubleshoot your drone. By the end of this book, you will have learned to build drones using ESP8266 and Arduino and leverage their functionalities to the fullest.
Table of Contents (11 chapters)

To get the most out of this book

The drones you will build throughout this book will require a strong programming and electronics background. You will need to use Arduino IDE to upload the code to your ESP8266 and Arduino boards. For flashing the ESP8266, you will need to use the ESP flasher and the proper .bin files. A good working knowledge of C, C++, Python, and Lua will be required to play with the modules discussed in this book. You'll use Mission Planner, along with mobile applications such as Blynk, Tower, and DroidPlanner 2. If you know the AT commands for serial communication, it would be great.

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Building-Smart-Drones-with-ESP8266-and-Arduino. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

Blynk.begin(auth, ssid, pass); //This will start the Blynk with proper credentials
pinMode(4, OUTPUT); //for trigger in D1
pinMode(5, INPUT); //for echo in D2

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on New Project, and name your project anything you want."

Warnings or important notes appear like this.
Tips and tricks appear like this.