Communicating with the drone via the ESP8266

In this chapter, we have successfully delivered a package to a place by using our mission control drone. But mission control needs to be aware of the weather and the environment for a successful flight and mission. So, if we can monitor the weather surrounding the drone, we can fly it safely and the package can be delivered without any problem.

To monitor the weather, we need the following things (for demonstration purposes, we will only look at the air pressure in this chapter):

  • A barometric pressure sensor (BMP 180 preferred)
  • An Arduino (pro mini preferred)
  • An ESP8266 transreceiver module

Firstly, connect the Arduino to the barometer sensor. The pin configuration is as follows:

Arduino

Get Building Smart Drones with ESP8266 and Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.