Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building Smart Drones with ESP8266 and Arduino
  • Table Of Contents Toc
  • Feedback & Rating feedback
Building Smart Drones with ESP8266 and Arduino

Building Smart Drones with ESP8266 and Arduino

By : Syed Omar Faruk Towaha
4.1 (8)
close
close
Building Smart Drones with ESP8266 and Arduino

Building Smart Drones with ESP8266 and Arduino

4.1 (8)
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 (15 chapters)
close
close
Title Page
Packt Upsell
Contributors
Preface
chevron up
Index

Preface

Books on technology become outdated as soon as the technology changes faster and tries to take a good shape. But something that will not become outdated is the idea and thinking of something outside the box. In this book, we have discussed building some smart drones. We used a number of modern technologies, including Arduino and ESP8266, but you need to know one thing before starting this book. This book will enlighten you about building drones using the latest technology. To be honest, this book is not for complete beginners. You need to have a good working knowledge of electronics and programming. You need to know about Arduino and Wi-Fi technologies. All of the chapters are designed for you to get the idea and build full-phase drones. But you might miss something that is untold there, which is a challenge for you to research and increase the thirst for the drone technology, but to build successful drones, all you need is a lot of motivation, as everything you want to include in your drone is already on the market, you just have to gather them, code them, and use them. I hope this book will help you to make your journey on the path of building smart drones easier. Who knows, someday you may create something that no one ever imagined. I will wait for your success and will be delighted to know if you make anything smarter.

Who this book is for

This book is for anyone who wants to build a drone, but he needs to be good at programming and electronics if he wants to build smart drones. 

What this book covers

Chapter 1, Things to Know Before You Build a Drone, discusses all the basic ideas about drones, how you can identify them, what types of things are required to make drones, and explains a lot of preliminary ideas.

Chapter 2, Assembling Your Drone, helps you to start assembling our drone, install the modules to the drone, and get a very basic drone ready for flying. You'll also learn some aerodynamics regarding the flying of a drone. You'll learn some tricks to avoid crashing your drone in this chapter too.

Chapter 3, Preparing Your Drone for Flying, helps you to prepare your quadcopter for flight. We will learn how to calibrate some sensors and modes for the ArduPilot. In the end of the chapter, you'll learn how to configure the ESP8266 module and work with the mobile application.

Chapter 4, Building a Follow Me Drone, enables you to build a Follow Me drone and modify the control of the drone via some mobile applications. You'll also learn how to configure GPS with your ESP8266.

Chapter 5, Building a Mission Control Drone, teaches you how to make a mission control drone and perform a survey or deliver a package. You will also get an idea of how to implement some sensors to make the mission control drone more efficient.

Chapter 6, Building a Drone to Take Selfies and Record Videos, helps you build an octocopter and then use it to take selfies. You'll also use a customized gimbal and control it with the ESP8266 and mobile applications.

Chapter 7, Building Prototype Drones – Gliding Drones, teaches a number of things related to aerodynamics and designing a fixed wing drone. You'll learn how to use your ArduPilot for the glider at the end of the chapter. The physics behind flying will be explained in this chapter using simple mathematics.

Chapter 8, Building Prototype Drones – Racing Drone, shows how you can make a racing drone and get it ready for flying in a race. You'll also see how to tweak the obstacles using ESP8266 at the end of the chapter.

Chapter 9, Maintaining and Troubleshooting Your Drone, explains how to maintain your drone, and if your drone gets into any problems, how to troubleshoot them. In this chapter, you'll also learn some rules and regulations for flying drones.

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

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: http://www.packtpub.com/sites/default/files/downloads/BuildingSmartDroneswithESP8266andArduino_ColorImages.pdf.

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."

Note

Warnings or important notes appear like this.

Note

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email [email protected] and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at [email protected].

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.

Disclaimer 

The information within this book is intended to be used only in an ethical manner. Do not use any information from the book if you do not have written permission from the owner of the equipment. If you perform illegal actions, you are likely to be arrested and prosecuted to the full extent of the law. Packt Publishing does not take any responsibility if you misuse any of the information contained within the book. The information herein must only be used while testing environments with proper written authorizations from appropriate persons responsible.

Limited Time Offer

$10p/m for 3 months

Get online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech and supported with AI assistants
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon

Create a Note

Modal Close icon
You need to login to use this feature.

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note